File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ class HardwareVersion(Enum):
8585 XBEE3_SMT = (0x42 , "XBEE3 SMT" )
8686 XBEE3_TH = (0x43 , "XBEE3 TH" )
8787 CELLULAR_3G = (0x44 , "XBee Cellular 3G" )
88+ XB8X = (0x45 , "XB8X" )
8889 CELLULAR_LTE_VERIZON = (0x46 , "XBee Cellular LTE-M Verizon" )
8990 CELLULAR_LTE_ATT = (0x47 , "XBee Cellular LTE-M AT&T" )
9091 CELLULAR_NBIOT_EUROPE = (0x48 , "XBee Cellular NBIoT Europe" )
Original file line number Diff line number Diff line change @@ -241,11 +241,14 @@ def determine_protocol(hardware_version, firmware_version):
241241 elif hardware_version == HardwareVersion .CELLULAR_NBIOT_EUROPE .code :
242242 return XBeeProtocol .CELLULAR_NBIOT
243243
244- elif hardware_version in [HardwareVersion .XBEE3 ,
245- HardwareVersion .XBEE3_SMT ,
246- HardwareVersion .XBEE3_TH ]:
244+ elif hardware_version in [HardwareVersion .XBEE3 . code ,
245+ HardwareVersion .XBEE3_SMT . code ,
246+ HardwareVersion .XBEE3_TH . code ]:
247247 return XBeeProtocol .ZIGBEE
248248
249+ elif hardware_version == HardwareVersion .XB8X .code :
250+ return XBeeProtocol .DIGI_MESH
251+
249252 return XBeeProtocol .ZIGBEE
250253
251254 code = property (__get_code )
You can’t perform that action at this time.
0 commit comments