device.uuids() returns a set of service UUID but then none discovered once connected #101
Unanswered
mpiotrowski
asked this question in
Q&A
Replies: 1 comment
-
After connected to the device, It is possible to include service UUIDs in the LE advertisement packet that are not present in the GATT table and vice versa. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a project to connect ESP32 over bluetooth to a raspberry pi zero w. My ESP32 is going to be a basic server with a sensor that will notify the sensor data.
I was planning on using bluer as a raspberry client to automatically discover the ESP and connect on the notify characteristic. The discovery itself works fine, the devices are able to see each other but the problem occurs when I am actually trying to discover the right service. Following the gatt_client example this code actually gives me the service UUID I expect.
However, later on when calling
device.services()
I receive an empty vector of services whiledevice.app_properties()
claims services were resolved.I don't think I understand how to resolve this issue, any ideas greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions