examples/ble-uart/main.c
static void nus_data_handler(ble_nus_t* p_nus, uint8_t* p_data, uint16_t length) {
  UNUSED_PARAMETER(p_nus);

  // In this app, just print it to the console.
  putnstr((char*) p_data, length);
}
// This gets called with the serial data from the BLE central.
This gets called with the serial data from the BLE central.
This gets called with the serial data from the BLE central .
static void nus_data_handler(ble_nus_t* p_nus, uint8_t* p_data, uint16_t length) {
  UNUSED_PARAMETER(p_nus);
  putnstr((char*) p_data, length);
}
static void nus_data_handler ( ble_nus_t * p_nus , uint8_t * p_data , uint16_t length ) { UNUSED_PARAMETER ( p_nus ) ; putnstr ( ( char * ) p_data , length ) ; }
This gets called with the serial data from the BLE central.
This gets called with the serial data from the BLE central .
// In this app, just print it to the console.