This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nus_data_handler always reports p_data to point to one character which is '1'

I am trying to work on ble_app_uart example project working.

I am able to see that the "nus_data_handler" is triggered when any data is received over the BLE channel. On trying to echo back the data it is always sending out a 1 over the BLE channel. also trying to pass the data to UART reveals that the length is always 1 (0x31) and p_data also points to a character '1'.

Any help will be appreciated.

Thanks in advance.

Related