I am programming using the glucose service example source.
The example source does not send any context data, so I added
However, when testing with nRF toolbox, I noticed that NRF_ERROR_RESOURCES error occurs after calling sd_ble_gatts_hvx.
Occurs when calling RACP_OPERATOR_ALL.
This is fine for the first call, but doesn't always work for the second call.
When calling the first RACP_OPERATOR_ALL, about 500 NRF_ERROR_RESOURCES occurs while transmitting about 60 data, and when calling the second RACP_OPERATOR_ALL, NRF_ERROR_RESOURCES always occurs.
So I am trying to change NRF_SDH_BLE_GAP_EVENT_LENGTH and NRF_SDH_BLE_GATT_MAX_MTU_SIZE in sdk_config.h.
However, after changing these, an NRF_ERROR_NO_MEM error occurs in the atErr_code = nrf_sdh_ble_enable (& ram_start) section of ble_stack_init.
Can you tell me the solution to the overall situation?