NimBLE-Arduino 2.1.2
|
A callback handler for callbacks associated device scanning. More...
#include <NimBLEScan.h>
Public Member Functions | |
virtual void | onDiscovered (const NimBLEAdvertisedDevice *advertisedDevice) |
Called when a new device is discovered, before the scan result is received (if applicable). | |
virtual void | onResult (const NimBLEAdvertisedDevice *advertisedDevice) |
Called when a new scan result is complete, including scan response data (if applicable). | |
virtual void | onScanEnd (const NimBLEScanResults &scanResults, int reason) |
Called when a scan operation ends. | |
A callback handler for callbacks associated device scanning.
|
virtual |
Called when a new device is discovered, before the scan result is received (if applicable).
[in] | advertisedDevice | The device which was discovered. |
|
virtual |
Called when a new scan result is complete, including scan response data (if applicable).
[in] | advertisedDevice | The device for which the complete result is available. |
|
virtual |
Called when a scan operation ends.
[in] | scanResults | The results of the scan that ended. |
[in] | reason | The reason code for why the scan ended. |