One of the operating modes supported by the XBee 3 BLU device is MicroPython REPL mode, which allows you to interact directly with the MicroPython environment running on the module. This mode is not enabled by default, so the first step to interacting with the MicroPython REPL or executing a MicroPython application on the XBee 3 BLU device is to configure it in MicroPython REPL mode. Follow these steps to do so using XBee Studio:

  1. Connect your device to a PC where XBee Studio is installed.

    This section assumes that you know how to connect the XBee 3 BLU device to a PC. For more information on how to connect an XBee device to a PC, see the Step 2 - Set up the hardware page from the getting started section.
  2. Open XBee Studio.

  3. Wait for your device to be discovered.
    A module that’s never been configured should be discovered automatically, but if you have problems discovering your local device, see the Device discovery tools section of XBee Studio User Guide to learn how to do it manually.

  4. Click on the device. The Dashboard page appears. It contains the device information, connection interface and a list of quick actions.

  5. Verify the module is working in MicroPython REPL mode, if not, set it.

    You can do this using Quick Actions to simplify the process or manually in the Settings page:

    1. Click the Settings item in the sidebar of the tab, located within the Configuration section.

    2. Search for the setting you want to update, in this case AP. You can use the search box at the top toolbar within the device tab.

    3. Change the value of the setting to MicroPython REPL [4].

    4. Write the value to the non-volatile memory of your device by clicking the Write setting button (pencil icon) on the right side of the selected setting. This triggers a write operation on the device.

    1. Find the Operating mode quick action and click it. A popup appears, letting you change the operating mode.

    2. Set the operating mode to MicroPython REPL

      1. Click the Apply button and wait for the configuration to be written to the device.