18#ifndef _POWERMON_SCANNER_H
19#define _POWERMON_SCANNER_H
56 uint16_t firmware_version_bcd;
57 uint8_t hardware_revision_bcd;
66 bool isExternalTemperature(
void)
const;
PowerStatus
PowerStatus is an enumeration of all possible power states.
Definition powermon.h:126
PowermonScanner offers support for scanning for PowerMon advertisments. Both BLE and WiFi PowerMon de...
Definition powermon_scanner.h:31
virtual void stopWifiScan(void)=0
Stops scanning for WiFi device advertisments.
virtual void stopBleScan(void)=0
virtual void startWifiScan(void)=0
Starts scanning for WiFi device advertisments.
static PowermonScanner * createInstance(void)
Creates an instance of the PowermonScanner class.
virtual void startBleScan(void)=0
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.
Advertisment is a structure representing an advertisment packet received from the PowerMon device.
Definition powermon_scanner.h:37