|
libpowermon 1.00
PowerMon Access Library
|
DeviceIdentifier is a structure containing all information used to identify a PowerMon device (either BLE or WiFi) More...
#include <powermon.h>
Public Member Functions | |
| bool | operator== (const DeviceIdentifier &rhs) |
| bool | fromURL (const char *url) |
| Initializes the current object from a device link. | |
| std::string | toURL (void) |
| Saves the current PowerMon-W access structure to a link. Only remote access WiFi device identifiers can be saved. | |
Public Attributes | |
| std::string | name |
| Device name. | |
| uint64_t | serial |
| Device serial number. | |
| uint8_t | hardware_revision_bcd |
| Identifies if it's a WiFi or BLE device. | |
| uint64_t | address |
| contains the BLE MAC address for a BLE device of the IP address of a local WiFi device. | |
| WifiAccessKey | access_key |
| Contains the access keys for a remote WiFi device. In this case address is zero. | |
DeviceIdentifier is a structure containing all information used to identify a PowerMon device (either BLE or WiFi)
| bool Powermon::DeviceIdentifier::fromURL | ( | const char * | url | ) |
Initializes the current object from a device link.
| url | C string containing a valid PowerMon-W access link |
| std::string Powermon::DeviceIdentifier::toURL | ( | void | ) |
Saves the current PowerMon-W access structure to a link. Only remote access WiFi device identifiers can be saved.