Other Parts Discussed in Thread: SYSBIOS
Hi Support,
my customer is facing two issues with Multi Role project with BLE stack v3 working with CC2640R2F.
A.
They want to use just peripheral role and be able to be connectable by more devices at once. However in multi.c function linkDB_NumConns is returning number 2. Is there a possibility to enlarge this number (f.e. enlarge heap memory size?)
B.
They are able to connect with 2 centrals (mobile phones) to their peripheral device. However they are automatically being disconnected after approximately 1 minute. Is there some timer that is forcing disconnect? I was trying to track the initiator of disconnect but I just found the place where
typedef struct
{
osal_event_hdr_t hdr; //!< @ref GAP_MSG_EVENT and status
uint8 opcode; //!< @ref GAP_LINK_TERMINATED_EVENT
uint16 connectionHandle; //!< connection Handle
uint8 reason; //!< termination reason from LL, defined in ll.h
} gapTerminateLinkEvent_t;
Is the reason wht they are getting = LL_STATUS_ERROR_LL_TIMEOUT_PEER
Why does this timeout? It happens cca after 30 seconds. Even if they interact with device – write/read from characteristic.
The message from stack
GAP_LINK_TERMINATED_EVENT
In gapRole_processGAPMsg is processed.
Thanks for your help,
Best regards,
Alberto


