A way to fast check if wifi access point is available
Posted: Sat Aug 13, 2022 1:11 am
I'm working on battery-powered (18650, 3.7, 3500mah, xc6220) sensor device based on esp32. This device should capture and record temperature sensors data and then send data to collector IF it available. The collector visit device once a week or even month at a random time.
Collector is device (probably android phone) with enabled wifi access point and server app. Its ok for collector to stay there 10-15 minustes so check perion can be ~15min. The amount of data per month is approximately 4 kilobytes. The device should detect collector presense, connect to its AP and send all accumulated data to server.
The wifi scanNetworks(); function is too long and therefore has a high consumption.
Is there any way to wirelessly trigger device to start connect & transmission without high power consumption?
Collector is device (probably android phone) with enabled wifi access point and server app. Its ok for collector to stay there 10-15 minustes so check perion can be ~15min. The amount of data per month is approximately 4 kilobytes. The device should detect collector presense, connect to its AP and send all accumulated data to server.
The wifi scanNetworks(); function is too long and therefore has a high consumption.
Is there any way to wirelessly trigger device to start connect & transmission without high power consumption?