Hello,
I am using multirole on cc2640r2f and it will to connect with 8 slaves (cc2640r2f). It is works and connects to desired slave devices.
But most of the time application stops after random time (often 5-6 minutes) and does nothing( no scans for any slave device / no advertising etc). The connected devices slaves get disconnected.
I tried to Analysis the heap parameters and i found the following:
heapmgrMemAlo = 10080
heapmgrMemUB = 13084
heapmgrMemMax = 12760
HEAPMGR_SIZE = 13579
Why it is not so stable?
Another issue is, when it scans for the slave devices and found the devices. I set an event that sends connect request and once the GAP_LINK_ESTABLISHED_EVENT is generated i send the
next connection request for the next device in devList. But sometimes discovery for some device does not get completed.
The handler value for char remains 0 and discInfo[connIndex].discState = BLE_DISC_STATE_CHAR.
I want to make sure that the discovery for each device gets successfully and it gets the char handler values.
Should i send the next connection request once the discovery for one device is completely done? or the stack is able to perform discovery even there are multiple request one after another from application?
PS: I tried both applications (ble5stack\multi_role and blestack\multi_role) both shows same behavior.
Waiting for your kind help.