Use the Bluetooth LE Proximity Profile PXP with Bluez (5.17)

admin

Administrator
Staff member
I want to run a BLE Profile called <a href="https://developer.bluetooth.org/TechnologyOverview/Pages/PXP.aspx" rel="nofollow">"Proximity Profile" or PXP</a> on a Linux machine with bluez-5.17 installed.

PXP is, if i understand correctly, a collection of three ble services:

<ul>
<li>Link Loss Service</li>
<li>Immediate Alert Service</li>
<li>Tx Power Service</li>
</ul>

What i did so far. I followed the installation instructions on <a href="http://urbanjack.wordpress.com/2014/04/02/howto-install-bluez-and-dbus/" rel="nofollow">this site</a>.
Installation seems to be sucessfull.

I could run <em>hciconfig hci0 up</em> and <em>hcitool lescan</em>.

So but now i want to run the PXP profile and let the BLE USB dongle act as the gatt-server.

In the folder
Code:
/etc/bluetooth/
is a file called <strong>proximity.conf</strong>. There is only one Option to set
Code:
called Disable="..."
. Since i want to enable all services i just removed every thing behind the equals-sign.

In the same folder is a file called
Code:
main.conf
where i changed the option to <strong>AttributeServer = true</strong>. (Not sure if this was really necessary because in the text below i written that this is only useful for testing)

In
Code:
/var/lib/bluetooth/xx:xx:xx:xx:xx:xx/
i added uuids of the services in the "profiles" file. For
Code:
00001803-0000-1000-8000-00805f9b34fb
for LinkLoss.

So i restarted the bluetooth service and expected it to work.

On the other side i have a two android apps as Proximity Reporter (gatt client). The first app is from the TI.com sample code. It scan and shoes all the gatt attributes. i use it to check whether the services are running. i also found an app called nRF Toolbox for BLE.

To make the long story short it's not working and i even have no clue how to run this PXP service. I was just trying it. Thank for helping !