18#ifndef _POWERMON_SCANNER_H
19#define _POWERMON_SCANNER_H
58 uint16_t firmware_version_bcd;
59 uint8_t hardware_revision_bcd;
68 bool isExternalTemperature(
void)
const;
PowerStatus
PowerStatus is an enumeration of all possible power states.
Definition powermon.h:127
PowermonScanner offers support for scanning for PowerMon advertisements. Both BLE and WiFi PowerMon d...
Definition powermon_scanner.h:33
virtual void stopWifiScan(void)=0
Stops scanning for WiFi device advertisements.
virtual void stopBleScan(void)=0
virtual void startWifiScan(void)=0
Starts scanning for WiFi device advertisements.
static PowermonScanner * createInstance(void)
Creates an instance of the PowermonScanner class.
virtual void startBleScan(void)=0
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.
Advertisement is a structure representing an advertisement packet received from the PowerMon device.
Definition powermon_scanner.h:39