AM335X-PAC Series User Manual version 2.0.1 Page: 88
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.6.2.1. Message in English
Sending an English message, users can try the following SMS tools.
(a)
gsm-utils
The gsm-utils binary package provides some simple command line programs that can be used to
access a GSM mobile phone via GSM modem. To send an SMS message, using the gsm-utils
package, follow the procedure described below.
Step 1: Use the
‘
apt-get install gsm-utils
’
command to install the gsm-utils package.
Step 2: Use the following command to send an SMS message.
# gsmsendsms -d /dev/ttyUSB3 +8869XXXXXXXX "gsm : test"
(b)
Gnokii
Gnokii is a suite of programs for communicating with mobile phones that can be used for reading,
writing, sending and receiving SMS messages. To send an SMS message, using Gnokii, follow the
procedure described below.
Step 1: Use the
‘
apt-get install gnokii-cli
’
command to install the Gnokii package.
Step 2: Open the configuration file found in the
‘
/etc/xdg/gnokii/
’
folder and adjust the values
for the
‘
port
’
and
‘
serial_baudrate
’
parameters, as illustrated in Figure 5.6.2.1-1.
Figure 5.6.2.1-1.
Modifying the Gnokii configuration file