Light sleep while waiting for I2C data
Posted: Thu Oct 26, 2017 4:54 pm
I am using WROOM 32 module to send some sensor data to a remote server. The data is sent at a 50 Hz rate to the server. Every 20 ms module fetches data from I2C and sends over UDP to the server. The message payload size is 100 bytes. I am interested in utilizing Light sleep mode when the chip is idle waiting for data from I2C. When forcing the module to go into Light Sleep it seems that you need to disconnect from the AP and then connect to the AP again, which can easily take 0.5 to 1 seconds.
Is there a way to force the module into LightSleep without having to disconnect from the AP. The module is in STA Mode.
thanks
Is there a way to force the module into LightSleep without having to disconnect from the AP. The module is in STA Mode.
thanks