Skip to content

Commit

Permalink
hardware: add support for new hardware variants
Browse files Browse the repository at this point in the history
- 0x41 - XBee3
- 0x42 - XBee3 SMT
- 0x43 - XBee3 TH
- 0x45 - XB8X

Signed-off-by: Diego Escalona <[email protected]>
  • Loading branch information
diescalo committed Nov 20, 2017
1 parent 8cbab83 commit 63ca637
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,16 @@ public enum HardwareVersionEnum {
CELLULAR(0x40, "CELLULAR"),
/** @since 1.2.1 */
CELLULAR_CAT1_LTE_VERIZON(0x40, "XBee Cellular Cat 1 LTE Verizon"),
// TODO: Add the since annotation in the next version of the library.
XBEE3(0x41, "XBee3"),
// TODO: Add the since annotation in the next version of the library.
XBEE3_SMT(0x42, "XBee3 SMT"),
// TODO: Add the since annotation in the next version of the library.
XBEE3_TH(0x43, "XBee3 TH"),
/** @since 1.2.1 */
CELLULAR_3G(0x44, "XBee Cellular 3G"),
// TODO: Add the since annotation in the next version of the library.
XB8X(0x45, "XB8X"),
/** @since 1.2.1 */
CELLULAR_LTE_VERIZON(0x46, "XBee Cellular LTE-M Verizon"),
/** @since 1.2.1 */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ else if (firmwareVersion.startsWith("8"))
return CELLULAR;
case CELLULAR_NBIOT_EUROPE:
return CELLULAR_NBIOT;
case XBEE3:
case XBEE3_SMT:
case XBEE3_TH:
return ZIGBEE;
case XB8X:
return DIGI_MESH;
default:
return ZIGBEE;
}
Expand Down

0 comments on commit 63ca637

Please sign in to comment.