Skip to content

Commit cf27ce9

Browse files
committed
Drop ZNP_ prefix from HAS_CONFIGURED_* enums
1 parent d4bb473 commit cf27ce9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

zigpy_znp/types/nvids.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ class OsalExNvIds(BaseNvIds):
2525

2626

2727
class NwkNvIds(BaseNvIds):
28+
# XXX: These are not documented or found in the code but seem to work?
29+
# No others exist. Every one of the 2^16 possible NVIDs is in this enum.
30+
# HAS_CONFIGURED_ZSTACK1 = 0x0F00
31+
HAS_CONFIGURED_ZSTACK3 = 0x0060
32+
2833
# OSAL NV item IDs
2934
EXTADDR = 0x0001
3035
BOOTCOUNTER = 0x0002
@@ -94,10 +99,6 @@ class NwkNvIds(BaseNvIds):
9499
BDBNODEISONANETWORK = 0x0055 # bdbNodeIsOnANetwork attribute
95100
BDBREPORTINGCONFIG = 0x0056
96101

97-
# XXX: these are not documented or found anywhere but in the Z2M codebase
98-
ZNP_HAS_CONFIGURED_ZSTACK1 = 0x0F00
99-
ZNP_HAS_CONFIGURED_ZSTACK3 = 0x0060
100-
101102
# Security NV Item IDs
102103
SECURITY_LEVEL = 0x0061
103104
PRECFGKEY = 0x0062

0 commit comments

Comments
 (0)