Hi all,
My application is as follows:
I have an android app which will send some data to a nRF DK. The data I want to send is in HEX characters between 0x00 to 0xFF. And when the nRF DK receives the data, it will output the received data on its TX pin.
I have download the Android source codes for nRF-UART (https://github.com/NordicPlayground/Android-nRF-UART). I am trying to modify the android source codes to send send hex characters between 0x00 to 0xFF to a NRF DK running the ble_app_uart program.
I am having a problem with the Android app now as it somehow only allow me to send characters up to a value of 0x7F.
byte[] value;
mService.writeRXCharacteristic(value);
In the android program, the data to be sent is declared as a byte array call value. And assigning a value above 0x7F is not allowed. If I change it to an int array, then mService.writeRXCharactieristics(value) gives an error.
Anyone can help? Thanks in advance.