I make a call to sd_ble_gatts_hvx, and get an error. The call produces an error and I end up in ble_debug_assert_handler
From ble_debug_assert_handler: The file name is: scr\rem.c line number: 0x561 error_code: DEADBEEF
I looked and I can't find the file rem.c - is this the source of my problem? If so where is the file? How/where can I get the file? Since I can't find the file, I can't look at line 0x561
here's my code:
uint32_t Tilt_Tx_Data(ble_tmb_t * p_tmb)
{
uint16_t Len = 20;
ble_gatts_hvx_params_t params;
uint16_t len = TILT_DATA_MAX_SZ;
memset(¶ms, 0, sizeof(params));
params.type = BLE_GATT_HVX_NOTIFICATION;
params.handle = p_tmb->Tx_Srvs_handles.value_handle;
params.p_len = &Len;
params.p_data = dataToSend;
return sd_ble_gatts_hvx(p_tmb->conn_handle, ¶ms);
}
it's the last line of the function that is creating the error: the line that says:
return sd_ble__gatts_hvx(p_tmb->conn_handle, ¶ms);
p_tmb->conn_handle = 0x0000 params.plen = 0x14 (which is correct); params.p_data = 0x200020F8 (when I look at that address in memory the data is correct.
Any help or suggestions would be appreciated.
Thanks, Clint