Custom configuration: Create a new factory default

You can create a custom configuration that is used as a new factory default. This feature is useful if you need, for example, to maintain certain settings for manufacturing or want to ensure a feature is always enabled. When you perform a factory reset on the device using the RE command, the custom configuration is set on the device rather than the original factory default settings.

For example, by default Bluetooth® is disabled on devices. You can create a custom configuration in which Bluetooth® is enabled by default. When you use the RE command to reset the device to the factory defaults, the Bluetooth configuration is set to the custom configuration (enabled) rather than the original factory default (disabled).

The custom configuration is stored in non-volatile memory. You can continue to create and save custom configurations until the device's memory runs out of space. If there is no space left to save a configuration, XBee returns an error.

You can use the !C command to clear or overwrite a custom configuration at any time.

Set a custom configuration

  1. Open XCTU on the device.
  2. Enter Command mode.
  3. Perform the following process for each configuration that you want to set as a factory default.
    1. Issue an AT%F command. This command enables you to enter a custom configuration.
    2. Issue the custom configuration command. For example: ATBT 1. This command sets the default for Bluetooth to enabled.

Clear all custom configurations on a device

After you have set configurations using the AT%F command, you can return all configurations to the original factory defaults.

  1. Open XCTU on the device.
  2. Enter Command mode.
  3. Issue AT!C.