Rev. 8: 29-04-2021
49
The file that would be executing the whole process is the GPRS. On this example, in the GPRS
file is called the gprs-connect, if ifferent functions are wished to be implemented, they should
be configurated there.
In some of these files we must apply some changes in order to work with the SIM. The files
have some sections where will be found
“YOUR
-USER-
HERE”
,
“YOUR
-PASSWORD-H
ERE”
or
“YOUR
-APN-
HERE”
option, on which the user must configure his username, password and the
APN that it is using. Some of the files will require modifying them with the superuser option
sudo
. The options that we will have to change are:
▪
/etc/ppp/pap-secrets
: User and Password
▪
/etc/ppp/gprs-connect
: APN
▪
/etc/ppp/peers/gprs
: User
After setting this configuration, a reboot of the module must be set in order to apply the
changes.
> sudo reboot
If there is a problem during the process, doing a manual reset to the GPRS module should solve
the issue. For doing the reset we will have to execute the following commands:
echo 16 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio16/direction
echo 1 > /sys/class/gpio/gpio16/value
echo 0 > /sys/class/gpio/gpio16/value
echo 1 > /sys/class/gpio/gpio16/value
echo 16 > /sys/class/gpio/unexport
Summary of Contents for Raspberry PLC 19R+
Page 1: ...RASPBERRY PLC FAMILY RASPBERRY PLC FAMILY...
Page 2: ...Rev 8 29 04 2021 1...
Page 3: ...Rev 8 29 04 2021 2 RASPBERRY PLC FAMILY Quick User Guide Revised February 2021...
Page 9: ...Rev 8 29 04 2021 8 General Description RASPBERRY PLC FAMILY Product Reference Table...
Page 10: ...Rev 8 29 04 2021 9 Zones Table Measures Table...
Page 27: ...Rev 8 29 04 2021 26 Raspberry PLC Family Pinout I Os Table...
Page 29: ...Rev 8 29 04 2021 28 Upper Side POWER INDICATOR RTC BATTERY CAN BUS ETHERNET2 CONNECTOR...
Page 35: ...Rev 8 29 04 2021 34 Equivalence Table Pin Out 11 1 1 Analog Digital Devices Analog I Os...
Page 36: ...Rev 8 29 04 2021 35 11 1 2 Digital I Os 11 1 3 Relay Devices Analog I Os...
Page 37: ...Rev 8 29 04 2021 36 11 1 4 Digital I Os 11 1 5 Relay...
Page 53: ...Rev 8 29 04 2021 52 Mail industrialshields industrialshields com...