7 #ifndef WPP_M_3_DEVICE_H
8 #define WPP_M_3_DEVICE_H
48 AVAILABLE_POWER_SOURCES_6 = 6,
51 POWER_SOURCE_VOLTAGE_7 = 7,
54 POWER_SOURCE_CURRENT_8 = 8,
64 RESET_ERROR_CODE_12 = 12,
80 HARDWARE_VERSION_18 = 18,
83 SOFTWARE_VERSION_19 = 19,
86 BATTERY_STATUS_20 = 20,
98 enum PwrSrcs: uint8_t {
103 PWR_OVER_ETHERNET = 4,
139 Device(lwm2m_context_t &context,
const OBJ_LINK_T &
id);
148 static Object &
object(WppClient &ctx);
196 void resourcesCreate();
201 void resourcesInit();
static Device * instance(WppClient &ctx, ID_T instId=ID_T_MAX_VAL)
Gets an instance of the object.
static bool removeInst(WppClient &ctx, ID_T instId)
Removes an instance of the object.
void userOperationNotifier(ItemOp::TYPE type, const ResLink &resLink) override
This method must be implemented by the derived class, and handle information about resource operation...
void serverOperationNotifier(Instance *securityInst, ItemOp::TYPE type, const ResLink &resLink) override
This method must be implemented by the derived class, and handle information about resource operation...
@ SUPPORTED_BINDING_AND_MODES_16
static Object & object(WppClient &ctx)
Gets the Object reference.
static Device * createInst(WppClient &ctx, ID_T instId=ID_T_MAX_VAL)
Creates an instance of the object.
Device(lwm2m_context_t &context, const OBJ_LINK_T &id)
Instance is interface class that implements manipulation with derived class resources....
Instance(lwm2m_context_t &context, const OBJ_LINK_T &id)
The WppConnection class represents a connection interface for the Wpp library.
TYPE
Enum representing the different types of operations.