background image

 

1vv0301515 Rev.1

 

Page 35 of 59

 

2018-07-18  

 

SMS Management 

The SMS Service stores, sends, receives, and deletes SMSs, which are short text messages up 
to 160 characters long. Before using the SMS messages, you must configure the Short Message 
Service. 

 

2.10.1. 

Select SMS Format Type 

 
The module supports two SMS formats: 

 

PDU mode 

 

Text mode 

 
The module uses the PDU format to send a message on the air. The PDU mode enables the user 
to edit the message in PDU format. If the user is familiar with PDU encoding, he can operate with 
PDU by selecting that mode and use the appropriate commands. 
The present document uses the Text mode to explain how to operate with SMS. Here is the AT 
command to select the mode. 
 

AT+CMGF=[<mode>]  

 
Examples 
 
Test command returns the supported range of values: 

AT+CMGF=? 

+CMGF: (0,1) 
OK 
 
Read command returns the current setting 

AT+CMGF? 

+CMGF: 0 

 PDU mode 

OK 
 
 
Set up Text Mode for the SMS: 

AT+CMGF=1 

OK 
 
This setting is active until the module is turned OFF. 
 
 
 

 

Summary of Contents for GL865-QUAD V4

Page 1: ...GL865 QUAD V4 Module Software User Guide 1vv0301515 Rev 1 2018 07 18...

Page 2: ...hted material including the exclusive right to copy reproduce in any form distribute and make derivative works of the copyrighted material Accordingly any copyrighted material of Telit and its licenso...

Page 3: ...marks TELIT and the Stylized T Logo are registered in Trademark Office All other product or service names are the property of their respective owners V Third Party Rights The software may include Thir...

Page 4: ...pplicability Table PRODUCTS Platform Version ID1 Technology GL865 QUAD V4 34 2G 1 Platform Version ID is a reference used in the document It identifies the different SW versions e g 10 for SW version...

Page 5: ...TION 9 Scope 9 Audience 9 Contact Information Support 9 Text Conventions 10 Related Documents 11 2 AT COMMANDS 12 Serial Port Speed 12 AT Error Report Format 13 Module Identification 13 SIM Management...

Page 6: ...nal Roaming 29 2 8 4 5 Bar Unbar All Outgoing Calls 30 2 8 4 6 Bar Unbar All Outgoing International Calls 31 2 8 4 7 Bar Unbar All Outgoing Internat Calls except to Home Country 32 2 8 4 8 Unbar All C...

Page 7: ...me 50 2 12 2 Alarm 50 2 12 2 1 Set Alarm 50 2 12 2 2 Delete Alarm 51 2 12 2 3 Recurrent Alarm 52 GPIO Pins Configuration 53 2 13 1 Set GPIO Pin as Output 53 2 13 2 Set GPIO Pin as Input 53 2 13 3 Get...

Page 8: ...DR 55 AT GPIO 53 AT CALA 50 AT CALD 51 AT CCLK 50 AT CGACT 55 AT CGATT 55 AT CGDCONT 55 AT CGMM 14 AT CGMR 13 AT CLCK 16 AT CLIP 25 AT CLIR 26 AT CLVL 22 AT CMEE 13 AT CMGD 43 AT CMGF 35 AT CMGL 43 AT...

Page 9: ...the use of the AT commands through simple examples shown in the document and then deepen the interested AT commands reading the documents 17 26 27 in accordance with the used module Contact Informatio...

Page 10: ...ly injury may occur Caution or Warning Alerts the user to important points about integrating the module if these points are not followed the module and end user equipment may fail or malfunction Tip o...

Page 11: ...1vv0301515 Rev 1 Page 11 of 59 2018 07 18 Related Documents 1 GL865 QUAD V4 Hardware User Guide 1vv0301518...

Page 12: ...ESLP 0 to go back enter AT ESLP 1 Serial Port Speed Here is the V 24 serial interface standard provided by the Main Serial Port of the modules To have hardware information refer to document 1 After po...

Page 13: ...DTE serial port speed to 38400 bps Check the new current Main Serial Port speed AT IPR IPR 38400 setting is not saved in NVM OK AT Error Report Format Use Test command to know the available error rep...

Page 14: ...1vv0301515 Rev 1 Page 14 of 59 2018 07 18 Check the module identification AT CGMM GL865 QUAD V4 OK...

Page 15: ...then enter the following command AT ESIMS ESIMS 0 the SIM is not present OK The module is powered on insert the SIM AT ESIMS ESIMS 0 the SIM is not detected OK Power off on the module The following UR...

Page 16: ...CPIN SIM PIN the PIN code is needed the SIM is locked OK Enter the PIN to unlock the SIM AT CPIN XYXY OK AT CPIN CPIN READY the SIM is unlocked OK After 3 attempts failed the PIN code is no longer re...

