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

nrf UART app receive value sent from uart app

Hi, I am using the nrf uart app to communicate with a smart phone and the NRF52. I am trying to detect whenever it is sent a value between 0 and 60 from the phone, and save it to an int. I know that I get a callback from the function nus_data_handler whenever something is received on the nrf, but I dont really know how to convert that data to type int.

(I am using the smart phone app NRF UART)

-Erblin

Related