2021-11-08 07:38 AM
I have a BLE application running on BlueNRG chip. In one moment I want to pause Bluetooth communication and put the device in the deep sleep. It should wake only by GPIO interrupt. Then, the BLE stack should be active again. Unfortunately, if I call BlueNRG_Sleep(SLEEPMODE_NOTIMER) then it always wakes after a moment. Only if the BLE stack is not initialized yet, then the device may be put to sleep indefinitely.
One of workarounds I came up with is to reset the whole system, and only then call the sleep API. The Bluetooth would be initialized again after wake up. Are there other alternatives?
2024-02-09 06:14 AM
Hello,
Did you find any tips please ?