BLE Disconnects after Custom Characterisitic Write | Cypress Semiconductor
BLE Disconnects after Custom Characterisitic Write
I am trying to create an application where the user can put the BLE device to sleep for certain hours.
I have created a service which has two characteristics; 1.Sleep time and 2.SleepNowFlag.
The user enters the duration for which it wants the BLE device to sleep, and they write on to the SleepNowFlag when they want to put the BLE to sleep.
After I write the sleep time; the BLE becomes unresponsive and it disconnects after few seconds.