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.

CCS/CC2640R2F: GAP_TerminateLinkReq

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hi,

in Simple_peripheral project I want to use GAP_TerminateLinkReq.

To test it I try:

in SimplePeripheral_processGapMessage -> GAP_LINK_ESTABLISHED_EVENT I start a Clock that at the time out call a function where I call 

GAP_TerminateLinkReq(selfEntity,0x0000,HCI_DISCONNECT_REMOTE_USER_TERM) 


or I try to call: GAPRole_TerminateConnection(); instead of GAP_TerminateLinkReq


but I see that when the execution arrive to GAP_TerminateLinkReq or GAPRole_TerminateConnection it is blocked and no value returns.

Why?

Can you help me?

Thanks.

Best regards.

Giuseppe