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

how to send characteristic value to another nrf51DK board

Hi, I'm using NRF51 DK board and i am following characteristic tutorial available. I am able to send temperature value over Bluetooth by using light blue app.. Instead of using this application now i want to send this data over Bluetooth to another nrf51 DK board.

Thanks

Parents Reply
  • No my friend I cannot. However if you are using nRF5_SDK_14.0.0_3bcc1f7\examples\ble_central\ble_app_uart_c project then you can see at line #296 of main.c file following construction and that's where Event Notification data should appear if send from Nordic UART Server by HVX method:

    case BLE_NUS_C_EVT_NUS_TX_EVT:
        ble_nus_chars_received_uart_print(p_ble_nus_evt->p_data, p_ble_nus_evt->data_len);
        break;
    

    Either is your GAP Peripheral/GATT Server piece compatible with it immediately or you need to dig deeper into ble_nus_c module how it actually processes HVX events.

Children
No Data
Related