ESP32 BLE scan reconnect

HI!
I use ESP32 as BLE client with ESP32 BLE Arduino library.
My aim is receive data from a sensor. The sensor will most of time in sleep mode to save the battery. It will notify each minute. So, do I need to reconnect with all these scan routine or ESP32 just received new values? How does it work in sense of low power?

In standard BLE_client program there some lines which logic is not clear.
What does setActiveScan(true), and what is the difference with setActiveScan(false)?
What is active and possibly passive scanning?
But the main question is about
BLEDevice::getScan()->start(0); // this is just example to start scan after disconnect
Why 0?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.