[nRF Connect for Android] Send HEX value through Uart characteristics

Hi,

I've been troubleshooting by using the nRF Connect for Android to transmit a command in HEX format through the UART RX Characteristic. While I've successfully achieved this using nRF Connect for Desktop, it's not the most convenient solution. I was wondering if there's a way to perform the same action on Android.

Any assistance would be greatly appreciated.

Currently

Expectation

Parents
  • H Kritsada, 

    By default the TX characteristic in NUS service is for sending UART data. The app is designed to simplify the communication by only allow ASCII. 

    If you want to have full control of the format you send you can either change the UUID of the characteristic to a UUID of your own, so that it no longer the NUS characteristic. Or you can write your own app or modify the UART profile in nRF Toolbox . The nRF Toolbox unlike the nRF COnnect app has the source code provided. You can freely modify the code of the nRF Toolbox app. 

Reply
  • H Kritsada, 

    By default the TX characteristic in NUS service is for sending UART data. The app is designed to simplify the communication by only allow ASCII. 

    If you want to have full control of the format you send you can either change the UUID of the characteristic to a UUID of your own, so that it no longer the NUS characteristic. Or you can write your own app or modify the UART profile in nRF Toolbox . The nRF Toolbox unlike the nRF COnnect app has the source code provided. You can freely modify the code of the nRF Toolbox app. 

Children
No Data
Related