BLE Characteristic UUID issue for BatteryLevel

I am using an ESP32 to publish some telemetry. Using the GATT specification, I try to connect to the characteristic UUID 2A19 published by the ESP32 without success. I get a “Can’t read characteristic provided.” I can see it and I can read it using the RF Connect app. As per the bluetooth specification the characteristic is READ, NOTIFY.
I tried the connect to 2A19 or 00000000-0000-0000-0000-000000002A19, no difference.

Connecting to a generated UUID and read other characteristics works fine. Any idea why the official UUID for BatteryLevel can’t be read?

image

@didier.coymanohatdl If the documentation only gives four characters for the value, they are assuming you’ll use the default characterstic UUID.

It is discussed more in this previous topic.

It did indeed fix the issue, Thank you so much.

1 Like