Replies: 1 comment 3 replies
-
Not sure why my first search didn't uncover it, but I found |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my first time trying to use NimBLE and an ESP32-S3.
I have a few probes and I know their MAC addresses and their Probe Status Service (UUID 00000100-CAAB-3792-3D44-97AE51C1407A) which has a single Service Characteristic (UUID 00000101-CAAB-3792-3D44-97AE51C1407A) that supports BLE notifications.
When I run the NimBLE_Client example sketch it sees a probe...
Advertised Device: Name: , Address: d2:71:05:5a:a6:69, manufacturer data: c7090116230010800300000000000000000000000dc00000, serviceUUID: 0xfe59
I tried using a Whitelist example from another discussion, but it doesn't connect based on the MAC address.
In the NimBLE_Client sketch, if I change the "DEAD" to "fe59" in the line...
pSvc = pClient->getService("fe59");
...it does connect, but the example if so complicated I cannot figure out how to complete the subscription to the notification.
I do not know what the fe59 service is, but it shows up in the advertisement of these probes.
And I want to whitelist based on a single MAC.
I previously could get it to work in the ArduinoBLE library if I roughly did...
...but it wasn't great, and I really want to use NimBLE on the ESP32.
Is there an easy conversion of this to NimBLE?
ArduinoBLE had to do the Discover Attributes even though they are already known, but I can't seem to find a NimBLE equivalent.
I also need to run this in the main loop so if the connection gets dropped it will just keep retrying.
Thank you in advance for any guidance.
Beta Was this translation helpful? Give feedback.
All reactions