To improve the user experience on this site we use cookies. I agree | I disagree

Direct serial communication with Cellular module.

In category Routers .


NOTE:

Our routers use the GSM module for connection to mobile network which is main function of our routers. All setting of GSM module is done inside the firmware for arrangement of reliable connection to mobile network. The command "gsmat" is most especially determined for monitoring of the GSM module. Of course, it can be used also for setting of the GSM module but we cannot recommend it.

Simply said, our routers are "routers" not modems. The command "gsmat" is additional function of our routers. It can be used for all commands (supported by GSM module) in so called "Non-exclusive access". If you need and you know what you do, you can use so called "Exclusive access". This access stops all communication with mobile network and then it can be used for all communication with the GSM module. These accesses are determined mostly for engineers who know what they do, for debugging cellular network and debugging of connection to mobile network. Unfortunately, in these cases we are not able to do a support.

 

1. Switch off a PPP connection.

 

2. Write next commands to the Startup Script.

ifconfig lo up # this is not needed in newer firmware (from fw version 3.0.7)

portd -c /dev/ttyXXXX -b 115200 -d 8 -p N -s 1 -l 20 -o tcp -h 127.0.0.1 -t 8000 &

Where /dev/ttyXXXX is port of cellular module, see table "Communication ports of cellular modules" below.

Startup Script example:

 

3. Set up „Enable expansion port access over TCP/UDP“ on website of the router

 

4. Reboot the router and try to connect to the router (GSM module) through serial port (RS232). You should directly communicate with GSM module.

 

Communication ports of cellular modules
Cellular module1. channel2. channel
MC75/dev/ttyS1/dev/ttyS2
EES3/dev/ttyACM0/dev/ttyS2
TRM3/dev/ttyUSB7/dev/ttyUSB8
HC15/dev/ttyACM0/dev/ttyUSB8
HC25/dev/ttyACM0/dev/ttyUSB8
EU3/dev/ttyUSB10/dev/ttyUSB8
PHS8/dev/ttyUSB9/dev/ttyUSB8
PLS8-E_R1/dev/ttyUSB8/dev/ttyUSB8
PLS8-E_R2/dev/ttyUSB9/dev/ttyUSB8
PLS8-X_R2/dev/ttyUSB9/dev/ttyUSB8
MC7304/dev/ttyUSB8/dev/ttyUSB8
MC7700/dev/ttyUSB8/dev/ttyUSB8
MC7710/dev/ttyUSB9/dev/ttyUSB8
MC7750/dev/ttyUSB8/dev/ttyUSB8
MC8705/dev/ttyUSB9/dev/ttyUSB8
MC8790/dev/ttyUSB9/dev/ttyUSB8
ME909/dev/ttyUSB6/dev/ttyUSB8
L280/dev/ttyACM9/dev/ttyACM8
LE910-EU/dev/ttyACM11/dev/ttyACM8
LE910-NA1/dev/ttyACM11/dev/ttyACM8
GOBI3K/dev/ttyUSB8/dev/ttyUSB8
VWM10dev/ttyACM0/dev/ttyUSB8
MPNX00/dev/ttyUSB7/dev/ttyUSB8
MPL200dev/ttyUSB8/dev/ttyUSB8
EC25/dev/ttyUSB9/dev/ttyUSB8
   

 

 

 

 

To the FAQ overview