arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.69k stars 4.72k forks source link

Matter fix TLV.U8 unsigned encoding #21672

Closed s-hadinger closed 1 week ago

s-hadinger commented 1 week ago

Description:

Fix a minor bug that would encode an unsigned int32 with highest bit set, as a negative int64. This forces TLV.U8 to be encoded as unsigned. This is used in 'breadcrumb' Matter attribute.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass