With the ConnectPort X2e Smart Energy gateways, the role of these gateways can be changed by issuing an AT command:
These values can be changed using the demonstration application by navigating to: digi-se.appspot.com. Select the applicable Device Cloud entry from the Serverdrop down. Login using your Digi Device Cloud username and password credentials.
Once logged in, select the desired gateway ID in the Gateway drop down box near the top of the screen. Next, select Debug Console. From the menus to the left, select RPC_ZigBee_Interface. Scroll down in the RPC_ZigBee_Interface menu and click on the xbee_AT entry.
Replace the applicable commands shown below in the Input section and click Execute to apply the command.