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

nR ToolBox UART Receiving Data

Sir,

Using nRF ToolBox for Android.

Our ble device using one of your ble chips sends bytes 0x02, 0xBA

But nRF ToolBox UARTService.java  function onDeviceConnected( BlueTooth device, String data)

For String data shows for 0X02 value 2 decimal which is correct. correct

but for 0xBA shows the value 65533 decimal not 186 decimal. which is not correct.

How can we fix this problem ? I.e. get the value 186 not 65533 for byte 0xBA.  (I known something to do with being over the value 127)

Thank - you for your help.

Solomon

Related