Skip to content

Commit

Permalink
Set 8.1.x.x as supported by Z2M (2.0.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerivec committed Dec 29, 2024
1 parent f58261b commit 15fbc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/bootloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const GBL_END_TAG = Buffer.from([0xfc, 0x04, 0x04, 0xfc])
const GBL_METADATA_TAG = Buffer.from([0xf6, 0x08, 0x08, 0xf6])
const VALID_FIRMWARE_CRC32 = 558161692

const SUPPORTED_VERSIONS_REGEX = /(7\.4\.\d\.\d)|(8\.0\.\d\.\d)/
const SUPPORTED_VERSIONS_REGEX = /(7\.4\.\d\.\d)|(8\.[0-1]\.\d\.\d)/
const FORCE_RESET_SUPPORT_ADAPTERS: ReadonlyArray<AdapterModel> = ['Sonoff ZBDongle-E', 'ROUTER - Sonoff ZBDongle-E']
const ALWAYS_FORCE_RESET_ADAPTERS: ReadonlyArray<(typeof FORCE_RESET_SUPPORT_ADAPTERS)[number]> = ['ROUTER - Sonoff ZBDongle-E']

Expand Down

0 comments on commit 15fbc2a

Please sign in to comment.