2024-11-27 07:21 AM
I am adding services to an existing WB55 BLE project with a small number of services.
As I increase the number of services, aci_gatt_add_service() eventually returns 0x98, BLE_STATUS_OUT_OF_MEMORY. (I note that 0x98 is not shown as a valid return value in the manual)
I have tried adjusting CFG_BLE_NUM_GATT_SERVICES , allowing for the fact that the GAP and GATT services are included automatically, but it doesn't seem to make any difference. I've also tried adjusting CFG_BLE_NUM_GATT_ATTRIBUTES and CFG_BLE_ATT_VALUE_ARRAY_SIZE.
Can anyone suggest what to look at next?