mirror of https://github.com/arendst/Tasmota.git
Zigbee Koenkk firmware 20240710 for Sonoff Zigbee ZBPro (#22076)
This commit is contained in:
parent
caa501b1af
commit
b6e81c1edd
|
@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
|
||||||
## [14.2.0.3]
|
## [14.2.0.3]
|
||||||
### Added
|
### Added
|
||||||
- Command ``SetOption69 1`` to enable Serial Bridge inverted Receive (#22000)
|
- Command ``SetOption69 1`` to enable Serial Bridge inverted Receive (#22000)
|
||||||
|
- Zigbee Koenkk firmware 20240710 for Sonoff Zigbee ZBPro
|
||||||
|
|
||||||
### Breaking Changed
|
### Breaking Changed
|
||||||
- Berry make `energy` modules changes from #21887 backwards compatible
|
- Berry make `energy` modules changes from #21887 backwards compatible
|
||||||
|
|
|
@ -118,7 +118,7 @@ class intelhex
|
||||||
|
|
||||||
offset_low = b_get(b, 1, -2) # b.get(1,-2)
|
offset_low = b_get(b, 1, -2) # b.get(1,-2)
|
||||||
var checksum = crc_sum(b)
|
var checksum = crc_sum(b)
|
||||||
if checksum != 0 raise "value_error", "invalid checksum" end
|
if checksum != 0 raise "value_error", f"invalid checksum 0x{checksum:02X}" end
|
||||||
|
|
||||||
if record_type == 1 break end # end of file
|
if record_type == 1 break end # end of file
|
||||||
if record_type == 0
|
if record_type == 0
|
||||||
|
|
|
@ -125,11 +125,6 @@ class sonoff_zb_pro_flasher
|
||||||
# don't flash so ignore data
|
# don't flash so ignore data
|
||||||
# check CCFG at location 0x57FD8 (4 bytes)
|
# check CCFG at location 0x57FD8 (4 bytes)
|
||||||
def _check_cb(addr, sz, data, offset)
|
def _check_cb(addr, sz, data, offset)
|
||||||
# check than sz is a multiple of 4
|
|
||||||
if (sz % 4 != 0)
|
|
||||||
raise "value_error", format("size of payload is not a mutliple of 4: 0x%06X", addr)
|
|
||||||
end
|
|
||||||
|
|
||||||
# print(format("> addr=0x%06X sz=0x%02X data=%s", addr, sz, data[offset..offset+sz-1]))
|
# print(format("> addr=0x%06X sz=0x%02X data=%s", addr, sz, data[offset..offset+sz-1]))
|
||||||
var CCFG = self.CCFG_address
|
var CCFG = self.CCFG_address
|
||||||
if addr <= CCFG && addr+sz > CCFG+4
|
if addr <= CCFG && addr+sz > CCFG+4
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue