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.

CC2652RB: How to trigger a disconnection as a peripheral?

Part Number: CC2652RB
Other Parts Discussed in Thread: CC2541

CC2652RB, project is based on SimplePeripheral example, using SDK 4.20.01.04.

How do I force a Bluetooth disconnection?  We used to have a project that used the CC2541, and that SDK had a GAPRole_TerminateConnection() function we could call.  I was looking for something similar for the CC2652RB.  I found a GAP_TerminateLinkReq(), but it requires connectionHandle and reason parameters that I'd have to track down the values for.  Is that what I should be using, or what's the best way to gracefully initiate a disconnection from the peripheral side?