Read XBee parameters
To read the value of an XBee setting use the xbee get command. This command allows you to get the value of an XBee parameter from the local XBee device or of any remote device in the network.
Use xbee get ? to display its help and syntax.
> xbee get ? Gets the value of an XBee parameter. Syntax: get XBEE-ID PARAMETER Parameters ------------------------------------------------------------------------------- XBEE-ID XBee ID (MAC or node ID). (Required) PARAMETER Parameter. (Required)
- XBEE-ID—required—the XBee identifier that can be the 64-bit address or the node identifier.
- PARAMETER—required—is the XBee parameter to read.
- The returned value is:
- A string for the node identifier (NI).
- An integer value in hexadecimal format—including the 0x prefix—for the rest of the parameters.
For example, to get the value of D2 (AD2/DIO2 Configuration) for an XBee with the 64-bit address 0013A200DDDDDDD1, enter the following command:
Example: xbee get
> xbee get 0013A200DDDDDDD1 D2 0x00 >
Note You can auto-complete the XBee identifier and the parameter: press the Tab key to cause the command line interface to auto-complete as much of the command and parameter as possible. See Auto-complete commands and parameters.
> xbee get 00<Tab> > xbee get 0013A200DDDDDDD<Tab> 0013A200DDDDDDD0 0013A200DDDDDDD1 0013A200DDDDDDD2 0013A200DDDDDDD3 > xbee get 0013A200DDDDDDD2 D2 0x00 >