This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRFConnect for iPhone - Battery Level Service and Hex Values

I've implemented a Battery Service and battery_level characteristic in my application (0x180F and 0x2A19 respectively) however, when reading the value of this characteristic in nRFConnect for iPhone, the battery_level is reported as a hex value and not a percentage as expected.

Likewise, all values are reported as a hex number. For example, the Device Information service - serial number, manufacturer, etc are all reported as ASCII hex characters.

Is there any way to get around this and display the correct data type for the characteristic?

Related