Hi
I used nRF5_SDK_14.2.0 to develop nRF52832. Now I have a problem. I used the demo of ble_app_blinky in the ble_peripheral files. I want to send the 2552 bytes by ble_lbs_on_button_change event. I have changed the data fifo to 20bytes.
...............
len = 20;
params.p_data = buff_send;
params.p_len = &len;
sd_ble_gatts_hvx(conn_handle, ¶ms);
.................
In the "static void button_event_handler(uint8_t pin_no, uint8_t button_action)", I send the first packet., and then wait for BLE_GATTS_EVT_HVN_TX_COMPLETE int the function ble_evt_handler. Open the Adroid phone, link to the device. When I press button 1, nRF52832 begin to sent data by sd_ble_gatts_hvx. When the BLE_GATTS_EVT_HVN_TX_COMPLETE event happened, the next packet would be sent. But unfortunately, after sent 23 packets, the error was produced.
__WEAK void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
I watched the error, the values are as following:
id = 0x00004001
pc = 0x00000000
info = 0x200049d0
So , could give me some advice about the error. Thanks.