I am looking to communicate between 2 ESP32 devices. The server (with temperature sensor) should sleep after updating it's characteristic. The client should be able to read the value sent.
I am able to get it working without deep sleep, where the characteristic is updated in the loop() section of the Arduino code, and the value is picked up by the client in the notifyCallback() method. However, if I move the notify() code of the server, into the "setup()" portion of my Arduino sketch, the client does not read the value. In fact the "notifyCallback()" method never executes.
Any idea? Could someone please help with sample code if implemented a deep sleep BLE server/client scenario?
Thanks.
Need help with ESP32 BLE with deep sleep
Re: Need help with ESP32 BLE with deep sleep
It is not possible to use bluetooth with esp32 in deep sleep, because radio is turned off.
Who is online
Users browsing this forum: No registered users and 9 guests