I am already using the ble_app_peripheral example in SDK 18.104.22.168 for UART data transfer.
I need to add sleep mode feature in ble_app_peripheral example.
Requirement is ,
existing code should be go to sleep mode ,while i am sending GPIO interrupt from external MCU(through any gpio pin ).
(by default sleep should be off and its should be send/receive data , and External MCU will be set /ON the sleep mode at run time )
And also i want to disable/wakeup the sleep mode using same gpio pin like toggling .