This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Only hex format supported by nRF Connect UART over BLE

I am using nRF Connect with nRF52 and need to use UART over BLE to send command to the device but I find that you can only use hexadecimal input and get hexadecimal output. So it is not very convenient for you need to transfer between text and hexadecimal representation. I cannot find any settings or configurations in the software. Does anyone know how to figure it?

Parents
  • No you don't. The UART service just sends bytes, you don't need to transfer between anything and anything. If you have a text string, that's just bytes, send it one byte at a time.

    'hexadecimal input and hexadecimal output' doesn't mean anything. That's just the representation of the data, underneath, it's a number between 0 and 255.

Reply
  • No you don't. The UART service just sends bytes, you don't need to transfer between anything and anything. If you have a text string, that's just bytes, send it one byte at a time.

    'hexadecimal input and hexadecimal output' doesn't mean anything. That's just the representation of the data, underneath, it's a number between 0 and 255.

Children
Related