6 Software
User Manual 48/374
Low Level Hardware Access
The modem interfaces are accessible over the symbolic link files /dev/mux0 and /dev/mux1:
This device is created per default.
Send/Receive AT-commands to GSM modem e.g. via
picocom
This device is created per default.
Send/Receive AT-commands to GSM modem e.g. via
picocom
/proc/device-
tree/stw_gsm@00/device
Name of the modem
e.g. PHS8
This user space interface includes the name
of the modem.
/proc/device-
tree/stw_gsm@00/name
Interface name e.g.
stw_gsm
This user space interface includes the name
of the modem interface.
/proc/device-
tree/stw_gsm@00/port
Path to real
interface e.g.
/dev/ttyACM0
This user space interface includes the real
path to the modem serial interface.
This user space interface could be used in a
sequence depending on modem type to
switch the GSM modem on/off.
p1:
< 0 >
triggers pin to low level
< 1 >
triggers pin to high level
Symlink for tty-device (/dev/ttyACM0) the
modem is connected to.
Send/Receive AT-Commands depending on
GSM modem type.
If one of these interfaces mux0/1 are used in data mode (GPRS connection is established), no AT
commands can be sent to the modem by using tools like picocom.