Class DeviceObject¶
Defined in File device_object.h
Inheritance Relationships¶
Base Type¶
public InterfaceObject
(Class InterfaceObject)
Class Documentation¶
-
class DeviceObject : public InterfaceObject¶
Public Functions
-
DeviceObject()¶
-
virtual uint8_t *save(uint8_t *buffer) override¶
This method is called when the object should save its state to the buffer.
- Parameters
buffer – The buffer the object should save its state to.
- Returns
The buffer plus the size of the object state. The next object will use this value as the start of its buffer.
-
virtual const uint8_t *restore(const uint8_t *buffer) override¶
This method is called when the object should restore its state from the buffer.
- Parameters
buffer – The buffer the object should restore its state from.
- Returns
The buffer plus the size of the object state. The next object will use this value as the start of its buffer.
-
virtual uint16_t saveSize() override¶
- Returns
The maximum number of bytes the object needs to save its state.
-
uint16_t individualAddress()¶
-
void individualAddress(uint16_t value)¶
-
void individualAddressDuplication(bool value)¶
-
bool verifyMode()¶
-
void verifyMode(bool value)¶
-
bool progMode()¶
-
void progMode(bool value)¶
-
uint16_t manufacturerId()¶
-
void manufacturerId(uint16_t value)¶
-
uint32_t bauNumber()¶
-
void bauNumber(uint32_t value)¶
-
const uint8_t *orderNumber()¶
-
void orderNumber(const uint8_t *value)¶
-
const uint8_t *hardwareType()¶
-
void hardwareType(const uint8_t *value)¶
-
uint16_t version()¶
-
void version(uint16_t value)¶
-
uint16_t maskVersion()¶
-
void maskVersion(uint16_t value)¶
-
uint16_t maxApduLength()¶
-
void maxApduLength(uint16_t value)¶
-
const uint8_t *rfDomainAddress()¶
-
void rfDomainAddress(uint8_t *value)¶
-
uint8_t defaultHopCount()¶
Public Members
-
const uint16_t apiVersion = 1¶
-
DeviceObject()¶