Skip to main content
search

Applicable Products

Part number Description
   
ZETA-GEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO and GNSS
ZETA-G-GPRS Entry Level GPRS Modem with GNSS (GL)
ZETA-N2-GPRS Entry Level GPRS Modem (GL)
ZETA-NEP-LTE4 (EU) Low Power LTE Cat 4 European Modem with GPIO
ZETA-NEP-LTEM (GL) Low Power Global LTE Cat M Modem with GPIO
ZETA-NLP-LTE1 (EU) Ultra Low Power European LTE Cat 1 Modem
ZETA-NLP-LTEM (GL) Ultra Low Power Global LTE Cat M Modem
ZETA-N-LTE (EU) High Performance LTE Cat 4 Modem with GPIO
ZETA-NSP-LTE1 (EU) Low Power European LTE Cat 1 Modem

 

Objective

In a few industrial applications, the user may require a modem to send an SMS to recipient with a cellular handset to receive an alert from a remote system. It may also be necessary for a system capable of processing SMS notification to trigger an automatic response.

This application note shows how to send and receive SMS messages using a Siretta Modem.

Solution

ZETA modem is set to send and receive SMS messages from a specified mobile number and is tested to make sure it communicates with that mobile number.

A typical arrangement is shown below:

Method

Resources used for this application note are as follows:

Note: All Siretta Industrial ZETA modems support SMS messaging services. The SMS messaging service must be enabled by SIM card provider.

1 . Follow the Initial Modem Setup Guide Application Note

2. Check the network registration using AT+CREG?

Receive following when registered to a local network:
+CREG: 0,1
Receive following when registered to a roaming network:
+CREG: 0,5

Note: If you do n.ot receive a 1 or a 5 for the +CREG command, you are not registered on the cellular network and will not be able to send an SMS message.

3 . Issue the following AT command:
AT+CMGF=?
To check supported messaging modes

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGF=?

+CMGF: (0,1)

 

OK

Where:
0 is PDU Mode
1 is Text Mode
4. Set Modem to ‘Text’ mode by issuing the following AT command:

AT+CMGF=1

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGF=?

+CMGF: (0,1)

 

OK

AT+CMGF=1

OK

 

 

Note: The Siretta modem will automatically set its ‘Service Centre Address’

5. You can check the ‘Service Centre Address’ by issuing the following AT command: AT+CSCA?

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
 
AT+CSCA?

+CSCA: “+447958879879”,145

 

OK

 

Where “145” indicates the international dialling code scheme which contains “+” and UK dialling code. The number “+447958879879” is the mobile phone number with the UK international dialling code for the SIM installed in the modem.

6. Enter the recipient mobile number by using the following AT command.
AT+CMGS=” Mobile Number”
For this guide the mobile number 07776327870 is used

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGS=07776327870

>

 

Receive “>” when successful.
7. Type your SMS message to send after “>”
“This is a test SMS from Siretta ZETA-NLP-LTE1 (EU) reply RECEIVED”.

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGS=07776327870

>This is a test SMS from Siretta ZETA-NLP-LTE1 (EU) reply RECEIVED.

 

 

8. To send an SMS message press and hold “Ctrl” and press “Z” on the PC keyboard to send a special termination character to the modem.
9. When the SMS has been sent you will see the confirmation and SMS message queue location with the following message:
+CMGS: XXX

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGS=07776327870

>This is a test SMS from Siretta ZETA-NLP-LTE1 (EU) reply RECEIVED.

+CMGS:211

OK

 

10. You have now sent an SMS to the mobile number 07776327870.
11. Below is a screenshot from the recipient’s mobile showing the SMS message that has been received.

12. Reply to the SMS with “RECEIVED” from the mobile device to the Siretta ZETA-NLP-LTE1 (EU) modem.

 

13. To check received the message from the mobile device, input the following AT command AT+CMGL.

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGL

+CMGL: 18, “REC UNREAD”,” +447776327870”,” “,”22/06/07,09:36:27+04”

 

14. View the time-stamped ‘received unread’ SMS message sent from the mobile user.

15. Issue the following AT command to read the new message.
AT+CMGL=”REC READ”

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGL

+CMGL: 18, “REC READ”,” +447776327870”,” “,”22/06/07,09:36:27+04”.

 

RECEIVED

 

16. You have now received a reply from the mobile phone using the Siretta ZETA-NLP-LTE1 (EU).
17. Issue the following AT command:
AT+CMGL=?
To see the available message options from the Siretta ZETA-NLP-LTE1 (EU).

COM3 – Tera Term VT
File    Edit     Setup     Control     Window     Help
AT+CMGL=?

+CMGL: (“REC READ”,”REC READ”,” STO UNSENT”,” STO SENT”,” ALL”)

 

OK

Where:

“REC UNREAD” shows received unread SMS Messages.
“REC READ” shows received read SMS Messages
“STO UNSENT” shows stored unsent Messages
“STO SENT” shows stored sent Messages
“ALL” shows all above SMS Messages

For more information about Siretta’s ZETA Modems product portfolio or to view Siretta’s selection of Industrial modems please visit Industrial Modems – Siretta – Enabling Industrial IoT or alternatively contact your Siretta representative.

Additional Reading

Description Author
Modem Starter Kit- Quick Start Guide: ZETA-xxP Quick Start Guide Siretta
AT command manual

 

Telit
 

Initial Modem Setup Guide

 

 

Siretta

Link to download Tera Term

https://osdn.net/projects/ttssh2/downloads/68252/teraterm-4.96.exe/

 

OSDN

 

Download PDF
Close Menu