Writing Android Software to receive bytes from one of your ble chips for the UART design. Editting nrF ToolBox app.
onDeviceConnected(BlueTooth device, string Data )
When our BLE device data sends byte 0x02 0xBA to the nRF ToolBox app.
The variable String data shows 2 for 0x02 but 65533 decimal for 0xBA not 186 decimal.
How can we fix this problem?
Please don't put the entire question in the title: