User manual
98 / 107
GPRS/EDGE/UMTS routers MG101, MG102
3. Jul 2009
4.2
Digital I/O Server (MG101-1NN)
To manage digital inputs and outputs via TCP software is required that handles the TCP connection. For test
purposes e.g. telnet can be used. The payload contains the states of the four inputs/outputs:
The value 0 represents the state “off”, the value 1 the state “on”.
4.2.1
Monitor the digital inputs and outputs
Every change of digital inputs triggers a message of the above format to be sent. It also contains the valid
states of the outputs.
4.2.2
Set digital outputs
To set the states of the digital I/O send the following pattern as ASCII characters
Pattern
Description
00000000
Turn all digital outputs off
00000001
Turn output 2 on, turn output 1 off
00000010
Turn output 1 on, turn output 2 off
00000011
Turn output 1 on, turn output 2 on
4.2.3
Get status of digital inputs and output
To get the states of the digital I/O send the following pattern as ASCII characters
Pattern
Description
00010000
Request a message with all states
4.3
HTTP Service Interface
The HTTP Service Interface is designed to administrate the MG101/102 with a self-written http client. It is
available from version 3.3.2.xxxx.
The HTTP Service Interface consists of four web pages located in the root directory of the MG101/102 web
server:
•
login.php (http clients can log in)
•
logout.php (http clients can log out)
•
upload.php (http clients can upload configuration files)
•
download.php (http clients can download log files)
•
cli.php (http clients can acces the same functionaltity as provided by the Command Line Interface)
For further documentation regarding the HTTP Service Interface please contact Racom.
Summary of Contents for MG101
Page 2: ...2 107 n vod MG101 102...
Page 6: ...User manual 6 107 GPRS EDGE UMTS routers MG101 MG102 3 Jul 2009...
Page 41: ...User manual 41 107 GPRS EDGE UMTS routers MG101 MG102 3 Jul 2009 3 1 6 4 2 IPsec Configuration...
Page 67: ...User manual 67 107 GPRS EDGE UMTS routers MG101 MG102 3 Jul 2009 3 1 8 4 2 Network Debugging...
Page 70: ...User manual 70 107 GPRS EDGE UMTS routers MG101 MG102 3 Jul 2009 3 1 8 4 5 Restart...
Page 71: ...User manual 71 107 GPRS EDGE UMTS routers MG101 MG102 3 Jul 2009 3 1 8 4 6 Tech Support...