Page 17: ...Example 3 Extract the SIM and power off on the module Check if PIN code is needed just to see the command response when using different CMEE setting CMEE 0 AT CPIN ERROR CMEE 1 AT CPIN CME ERROR 10 C...

Page 18: ...K Connect again the antenna to the module and select the Network Registration Report format Local Area Code and Cell Id AT CREG 2 OK AT CREG CREG 2 1 D5BD 0000520F 0 OK 2 5 2 Network Operator Identifi...

Page 19: ...OL index format oper Check the supported number of operators in the SIM Preferred Operator List and the format AT CPOL CPOL 0 23 0 2 OK Reading the entire list AT CPOL CPOL 0 2 23203 1 0 1 CPOL 1 2 20...

Page 20: ...ber the module is in idle state no Bit Error Rate AT CSQ CSQ 0 31 99 0 7 99 OK Example 2 Establish a voice call ATD 34XY92X4Y9 OK voice channel is open Get the received signal strength rssi and quali...

Page 21: ...t use the character at the end of the command ATD number Examples AT FCLASS 0 the current mode is data OK Call the national number 040 4X92XYX ATD 0404X92XYX OK Call the national number 040 4X92XYX in...

Page 22: ...RING RING ATA OK voice channel is on 2 6 5 Set Volume on Speaker Use the following AT command to set up the output volume level AT CLVL vol OK Use the Test command to get the vol range AT CLVL CLVL 0...

Page 23: ...the bearer to be used when a mobile terminated Single Numbering Scheme call is established use the following AT command AT CSNS mode Test command returns the supported bearers or teleservices AT CSNS...

Page 24: ...AT CRC mode OK Test command returns the supported values AT CRC CRC 0 1 OK Example 1 Disable extended format reporting and then assume that the module receives a call AT CRC 0 OK AT CRC CRC 0 extende...

Page 25: ...command is used to enable disable the Calling Line Identification Presentation AT CLIP n Test command returns the supported values AT CLIP CLIP 0 1 OK Example Enable the extended call type format rep...

Page 26: ...the current CLIR settings AT CLIR CLIR 0 4 OK n 0 CLIR module facility in accordance with CLIR Network Service m 4 CLIR temporary mode presentation allowed it is the facility status on the Network Th...

Page 27: ...ends a network request and it may take several seconds to have the response from the network Furthermore all the Call Barring Service AT commands must be used when the module is registered on some net...

Page 28: ...I network facility status AT CMEE 2 OK AT CLCK OI 2 CME ERROR no network service 2 8 4 3 Bar Unbar All Incoming Calls Use the following AT command to change the status of the AI network facility All I...

Page 29: ...de passwd Examples Lock and unlock IR network facility Check IR network facilities status AT CLCK IR 2 CLCK 0 1 CLCK 0 2 CLCK 0 4 OK IR network facility is unlocked 0 1 voice 2 data 4 fax Lock IR netw...

Page 30: ...2 CLCK 0 1 CLCK 0 2 CLCK 0 4 OK AO network facility is unlocked 0 1 voice 2 data 4 fax Lock AO network facility The network password provided by Network Operator is XXXX AT CLCK AO 1 XXXX OK Check AO...

Page 31: ...y Checking OI network facility status AT CLCK OI 2 CLCK 0 1 CLCK 0 2 CLCK 0 4 OK OI network facility is unlocked 0 1 voice 2 data 4 fax Lock OI network facility The network password is XXXX AT CLCK OI...

Page 32: ...OX network facility Check OX network facility status AT CLCK OX 2 CLCK 0 1 CLCK 0 2 CLCK 0 4 OK OX network facility is unlocked 0 1 voice 2 data 4 fax Lock OX network facility The network password is...

Page 33: ...vided by Network Operator is XXXX AT CLCK AB 0 XXXX OK Check IR network facility status AT CLCK IR 2 CLCK 0 1 CLCK 0 2 CLCK 0 4 OK IR network facility is unlocked 0 1 voice 2 data 4 fax Check OI netwo...

Page 34: ...TMF AT VTS VTS 0 1 2 3 4 5 6 7 8 9 A B C D OK Example An Incoming Call is recognized the module sends to the DTE the RING message Use the following AT command to answer to the call RING RING ATA OK vo...

Page 35: ...ge on the air The PDU mode enables the user to edit the message in PDU format If the user is familiar with PDU encoding he can operate with PDU by selecting that mode and use the appropriate commands...

Page 36: ...d field present in relative format Always 0 SMS SUBMIT vp validity period in relative format 24 hours is coded into 167 decimal format pid protocol identifier dcs data coding scheme default value 0 AT...

Page 37: ...most significant nibble is 6 the least significant nibble is B the cell at the crossing of column 6 and row B holds the character k 2 10 1 2 2 UCS2 Character Set The UCS2 Character Set is used in Text...

Page 38: ...nto three groups mem1 mem2 and mem3 The following test command returns the supported SMS storage groups AT CPMS CPMS SM ME SM_P ME_P MT SM ME SM_P ME_P MT SM ME SM_P ME_P MT OK mem1 memory from which...

