Skip to content

Commit

Permalink
Zigbee Koenkk firmware 20240710 for Sonoff Zigbee ZBPro (#22076)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger authored Sep 2, 2024
1 parent caa501b commit b6e81c1
Show file tree
Hide file tree
Showing 4 changed files with 11,266 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
## [14.2.0.3]
### Added
- Command ``SetOption69 1`` to enable Serial Bridge inverted Receive (#22000)
- Zigbee Koenkk firmware 20240710 for Sonoff Zigbee ZBPro

### Breaking Changed
- Berry make `energy` modules changes from #21887 backwards compatible
Expand Down
2 changes: 1 addition & 1 deletion tasmota/berry/zigbee/intelhex.be
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class intelhex

offset_low = b_get(b, 1, -2) # b.get(1,-2)
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 == 0
Expand Down
5 changes: 0 additions & 5 deletions tasmota/berry/zigbee/sonoff_zb_pro_flasher.be
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ class sonoff_zb_pro_flasher
# don't flash so ignore data
# check CCFG at location 0x57FD8 (4 bytes)
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]))
var CCFG = self.CCFG_address
if addr <= CCFG && addr+sz > CCFG+4
Expand Down
Loading

0 comments on commit b6e81c1

Please sign in to comment.