Battery level icon

Marc-Aurele
Posts: 15
Joined: Mon Jan 07, 2019 3:48 pm

Battery level icon

Postby Marc-Aurele » Tue Jan 22, 2019 5:41 pm

Hello,

I'm currently working with ESP32 and i have started to work with the gatt_server in the example folder. It is working fine but now i would like to have the battery service in order to display automatically the battery icon on my phone status bar when my device is connected (if it is possible). To debug i use nrfconnect on my phone or my computer :
Here what i have :


Screenshot_2019-01-22-18-29-27-868_no.nordicsemi.android.mcp.png
screenshot
Screenshot_2019-01-22-18-29-27-868_no.nordicsemi.android.mcp.png (169.92 KiB) Viewed 2241 times

But i still don't have the battery icon. I guess i need to have the following configuration (i found it on the web) :


[/size]
nRF-android-application.jpg
screenshot2
nRF-android-application.jpg (31.08 KiB) Viewed 2241 times

But i cannot add the "Characteristic User Description" UUID : 0x2901 and i don't know why.
For your information, i'm very new with the ESP32 environment and BLE technology. Any help would be great :)

Thank you in advance,

Best regards,

Aurélien

Who is online

Users browsing this forum: No registered users and 183 guests