Part Number: CC2650EM-7ID-RD
Other Parts Discussed in Thread: BOOSTXL-CC2650MA
Hello,
I am using a Central role BLE device (BOOSTXL-CC2650MA) to connect to two Peripheral role devices (both CC2650EM-7ID) simultaneously. One of the Peripheral devices is GATT_Notification streaming data to the Central device (~210kbit) and while this is going on I connect to the other Peripheral device (which will not stream anything, just maintain a connection).
Most of the time this works fine, but sometimes the Central device will confirm a connection (GAP_LINK_ESTABLISHED fires with status SUCCESS) between it and the new, non-streaming Peripheral device while that Peripheral device does not go into the GAPROLE_CONNECTED state: it stays in the GAPROLE_ADVERTISING state. What's worse is that this happens again and again after this when i try to reconnect to the device: the Central will confirm the connection but the Peripheral seems to know nothing. Only a Peripheral device reset seems to fix the issue. When I call GAPCentralRole_TerminateLink from the Central and disconnect it from the Peripheral, the Peripheral does show that it has disconnected and will advertise again, even though it was never connected in the first place and was in the advertising state all along.
The software for this are adapted SimpleBLECentral and SimpleBLEPeripheral programs. Is there any way to fix this?
Thank you,
Jochem van Boxtel