Question
stm32wb55 firmware hangs if I add more than 5 services.
I have a requirement for 10 services and each service contains 4 charecteristics.
-currently, I have defined 10 services and characteristics. in code.
-firmware starts, but when I try to connect from the app it gets stuck in
void hci_cmd_resp_wait(uint32_t timeout)
{
UTIL_SEQ_WaitEvt(1 << CFG_IDLEEVT_HCI_CMD_EVT_RSP_ID);
return;
}this code.
-I have also modified required definitions according
#define CFG_BLE_NUM_GATT_ATTRIBUTES (129+9)
#define BLE_CFG_SVC_MAX_NBR_CB 10