Configuration commands
The MRU can be configured via telnet or serial port. To interact with the API, commands follow a structured syntax on the form:
<command type>,<setting group>,<parameter>,<parameter value>
Command type: Indicates the action to perform.
set: Modifies the value of a parameter.
get: Retrieves the current value of a parameter.
exit: Stop MRU.
save: Save parameter to flash (valid after reboot).
restart: Restart the MRU.
Setting group: A functional module within the MRU responsible for a specific category of settings.
Parameter: The specific variable withing the selected setting group that is being configured or queried.
Parameter value: The value to assign to the parameter (only applicable for set commands).
The main functions GET and SET are used to get and set parameter values for the setting groups listed in the table below.
Setting groups for GET/SET | |
---|---|
SETTING GROUP | PARAMETERS |
usemode | - |
network | ipaddrmode, ip, subnetmask, gateway, dns, linkspeed |
tcp | port |
udp | hostip, port |
modbustcp | registertype |
ethernetip | instance id |
serial | rs232, rs485, off |
rs232 | baudrate, databits, stopbits, parity, flowcontrol |
rs485 | baudrate, databits, stopbits, parity, flowcontrol |
modbusrtu | unit id, registertype |
output | protocol, location, rate, invertaxes, id, token, enabletoken, enablestatus, format start, stop, start232, start485, startSD, stopSD |
mounting | angles, anglesfine, mru, mp1, mp2, cg, remotemode |
geo | latitude, declination |
filter | gyroaccfc, enableyawfilter, yawhpwc, yawfilter2order |
yawmode | drift, soft, hard |
timesync, ntp | state, serverlist, newserver |
pps | on, off, zdaoffset, zdapolarity, zdadec |
info | make, model, type, serialno, firmwarever, hardwarever |
aiding | connection, udpport, mode |
craneaid | aidenabled |
analog | mode, value, test, gain1-6, offset1-6 |
Case insensitive
All commands are case insensitive, thus will be reported with lowercasing to avoid confusion.