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

Using "ble_nus_c_string_send" to send a long hex number

I am running a modified version of the app_uart_c example on a nRF52832 using softdevice 132.

I want to send a large hex number to the peripheral I'm connected to. Is it enough to break up the entire hex number into 8 bit integers, create an array, and pass that array into ble_nus_c_string_send?

Do I need to modify the elements of the array before sending them?

Related