-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi,
I don't think this is a problem with PyBT. I think it is a problem in my use of PyBT.
I am attempting to create a peripheral with a rudimentary GATT DB. You can see the code here: https://github.com/jennj/BLE-Scripts/tree/master/scripts-peripheral . The example advertises; I can see the advertised data in the nRF Connect app with no problems. When I attempt to connect, though, the connection fails with an error 0x85. According to Nordic this means a problem with the GATT server configuration. The server data matches that what I receive when I perform a gattlib read-by-handle (you can see the output of read-by-handle at the bottom of the file referenced above. This likely means that I am missing something. What am I missing? I would be grateful for a hint.
Ubuntu 16.04
bluez 5.37
scapy -> the one you linked in the PyBT page
PyBT -> the latest version
Latest versions of pycrypto and gevent are installed (what is standardly available with Ubuntu).
Thank you, and kind regards,
JennJ