Write XBee parameters

To write the value of an XBee setting, use the command xbee set. This command allows you to set the value of an XBee parameter for the local XBee or of any remote XBee device in the network.

Use xbee set ? to display its help and syntax.

> xbee set ?

Sets the value of an XBee parameter. Optionally, the value can be set but not
saved, or not applied.

Syntax: set XBEE-ID PARAMETER VALUE [no-apply] [no-save]

 Parameters
 -------------------------------------------------------------------------------
 XBEE-ID     XBee ID (MAC or node ID). (Required)
 PARAMETER   Parameter. (Required)
 VALUE       Value. (Required)
 no-apply    no-apply
 no-save     no-save

For example, to set to 0x01 the value of D2 (AD2/DIO2 Configuration) of an XBee which its 64-bit address is 0013A200DDDDDDD0, enter the following command:

Example: xbee set
> xbee set 0013A200DDDDDDD0 D2 0x01

> xbee get 0013A200DDDDDDD0 D2
0x01

>