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.

CC1352P: Forcing a disconnect on BLE

Part Number: CC1352P
Other Parts Discussed in Thread: CC2640

Champs,

Given I've seen this question multiple times, we must not be answering it sufficiently.  How do I force the CC1352 (or CC2640 for that matter) to TERMINATE a link?  I have this in my code- I'm sending an app message to the simple_peripheral (which is registered with icall) and made up my evet code for SP_TERMINATE_LINK_EVT.  If I put a breakpoint here it hits the code, and the stat variable is 0x00 indicating success; but if you run the code; the link absolutely will not drop- it's still connected.    I've seen this on other forum posts as well with folks struggling to get this to work.    For my application, I want it to disconnect because I need a period of radio silence; already disabled adverting for some time and that works; but I can't get this to actually disconnect.

case SP_TERMINATE_LINK_EVT:
  stat = GAP_TerminateLinkReq(LINKDB_CONNHANDLE_ALL, 0);
  asm(" nop");
break;

Any ideas where I went off the rails?