Hello,
I'm trying to get the CC2652 chip into low power mode using TI RTOS. So I believe I need to shutoff bluetooth advertising and disable any active bluetooth connections.
I successfully turned off advertising using:
bStatus_t result1 = GapAdv_disable(advHandleLongRange); bStatus_t result2 = GapAdv_disable(advHandleLegacy);
However I can't see how to disconnect the client device from the simple_peripheral code. I tried:
hciStatus_t result3 = HCI_DisconnectCmd(selfEntity, HCI_DISCONNECT_REMOTE_DEV_POWER_OFF);
Any ideas? Result return codes are all SUCCESS.