BAOS SDK v2
1.0.1
An SDK providing access to IP-BAOS devices through BAOS binary protocol version 2.x
|
Unique identifier for a device. More...
#include <baos/device/BaosDevicesMeta.h>
Public Member Functions | |
DeviceGroupIdentifier (const protocol::ServerItem &manufacturerApp, const protocol::ServerItem &applicationId, const protocol::ServerItem &applicationVersion) | |
Construct a new Device Identifier object build from baos::protocol::ServerItem elements. More... | |
DeviceGroupIdentifier (std::uint16_t manufacturerApp, std::uint16_t applicationId, std::uint8_t applicationVersion) | |
Construct a new Device Identifier object from intergral values. More... | |
bool | operator== (const DeviceGroupIdentifier &other) const |
The comparision operator for the class. | |
bool | operator< (const DeviceGroupIdentifier &other) const |
The lesser than operator of this class. | |
Public Attributes | |
std::array< std::byte, 5 > | deviceid |
The unique inferfacegroup id. | |
Unique identifier for a device.
The combination of manufacturer code of the ETS app, the application id and version allows to target a specific group of devices
|
inline |
Construct a new Device Identifier object build from baos::protocol::ServerItem elements.
manufacturerApp | The manufacturer code of the ETS App |
applicationId | The application id of the ETS App |
applicationVersion | The application version of the ETS App |
|
inline |
Construct a new Device Identifier object from intergral values.
manufacturerApp | The manufacturer code of the ETS App |
applicationId | The application id of the ETS App |
applicationVersion | The application version of the ETS App |