Skip to content

Commit 9258813

Browse files
committed
Simplify inter-pan command names
1 parent ddf79f6 commit 9258813

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

zigpy_znp/types/commands.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,14 @@ class DeviceState(t.enum_uint8):
536536

537537

538538
class InterPanCommand(t.enum_uint8):
539-
InterPanClr = 0x00
540-
InterPanSet = 0x01
541-
InterPanReg = 0x02
542-
InterPanChk = 0x03
539+
# Switch channel back to the NIB channel
540+
Clr = 0x00
541+
# Set channel for inter-pan communication
542+
Set = 0x01
543+
# Register an endpoint as inter-pan
544+
Reg = 0x02
545+
# Check if an endpoint is registered as inter-pan
546+
Chk = 0x03
543547

544548

545549
class MTCapabilities(t.enum_flag_uint16):

0 commit comments

Comments
 (0)