Receiving UInt8 as ByteArray
AkroBJ opened this issue · comments
AkroBJ commented
The question is as follows:
I have devices, that send a uint8_t array as bytes to an Android device. In embedded C uint8_t and byte as the same and range from 0 to 255. However, this library uses ByteArrays, which are signed and accept values ranging from -127 to 127. So that happens if I connect to these devices and how can I make sure to receive the correct data?