Page 39: ...e ME AT CPMS ME CPMS 0 50 15 30 15 30 OK AT CPMS CPMS ME 0 50 SM_P 15 30 SM_P 15 30 OK Select memory storage SM_P AT CPMS SM_P CPMS 15 30 15 30 15 30 OK AT CPMS CPMS SM_P 15 30 SM_P 15 30 SM_P 15 30 O...

Page 40: ...module receives a new SMS an Unsolicited Result Code is generated This indication may be sent to the DTE buffered if the DTE is busy for example during a data call or discarded To set the desired beh...

Page 41: ...S to the remote device and do not store it Select Text Mode AT CMGF 1 OK Select how the new received message event is notified by the DCE to the DTE AT CNMI 1 1 0 0 0 OK Send a SMS to the remote devic...

Page 42: ...OK AT CSMP 17 168 0 240 Assume to send a SMS of Class 0 OK Select how the new received message event is notified by the DCE to the DTE AT CNMI 1 1 0 0 0 OK Store into SM the SMS message to be sent to...

Page 43: ...the first parameter of the CMGD AT CMGD 1 4 OK AT CPMS SM CPMS 0 30 0 30 0 30 OK 2 10 7 SMS Status SMSs can be gathered into 5 different groups depending on their status REC UNREAD received messages...

Page 44: ...1 REC READ SMS body CMGL 2 REC READ SMS body OK List the SMSs stored on SM storage with their Status STO SENT AT CMGL STO SENT OK Example 2 Check if Text Mode is active AT CMGF CMGF 1 OK Check the sup...

Page 45: ...urned off Use the following command to select the phonebook memory storage identified by storage parameter To have more information on the command refer to document The command syntax is AT CPBS stora...

Page 46: ...PBF 5 1234567890 129 NEW4Record OK 2 11 3 Read Phonebook Entries Use the following AT command to read a Phonebook entry AT CPBR index1 index2 Select SM storage AT CPBS SM OK AT CPBS CPBS SM 3 50 OK Lo...

Page 47: ...osition of the selected SM phonebook AT CPBW 1234567890 129 New3Record OK Read the current phonebook storage AT CPBS CPBS SM 4 50 OK Check where the New record has been written case sensitive AT CPBF...

Page 48: ...al Phonebook Entry To dial a phone number stored in the Phonebook the user must get the desired phone number index position using the CPBF command Once the index number is known the user can establish...

Page 49: ...1vv0301515 Rev 1 Page 49 of 59 2018 07 18 Establish the voice call using the index ATD 3 OK...

Page 50: ...t 10h 27m 30s AT CCLK 18 03 12 10 27 30 OK The time is successfully set The updated time starts immediately after the time setting command 2 12 1 2 Read the Current Date and Time Use the following AT...

Page 51: ...ex Read the current time AT CCLK CCLK 18 03 12 10 44 22 OK Set up the alarm configuration the alarm index is 0 AT CALA 18 03 12 10 55 30 0 1 Dummy OK Read the current time AT CCLK CCLK 18 03 12 10 45...

Page 52: ...rrent alarm for all days in the week AT CALA 18 03 12 11 55 30 0 1 Dummy 0 OK Read the current time AT CCLK CCLK 18 03 12 11 45 20 the alarm time is still not reached OK The Alarm time is reached the...

Page 53: ...g For detailed GPIO pins descriptions refer to document 1 2 13 1 Set GPIO Pin as Output Use the following AT command to set a GPIO as output with Low or High status value AT GPIO pin mode 1 Set GPIO1...

Page 54: ...the GPIO2 status The command returns dir and status AT GPIO 2 2 GPIO 0 0 GPIO2 pin status is Low as commanded by GPIO1 Set GPIO1 pin as output with High status AT GPIO 1 1 1 OK Check the GPIO2 status...

Page 55: ...1 OK Check if the module is GPRS attached AT CGATT CGATT 1 GPRS attached OK Set a PDP context cid 1 AT CGDCONT 1 IP APN OK NOTE setting is saved Check how many PDP contexts are defined AT CGDCONT CGDC...

Page 56: ...ved in NVM OK Activate PDP Data account id 0 AT ETCPIP 1 0 OK Create a socket and return socket id Connection to an echo TCP server 1 create e socket and returns its id 0 data account id 0 TCP destina...

Page 57: ...e Input Output IRA International Reference Alphabet ME Mobile Equipment MSISDN Mobile Station International Subscriber Directory Number NVM Non Volatile Memory PDN Public Data Network PDP Packet Data...

Page 58: ...1vv0301515 Rev 1 Page 58 of 59 2018 07 18 5 DOCUMENT HISTORY Revision Date Changes 0 2018 03 15 First issue 1 2018 07 18 In chapter 2 added a note about sleep mode and the related AT command...

Page 59: ...04 2016 Mod 0815...

Reviews: