mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
1343ed0b7d
* fixes to enable partial programming (thanks to mumpf and proggerKA at KNX-UF!) * add PID_MCB_TABLE to TableObject * add CallBackProperty to send PID_MCB_TABLE * calculate crc checksum using Crc16Citt when state switches to LOAD_COMPLETED * add crc to save(), restore() and saveSize() to save crc to flash * add CallBackProperty for read and write of PID_PROG_VERSION to ApplicationProgramObject * create overrides for save, restore, and saveSize in ApplicationProgramObject to save _programVersion to flash * improve crc calculation * removed TableObject::crc16Citt method and use the one in bits.h * do not save crc in flash, instead calculate on-the-fly in CallbackProperty when state==LS_LOADED * use DataProperty to store PID_PROG_VERSION * WARNING: segmentSize calculation for crc calculation is currently not correct. Need to somehow access size of data in class that inherits from TableObject (e.g. ApplicationObject or RouterObject) * fix segment size in TableObject() * save size after TableObject::allocTable() is called. Also change save() and restore() to save _size to flash. Modify saveSize() * use _size to calculate crc value in CallbackProperty * reduce footprint, save 5 byte * add comment why _size field is needed * remove PID_MCB_TABLE from RouterObject * this is now implemented in TableObject |
||
---|---|---|
.. | ||
knx | ||
arduino_platform.cpp | ||
arduino_platform.h | ||
cc1310_platform.cpp | ||
cc1310_platform.h | ||
esp32_platform.cpp | ||
esp32_platform.h | ||
esp_platform.cpp | ||
esp_platform.h | ||
knx_facade.cpp | ||
knx_facade.h | ||
knx.h | ||
linux_platform.cpp | ||
linux_platform.h | ||
samd_platform.cpp | ||
samd_platform.h | ||
stm32_platform.cpp | ||
stm32_platform.h |