This article describes system commands supported by Audia and Nexia devices.
|A comprehensive look at the RS-232 and Telnet protocol commands is found in both the Audia and Nexia programs under Help > Help Topics. Under the Contents tab, explore System Control > RS-232 and Telnet Protocol.|
Within the Audia/Nexia text protocol, there are a handful of system commands that allows setting and retrieving IP settings as well as resetting and clearing a unit. These commands can be sent either via Telnet or HyperTerminal.
Please note that these commands use 0 as the device ID. This means that commands will be executed only on the unit you are directly connected to. Getting information from another unit in a system is possible by using the appropriate Device ID. When setting parameters though, using a different device number, although possible (as long as it is a valid Device ID) it is not recommended.
All of these commands are terminated with a Line Feed character, which in ASCII is represented by a hex 0A. The commands below use <LF> as a placeholder for the Line Feed character. The commands themselves should not actually include the literal "<LF>" text.
|GET 0 DEVID<LF>||Retrieves the device ID. A device ID of 0 indicates that the unit doesn’t have a configuration loaded into it. Any other number indicates the unit is part of a system and has a working configuration.|
|GET 0 IPADDR<LF>||Retrieves the current IP Address from the unit|
|SET 0 IPADDR xxx.xxx.xxx.xxx<LF>||Sets the IP address of the unit. The unit should respond with a “+OK” when the command is accepted. Power cycle the unit for the new IP Address to take effect|
|GET 0 SUBNETMASK<LF>||Retrieves the current subnet mask from the unit. The default subnet mask is 255.255.255.0|
|SET 0 SUBNETMASK xxx.xxx.xxx.xxx<LF>||Sets the subnet mask of the unit. The unit should respond with a “+OK” when the command is accepted. Power cycle the unit for the new subnet mask to take effect|
|GET 0 DEFAULTGW||Retrieves the current default gateway from the unit.|
|SET 0 DEFAULTGW xxx.xxx.xxx.xxx<LF>||Sets the default gateway of the unit. The unit should respond with a “+OK” when the command is accepted. Power cycle the unit for the new default gateway to take effect|
|GET 0 MACADDRESS<LF>||Returns the MAC Address of the unit.|
|CLEAR 0 DEVCONFIG<LF>||Clears the configuration from the unit including any passwords. This has the same functionality as “Reset/Initialize”|
|RESTART 0 DEVICE<LF>||Performs a warm reboot of the unit (power cycles the unit). Note that audio will be STOPPED when the power cycle is complete.|
|REBOOT 0 DEVICE<LF>||Performs a warm reboot of the unit (power cycles the unit). Note that audio will remain in the powered down state when the power cycle is complete. Meaning if the audio was started at boot down it will be started at boot up.|
|RESET 0 FILESYSTEM<LF>||Clears the configuration from the unit and rebuilds the internal file structure to factory default state. IP settings are not changed.|