BLE server with 2 different service UUIDs
Posted: Tue Jan 10, 2023 8:52 am
Hello,
I have been trying to solve my problem for some time.
I would like to read the values of a battery via Bluetooth with an ESP32.
There is also an app or a web application which works with Chrome.
The values of the battery can be read from different registers.
Now I have managed to read these values with the app BLE Scanner.
There is a Service UUID and a Characteristic UUID. Over this I send the query
for the corresponding register.
To read the response of the battery I have to tap on the field Notification or leave it switched on. switched on.
But for this there is now another Service UUID as well as a
corresponding Characteristic UUID.
The applications for the ESP32 I found so far, e.g. BLE UART client have only one Service UUID and one TX- and one RX-Characteristic UUID.
Is there a sample program for this case or can someone help me?
Thank you very much for any support.
With kind regards Jürgen
I have been trying to solve my problem for some time.
I would like to read the values of a battery via Bluetooth with an ESP32.
There is also an app or a web application which works with Chrome.
The values of the battery can be read from different registers.
Now I have managed to read these values with the app BLE Scanner.
There is a Service UUID and a Characteristic UUID. Over this I send the query
for the corresponding register.
To read the response of the battery I have to tap on the field Notification or leave it switched on. switched on.
But for this there is now another Service UUID as well as a
corresponding Characteristic UUID.
The applications for the ESP32 I found so far, e.g. BLE UART client have only one Service UUID and one TX- and one RX-Characteristic UUID.
Is there a sample program for this case or can someone help me?
Thank you very much for any support.
With kind regards Jürgen