Mitigate deserialization errors due to hub 0.57 FW bug
0.57 FW has an extra byte as the first byte of zdo message body payloads and is missing the last byte of the body of the payload. This adds a mitigation in the ZdoMessageBody deserialization code which overrides the Lua library function that corrects the off by 1 error and inserts a default last byte of 0x01 for every Zdo message payload.
ํ๋ธ 0.57 FW ๋ฒ๊ทธ๋ก ์ธํ ์ง๋ ฌํ ์ค๋ฅ๋ฅผ ์ํํฉ๋๋ค.
0.57 FW๋ zdo ๋ฉ์์ง ๋ฐ๋ ํ์ด๋ก๋์ ์ฒซ ๋ฒ์งธ ๋ฐ์ดํธ๋ก ์ถ๊ฐ ๋ฐ์ดํธ๋ฅผ ๊ฐ์ง๊ณ ์์ต๋๋ค.
ํ์ด๋ก๋ ๋ณธ์ฒด์ ๋ง์ง๋ง ๋ฐ์ดํธ๊ฐ ๋๋ฝ๋์์ต๋๋ค. ์ด๊ฒ์ a๋ฅผ ์ถ๊ฐํฉ๋๋ค.
ZdoMessageBody ์ญ์ง๋ ฌํ ์ฝ๋์์์ ์ํ
์ค๋ฅ 1๋งํผ OFF๋ฅผ ์์ ํ๊ณ a๋ฅผ ์ฝ์
ํ๋ Lua ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ธฐ๋ฅ์
๋๋ค.
๋ชจ๋ Zdo ๋ฉ์์ง ํ์ด๋ก๋์ ๋ํ ๊ธฐ๋ณธ ๋ง์ง๋ง ๋ฐ์ดํธ 0x01์
๋๋ค.
๋๊ธ 0