AM335X-PAC Series User Manual version 2.0.4 Page: 93
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
(c)
Gammu
Gammu is a command line utility that can be used for reading, writing, sending and receiving SMS
messages. To send an SMS message using Gammu, follow the procedure described below.
Step 1: Use the ‘
apt-get install gammu
’ command to install the Gammu package.
Step 2: Use the ‘
gammu-config
’ command to modify the configuration file.
The Gammu package includes an easy to use tool gammu-config, which allows the user to create
and configure the most important options in the Gammu configuration file, as illustrated in Figure
5.6.2.1-5.
Figure 5.6.2.1-5. Figure 5.6.2.1-6.
Step 3: Use the ‘
gammu –identify
’ command to verify that the configuration is functioning as
expected, as illustrated in Figure 5.6.2.1-6.
Step 4: Use the following command to send an SMS message, as illustrated in Figure 5.6.2.1-7.
# gammu sendsms TEXT +8869XXXXXXXX -text "gammu : test"
Figure 5.6.2.1-7
. Sending an SMS message using Gammu