This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652R: GAP_LINK_TERMINATED while reading

Part Number: CC2652R

Hi,

When we perform GATT_DiscAllChars, GATT_DiscAllCharDescs & GATT_DiscAllPrimaryServices, we always receive GAP_LINK_TERMINATED event after successful read. At the end of the read process, we get this error message and disconnection always. How we can debug this issue?

Tested with SDK 5.10.00.48  as well as 5.20.

GATT_DiscAllChars: 01 B2 FD 06 00 00 01 00 07 00
<-----GAP_ParseResponseMsg: event = 0x67F status = 0x0
<-----GAP_ParseResponseMsg: event = 0x509 status = 0x0
<-----GAP_ParseResponseMsg: event = 0x509 status = 0x1A
<-----GAP_ParseResponseMsg: GAP_LINK_TERMINATED 0606 status = 0 event = 606 reason 0x13

-->GATT_DiscAllPrimaryServices: 01 90 FD 02 00 00
<-----GAP_ParseResponseMsg: event = 0x67F status = 0x0
<-----GAP_ParseResponseMsg: event = 0x511 status = 0x0
<-----GAP_ParseResponseMsg: event = 0x511 status = 0x1A
<-----GAP_ParseResponseMsg:GAP_LINK_TERMINATED 0606 status = 0 event = 606 reason 0x13

FY:

We send only GapInit_connect before doing the GATT_DiscAllChars, GATT_DiscAllCharDescs & GATT_DiscAllPrimaryServices.

GapInit_connect: 01 62 FE 0A 00 48 06 20 D7 4F 14 01 00 00

Do we need to send any command to extend the connection time? 

Thanks

Sen