User's Guide

command is entered only once, normally in the factory, but may be necessary
after e.g. a SIM card has been replaced.
The -v option attaches a CRC to the command string and should only be used
during communication with computers (e.g., during manufacturing).
Example
: pin
PIN is set
PUK is set
4.1.9. hwid
Description
Shows the hardware ID of the RTU.
Usage
hwID [ ID ], where ID is the ID to set
Remarks
The ID can be set only once; this is done during manufacturing. The ID can be also
shown using the attr command (attr hwID).
Example
: hwid
hwID is 5010
4.1.10. connect
Description
Directly connect to a character device.
Usage
connect <device> [ baudrate [ nr_bits [ parity ]]], where <device> is the devices
path to connect to. Currently following devices are available:
/dev/modem – the cellular modem port
/dev/pcui – the cellular modem secondary port
/dev/mpi – the MPI serial port (normally used for sensor/data logger interfaces)
/dev/sdi – the SDI serial port
For the /dev/mpi and /dev/sdi devices, optionally the baud rate, the number of bits
and the parity may be specified.
This command is interactive, to exit the command type <ctrl-X>.
Remarks
This command is restricted when connected over telnet: the /dev/pcui port
cannot be accessed.
Example
: connect /dev/modem
Type <CTRL-X> to exit
^SYSSTART
4.1.11. xfer
Description
Transfer files to/from the RTU using the x-modem protocol.
Usage
xfer { -r | -s } <filename> where <filename> is the name of the file to be transferred.
The -r option is used to transfer files from the PC to the RTU, while the -s option to
send files from the RTU to the PC.
Remarks
This command is restricted to the USB and MPI ports; it doesn’t work over telnet.
After issuing the command, switch your program to X-modem send, or transmit
mode (depending on the option used).
20