I'm assigned with a task to pass a byte containing all ones ( 11111111 ) from an Android device to a remote Bluetooth device. The remote device is being coded in C. Since we don't have unsigned representation in Java, I wanted to know if it's possible to send this specific byte. I've searched through different posts (i.e. this), but haven't yet found a good solution.
To be more clear: the remote Bluetooth device wants to see a byte with 8 bits, all have been set to ONE (as a part of its protocol).