Skip to content

GATT DB Server Error #3

@jennj

Description

@jennj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions