mirror of
https://github.com/thelsing/knx.git
synced 2025-09-05 17:50:22 +02:00
updated source code formatting
This commit is contained in:
parent
82c41bfbf6
commit
65a60fdb48
@ -7,40 +7,40 @@
|
|||||||
class DeviceObject: public InterfaceObject
|
class DeviceObject: public InterfaceObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// increase this version anytime DeviceObject-API changes
|
// increase this version anytime DeviceObject-API changes
|
||||||
// the following value represents the serialized representation of DeviceObject.
|
// the following value represents the serialized representation of DeviceObject.
|
||||||
const uint16_t apiVersion = 1;
|
const uint16_t apiVersion = 1;
|
||||||
|
|
||||||
DeviceObject();
|
DeviceObject();
|
||||||
uint8_t* save(uint8_t* buffer) override;
|
uint8_t* save(uint8_t* buffer) override;
|
||||||
const uint8_t* restore(const uint8_t* buffer) override;
|
const uint8_t* restore(const uint8_t* buffer) override;
|
||||||
uint16_t saveSize() override;
|
uint16_t saveSize() override;
|
||||||
|
|
||||||
uint16_t individualAddress();
|
uint16_t individualAddress();
|
||||||
void individualAddress(uint16_t value);
|
void individualAddress(uint16_t value);
|
||||||
|
|
||||||
void individualAddressDuplication(bool value);
|
void individualAddressDuplication(bool value);
|
||||||
bool verifyMode();
|
bool verifyMode();
|
||||||
void verifyMode(bool value);
|
void verifyMode(bool value);
|
||||||
bool progMode();
|
bool progMode();
|
||||||
void progMode(bool value);
|
void progMode(bool value);
|
||||||
uint16_t manufacturerId();
|
uint16_t manufacturerId();
|
||||||
void manufacturerId(uint16_t value);
|
void manufacturerId(uint16_t value);
|
||||||
uint32_t bauNumber();
|
uint32_t bauNumber();
|
||||||
void bauNumber(uint32_t value);
|
void bauNumber(uint32_t value);
|
||||||
const uint8_t* orderNumber();
|
const uint8_t* orderNumber();
|
||||||
void orderNumber(const uint8_t* value);
|
void orderNumber(const uint8_t* value);
|
||||||
const uint8_t* hardwareType();
|
const uint8_t* hardwareType();
|
||||||
void hardwareType(const uint8_t* value);
|
void hardwareType(const uint8_t* value);
|
||||||
uint16_t version();
|
uint16_t version();
|
||||||
void version(uint16_t value);
|
void version(uint16_t value);
|
||||||
uint16_t maskVersion();
|
uint16_t maskVersion();
|
||||||
void maskVersion(uint16_t value);
|
void maskVersion(uint16_t value);
|
||||||
uint16_t maxApduLength();
|
uint16_t maxApduLength();
|
||||||
void maxApduLength(uint16_t value);
|
void maxApduLength(uint16_t value);
|
||||||
const uint8_t* rfDomainAddress();
|
const uint8_t* rfDomainAddress();
|
||||||
void rfDomainAddress(uint8_t* value);
|
void rfDomainAddress(uint8_t* value);
|
||||||
uint8_t defaultHopCount();
|
uint8_t defaultHopCount();
|
||||||
private:
|
private:
|
||||||
uint8_t _prgMode = 0;
|
uint8_t _prgMode = 0;
|
||||||
uint16_t _ownAddress = 65535; // 15.15.255;
|
uint16_t _ownAddress = 65535; // 15.15.255;
|
||||||
|
Loading…
Reference in New Issue
Block a user