sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
462 stars 179 forks source link

BLECharacteristic and Battery Level Percentage #237

Open roobituk opened 6 years ago

roobituk commented 6 years ago

Is the BLECharacteristic capable of reporting percentages (for example, like the battery_level characteristic 0x2A19) at all?

I'm using the nRFConnect iPhone app to read/write to and from the characteristics however all values from any type of BLECharacteristic are reported as hex values.

Another example is the device information service where serial number, manufacturer and firmware version strings are all read as ASCII hex.

I'm certain it isn't the nRFConnect app as I've seen it report percentages/strings/etc from other BLE devices.