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

recieved data ble

Hello all,

I am working on nrf52DK BLE_UART_APP and i would like to know where the recieved data?(sent from the smartphone app / terminal) will be stored in the controller?

  • Hi @pavan, have a look at the ble_nus_init_t struct. It has a member for a data handler, which should contain the data you're looking for. In the sample code you mentioned above, the function is called nus_data_handler. That will handle BLE-->UART, if you are looking for UART-->BLE checkout uart_event_handler. If you step through those functions you should be able to find your answer. If you need to verify BLE data is being sent from the phone to your device, Wireshark would also be of use.

Related