increase device object api version to 2 (invalidation of knx flash data stored by older versions)

neccessary due to changes to TableObject.save and restore for router (0x091A) support
This commit is contained in:
Ing-Dom 2024-10-24 19:32:30 +02:00
parent c956125278
commit 8ea11b03a8
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ See the examples for basic usage options
- update examples and ci to current arduino-pico core version
- better Routing and Tunneling support
- add DPT 27.001
- increase device object api version to 2 (invalidation of knx flash data stored by older versions)
### V2.1.1 - 2024-09-16
- fix minor bug in TP-Uart Driver (RX queue out of boundary)

View File

@ -9,7 +9,7 @@ class DeviceObject: public InterfaceObject
public:
// increase this version anytime DeviceObject-API changes
// the following value represents the serialized representation of DeviceObject.
const uint16_t apiVersion = 1;
const uint16_t apiVersion = 2;
DeviceObject();
uint8_t* save(uint8_t* buffer) override;