Skip to content

Commit

Permalink
0.9.0 Release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminiuga authored Jan 29, 2020
2 parents 703b3b1 + 4988eaf commit fddc226
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion zigpy_xbee/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MAJOR_VERSION = 0
MINOR_VERSION = 8
MINOR_VERSION = 9
PATCH_VERSION = "0"
__short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION)
__version__ = "{}.{}".format(__short_version__, PATCH_VERSION)
19 changes: 13 additions & 6 deletions zigpy_xbee/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class ModemStatus(t.uint8_t, t.UndefinedEnum):
"node_id_indicator": (0x95, (), None),
}

# https://www.digi.com/resources/documentation/digidocs/PDFs/90000976.pdf pg 157
# https://www.digi.com/resources/documentation/digidocs/pdfs/90001539.pdf pg 175
AT_COMMANDS = {
# Addressing commands
"DH": t.uint32_t,
Expand Down Expand Up @@ -153,22 +153,29 @@ class ModemStatus(t.uint8_t, t.UndefinedEnum):
"NB": t.uint8_t, # 0 - 3 (an Enum)
"SB": t.uint8_t, # 0 - 1 (an Enum)
"RO": t.uint8_t,
"D7": t.uint8_t, # 0 - 7 (an Enum)
"D6": t.uint8_t, # 0 - 5 (an Enum)
"D7": t.uint8_t, # 0 - 7 (an Enum)
"P3": t.uint8_t, # 0 - 5 (an Enum)
"P4": t.uint8_t, # 0 - 5 (an Enum)
# I/O commands
"IR": t.uint16_t,
"IC": t.uint16_t,
"P0": t.uint8_t, # 0 - 5 (an Enum)
"P1": t.uint8_t, # 0 - 5 (an Enum)
"P2": t.uint8_t, # 0 - 5 (an Enum)
"P3": t.uint8_t, # 0 - 5 (an Enum)
"D0": t.uint8_t, # 0 - 5 (an Enum)
"D1": t.uint8_t, # 0 - 5 (an Enum)
"D2": t.uint8_t, # 0 - 5 (an Enum)
"D3": t.uint8_t, # 0 - 5 (an Enum)
"D4": t.uint8_t, # 0 - 5 (an Enum)
"D5": t.uint8_t, # 0 - 5 (an Enum)
"D8": t.uint8_t, # 0 - 5 (an Enum)
"D9": t.uint8_t, # 0 - 5 (an Enum)
"P0": t.uint8_t, # 0 - 5 (an Enum)
"P1": t.uint8_t, # 0 - 5 (an Enum)
"P2": t.uint8_t, # 0 - 5 (an Enum)
"P5": t.uint8_t, # 0 - 5 (an Enum)
"P6": t.uint8_t, # 0 - 5 (an Enum)
"P7": t.uint8_t, # 0 - 5 (an Enum)
"P8": t.uint8_t, # 0 - 5 (an Enum)
"P9": t.uint8_t, # 0 - 5 (an Enum)
"LT": t.uint8_t,
"PR": t.uint16_t,
"RP": t.uint8_t,
Expand Down

0 comments on commit fddc226

Please sign in to comment.