Other Parts Discussed in Thread: CC2650
Hello,
I have downloaded the multi role project for my CC2650 Launchpad to test multiple connections.
To connect to random devices I have modified these lines:
// TRUE to filter discovery results on desired service UUID
#define DEFAULT_DEV_DISC_BY_SVC_UUID FALSE
//RN4677 UUID
uint8 A128_Type0_W_CharUUID[ATT_UUID_SIZE] =
{//NSString *kType0_W_CharacteristicUUIDString = @"49 53 53 43 FE 7D 4A E 8F A9 9F AF D2 05 E4 55";
0x55, 0xE4, 0x05, 0xD2, 0xAF, 0x9F, 0xA9, 0x8F, 0xE5, 0x4A, 0x7D, 0xFE, 0x43, 0x53, 0x53, 0x49,
};
static void multi_role_processGATTDiscEvent(gattMsgEvent_t *pMsg)
{
....
// Discovery simple BLE service
VOID GATT_DiscPrimaryServiceByUUID(pMsg->connHandle,A128_Type0_W_CharUUID, ATT_BT_UUID_SIZE,
selfEntity);
...
}
If I debug the project it is possible to connect to devices and hold the connections without problems.
When I terminate the debug mode and reset the CC2650 Launchpad it is not possible to hold the connection to the devices. I can connect to them but after a few seconds the connection to both devices gets terminated. In debug mode i never have such connections porblems
Have someone an idea how I can fix this problem?