PowermonScanner offers support for scanning for PowerMon advertisements. Both BLE and WiFi PowerMon devices are supported.
More...
#include <powermon_scanner.h>
|
| virtual void | setCallback (const std::function< void(const Advertisement &)> &cb)=0 |
| | Sets the callback to be called by the Powermon scanner when a new advertisement has been received.
|
|
virtual void | startWifiScan (void)=0 |
| | Starts scanning for WiFi device advertisements.
|
|
virtual void | stopWifiScan (void)=0 |
| | Stops scanning for WiFi device advertisements.
|
| virtual void | startBleScan (void)=0 |
| virtual void | stopBleScan (void)=0 |
PowermonScanner offers support for scanning for PowerMon advertisements. Both BLE and WiFi PowerMon devices are supported.
◆ createInstance()
◆ setCallback()
| virtual void PowermonScanner::setCallback |
( |
const std::function< void(const Advertisement &)> & | cb | ) |
|
|
pure virtual |
Sets the callback to be called by the Powermon scanner when a new advertisement has been received.
- Parameters
-
◆ startBleScan()
| virtual void PowermonScanner::startBleScan |
( |
void | | ) |
|
|
pure virtual |
Starts scanning for BLE device advertisements
◆ stopBleScan()
| virtual void PowermonScanner::stopBleScan |
( |
void | | ) |
|
|
pure virtual |
Stops scanning for BLE device advertisements
The documentation for this class was generated from the following file: