My application is a Central using SD140.
The connection to the peripheral is made successfully. What event will I get when the Central successfully writes to the connected Peripheral's characteristic?
And will there be an event if the Write does not complete?
I am trying to use the following with mixed results:
case BLE_GATTC_EVT_WRITE_RSP:
{
//const ble_gattc_evt_write_t * p_val = &p_ble_evt->evt.gatts_evt.params.write;
const ble_gattc_evt_write_rsp_t * p_val = &p_ble_evt->evt.gattc_evt.params.write_rsp;
// handles moving to the next step when the write has completed.
cble_nus_c_handleWriteChar(p_val);
Thanks,
Dan