Skip to content

Commit cf486c1

Browse files
committed
Find migration counter NVID compatible with all versions of Z-Stack
1 parent 214d051 commit cf486c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

zigpy_znp/types/nvids.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ class OsalNvIds(BaseNvIds):
3939
# Introduced by zigbeer/zigbee-shepherd and now used by Zigbee2MQTT
4040
HAS_CONFIGURED_ZSTACK1 = 0x0F00
4141
HAS_CONFIGURED_ZSTACK3 = 0x0060
42-
ZIGPY_ZNP_MIGRATION_ID = 0x0FEE
42+
43+
# Although the docs say "IDs reserved for applications range from 0x0401 to 0x0FFF",
44+
# no OSAL NVID beyond 0x03FF is writable with the MT interface when using Z-Stack 3.
45+
ZIGPY_ZNP_MIGRATION_ID = 0x005F
4346

4447
# OSAL NV item IDs
4548
EXTADDR = 0x0001

0 commit comments

Comments
 (0)