Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GATT DB Server Error #3

Open
jennj opened this issue Feb 27, 2017 · 2 comments
Open

GATT DB Server Error #3

jennj opened this issue Feb 27, 2017 · 2 comments

Comments

@jennj
Copy link

jennj commented Feb 27, 2017

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

@NadSo
Copy link

NadSo commented Aug 25, 2017

Hello JennJ,

did you find the solution to your problem? Do you if it is possible to hack the BLE stack with PyBT? and how it works?
I want to hack the BLE Stack of my BLE Peripheral(BTLC1000) using PyBT but I don't know how it works
Thank you

@jennj
Copy link
Author

jennj commented Aug 25, 2017

Hi NadSo!

Short answer: no.

Long answer: I was working on a specific project and had limited time to work with PyBT. That time ran out, and I didn't have a chance to spend more time with it.

Kind regards,
JennJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants