EasyManua.ls Logo

STW TC1 - Gsm

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 Software
User Manual 47/374
6.4.1 GSM
The default setup of the GSM modem provides functionalities to handle more than one GSM service at a time.
High Level Hardware Access
Path
Input
information
Output
information
Description
/etc/init.d/scripts/gsm
p1
-
This shell script starts or stops the GSM modem and loads
APN settings automatically from database /etc/apns-conf-
xml depending of the /etc/init.d/rc.conf settings. Make sure
before start that a SIM-Card is inserted. Script is started
automatically by the boot up sequence.
p1: defines what action should be done
< start >
switches the modem on, set the SIM-PIN if
necessary, create MUX devices and start APN
detection
< stop >
switches the modem off
< restart >
calls stop
calls start
Interface at rc.conf: Set GSM parameters
Set the GSM parameters to etc/init.d/rc.conf:
# GSM baudrate
# Supported bit rates see table below.
export GSM_BAUDRATE="460800"
# PIN for the SIM card
export GSM_PIN=""
Example: Use picocom for GSM modem communication (AT commands)
The picocom binary was designed to serve as a simple, manual, modem configuration, testing and debugging
tool.
# picocom -b 460800 /dev/mux0
The key combination to execute picocom is CTRL+A+Q.

Table of Contents