Hi, I received the NRF_ERROR_NO_MEM error when add multi-service using S110.The latest sd_ble_uuid_vs_add() function return this error.The softDevice is SD8.0.0,SDK is v8.1.0.How to resolve it? TKS!
Hi, I received the NRF_ERROR_NO_MEM error when add multi-service using S110.The latest sd_ble_uuid_vs_add() function return this error.The softDevice is SD8.0.0,SDK is v8.1.0.How to resolve it? TKS!
Put your characteristic values in user memory using BLE_GATTS_VLOC_USER instead of BLE_GATTS_VLOC_STACK
Increase the size of the GATT table with the attr_tab_size property of the ble_gatts_enable_params_t you initialise the softdevice with.
Look for sd_ble_enable(&ble_enable_params);
in main.c. Before that function call set ble_enable_params.gatts_enable_params.attr_tab_size = THE_SIZE_YOU_NEED;
.
Then you will need to increase the IRAM1 start address and decrease the IRAM1 size settings correspondingly. Make sure that the Attribute Table size is a multiple of 4 and to read Chapter 11 of the S110 Specification V2.0.
Look for sd_ble_enable(&ble_enable_params);
in main.c. Before that function call set ble_enable_params.gatts_enable_params.attr_tab_size = THE_SIZE_YOU_NEED;
.
Then you will need to increase the IRAM1 start address and decrease the IRAM1 size settings correspondingly. Make sure that the Attribute Table size is a multiple of 4 and to read Chapter 11 of the S110 Specification V2.0.