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