I am trying to understand why my program is returning this error (NRF_ERROR_RESOURCES). I read through a lot of other posts in the devzone and tried replicating them, but they don't seem to be doing the right thing
00> <info> ble_gatt: Requesting to update data length to 201 on connection 0x0.00> <error> ble_gatt: sd_ble_gap_data_length_update() (request) on connection 0x0 returned unexpected value 0x13.
I printed out the limitations struct for debugging:00> <error> ble_gatt: limitation tx_payload_limited_octets: 17400> <error> ble_gatt: limitation rx_payload_limited_octets: 17400> <error> ble_gatt: limitation tx_rx_time_limited_us: 0
The update data length is 201 - why is it so high? What can I do to decrease this value?
I read on the forums that NRF_SDH_BLE_GAP_EVENT_LENGTH governs the tx/rx payload size. I increased it from 3 to 6: