background image

LISA-C200 & FW75-C200 

AT commands examples - Application Note 

CDMA-CS-12000

 

Preliminary 

 

Page 32 of 41

 

Command 

Response 

Description 

AT+CMGL="all" 

+CMGL: 2,"REC 
UNREAD","8582286247","12/06/1
5,17:01:08+00",,129,15 
Test numero dos 
+CMGL: 12,"REC 
UNREAD","9132354027","12/06/2
1,12:18:24+00",,129,42 
Test number 4 Lisa-C to FW75 
June21 midday 
+CMGL: 13,"REC 
UNREAD","9132354027","12/06/2
1,13:43:34+00",,129,59 
Test number 6 Lisa to FW, 
lets chack @ 1345 on June21 
+CMGL: 14,"REC 
UNREAD","9132354027","12/06/2
1,13:44:44+00",,129,47 
TEst bnumber sdlksdoiuj 
@June21 sdjshjkds 12245 
+CMGL: 15,"REC 
UNREAD","9132354027","12/06/2
1,13:52:48+00",,129,69 
TEst number 234 from Lisa to 
FW CNMI On and MTSMS there, 
Jun21 @ 1352 

Shows  that  all  “Read”  messages  has  been  erased 
from the memory of the module. 

AT+CMGD=? 

+CMGD: +CMGD: 
(2,12,13,14,15),(0-4) 
 
OK 

+CMGD  shows  the  indexes  of  available  memory 
allocations that are currently storing messages. 

 

12.4

 

Deleting all messages 

Command 

Response 

Description 

AT+CMEE=2 

OK 

Set verbose error messages 

AT+CMGL="all" 

+CMGL: 0,"REC 
UNREAD","9132354027","12/06/2
8,15:25:25+00",,129    ,14 
test number 42 
+CMGL: 1,"REC 
UNREAD","9132354027","12/06/2
9,10:50:28+00",,129    ,29 
test number 634 June29 @ 1050 
+CMGL: 2,"REC 
UNREAD","8582286247","12/06/1
5,17:01:08+00",,129    ,15 
Test numero dos 
+CMGL: 12,"REC 
UNREAD","9132354027","12/06/2
1,12:18:24+00",,12    9,42 
Test number 4 Lisa-C to FW75 
June21 midday 
+CMGL: 13,"REC 
UNREAD","9132354027","12/06/2
1,13:43:34+00",,12    9,59 
Test number 6 Lisa to FW, 
lets chack @ 1345 on June21 
+CMGL: 14,"REC 
UNREAD","9132354027","12/06/2
1,13:44:44+00",,12    9,47 
TEst bnumber sdlksdoiuj 
@June21 sdjshjkds 12245 
+CMGL: 15,"REC 
UNREAD","9132354027","12/06/2
1,13:52:48+00",,12    9,69 

List all the SMS Messages stored in the memory of the 
module. 

Содержание LISA-C200

Страница 1: ...les u blox CDMA 1xRTT wireless modules Application Note locate communicate accelerate www u blox com Abstract This document provides detailed examples of using the AT commands for u blox LISA C200 and FW75 C200 CDMA 1xRTT wireless modules ...

Страница 2: ...er Preliminary This document contains data from product verification Revised and supplementary data may be published later Released This document contains the final product specification This document and the use of any information contained therein is subject to the acceptance of the u blox terms and conditions They can be downloaded from www u blox com u blox makes no warranties based on the acc...

Страница 3: ...MA registration 11 4 1 1 Network Registration 11 4 1 2 Low Power Mode Registration 11 4 1 3 Power Down registration 12 5 TCP IP AT commands 13 5 1 Socket Connect 13 5 2 Socket Write 13 5 2 1 Binary mode 13 5 2 2 Base syntax 14 5 2 3 CDMA network coverage lost 14 5 3 Socket operations with Keep Alive option 16 5 4 Socket Read 17 5 5 Socket Close 18 5 5 1 By the module 18 5 5 2 By the remote host 18...

Страница 4: ...12 SMS AT Commands 28 12 1 Reading a single message 28 12 2 Listing all messages 28 12 3 Delete one single message or multiple messages 29 12 4 Deleting all messages 32 12 5 Write and or send one single message 34 12 6 Storing an SMS message 34 12 7 Sending a Stored SMS message 35 Appendix 37 A List of Acronyms 37 B Error Codes for Sprint s OMADM 39 Related documents 40 Revision history 40 Contact...

Страница 5: ... there 2 Service provisioning 2 1 Service provisioning in Verizon networks Some logistic preparation is required prior to activating a module on Verizon Networks we recommend that customers directly contact their Verizon Customer Representative to properly setup the wireless accounts Once the lines have been provisioned proceed with the activation steps as noted below 2 1 1 Module activation Comma...

Страница 6: ... this time If the response is UACTIND 1 the terminal is either not activated or the OTA session failed AT PRL 52743 OK Use this AT command again to verify that the new PRL has been loaded into the module 2 2 Service Provisioning in Sprint networks OMA Device Management is a device management protocol specified by the Open Mobile Alliance OMA Device Management DM Working Group and the Data Synchron...

Страница 7: ...e there is a new Firmware upgrade available additional URC s will be shown see next chapter for additional URC s AT MDN 9132354027 OK This command allows reading the new MDN programmed into the module AT QCMIPGETP 1 Profile 1 Enabled NAI customerequipmen39 sprint pcs com Home Addr 0 0 0 0 Primary HA 255 255 255 255 Secondary HA 68 28 89 76 MN AAA SPI 1234 MN HA SPI 1234 Rev Tun 1 MN AAA SS Set MN ...

Страница 8: ...If there is additional packages available then it will start a new process from the Download Session stage 2 2 2 2 User Initiated Firmware Upgrade Command Response Description AT CMEE 2 OK Set verbose error messages AT FUMO 2 OK This command starts a Firmware Upgrade Session given there is a new FW available to upgrade the module to UOMASTAT 1 0 0 OK Start of session Checks and reports new Firmwar...

Страница 9: ... of reporting session If there is no additional packages available the session will end at this stage UOMASTAT 2 0 0 OK Start of Downloading session UOMASTAT 2 1 0 OK End of Downloading session At this moment the module enters into Download Mode and is being programmed it will come back to Service after the programming is finished Most Terminal Emulators will disconnect the module once it enters i...

Страница 10: ...0 OK User initiated PRL update session The URC indicates an OMADM session has started UOMASTAT 1 1 0 OK URC that shows the PRL OMADM session has ended AT PRL 60780 OK Read the new PRL ID just loaded into the module 3 Storing parameters FW75 and LISA C modules both have an internal algorithm that stores the CDMA RF internal parameters as they work in different scenarios To facilitate this behavior ...

Страница 11: ...any type of registration performed by the module CREG 4 54 1 OK This URC confirms the module has registered with the operator AT CREG CREG 1 4 54 1 OK Reports the operator in which the module has registered 4 CREG 4 54 0 OK Module loses CDMA service and reports the URC CREG 4 54 1 OK The module re acquires CDMA service and reports another URC 4 1 2 Low Power Mode Registration Forcing the module to...

Страница 12: ...tion message 4 1 3 Power Down registration The CDMA standard defines a Power Down registration as a normal procedure to allow the module to go off the network and disconnect itself This procedure also requires a new registration in which the terminal reports to the network that is going out of service and therefore all messaging directed to this device should be kept within the network Allow at le...

Страница 13: ... be returned AT USOCO 18 195 34 89 241 7 OK Connect socket 18 to port 7 of a remote host with IP address 195 34 89 241 The connection is now uniquely associated to the socket Socket is now ready for read write operations AT USOCL 18 OK Closes the TCP socket number 18 5 2 Socket Write For TCP connectivity creating a socket connection is required before proceeding to write a TCP Socket Follow the st...

Страница 14: ...R 6 USOCR 19 OK Creates a TCP socket the created ID socket is 19 AT USOCO 19 195 34 89 241 7 OK Creates a connection between Socket ID 19 and Port 7 of the IP Address 195 34 89 241 AT USOWR 19 25 qwerty0122345 6poiuyt15969 USOWR 19 25 OK Writing 25 bytes of data into socket ID 19 CREG 4 54 0 OK Registration URC reporting the module is no longer in cellular coverage Please refer to the LISA C FW75 ...

Страница 15: ...acters were successfully written into TCP Socket 18 Third scenario Network coverage lost during AT USOWR command binary mode Command Response Description AT CMEE 2 OK Set verbose error messages AT CREG 1 OK CREG 1 enables the URC notification for terminal registration AT USOCR 6 USOCR 19 OK USOCR 6 creates a TCP socket the response is a Socket 19 was created at usoco 19 108 217 247 74 1505 OK Conn...

Страница 16: ... the return was that a socket number 78 was created AT USOSO 78 65535 8 1 OK This step enables the Keep Alive mode for the TCP socket 78 Socket number 65535 Specifies the chosen mode will be set at Socket level 8 Specifies the mode selected was Keep Alive 1 Enabled the selected mode in this case Keep Alive AT USOSO 78 6 2 5000 OK This step configures the inactivity timeout after which the module w...

Страница 17: ...ytes of data still pending in the host server No additional URC has been received after reading all remaining data therefore all data has been recovered Third scenario Command Response Description UUSORD 63 15 Remote host sends the module 15 data bytes The module notifies via URC that there are 15 bytes of data information stored for socket ID 63 AT USORD 63 5 USORD 63 5 good OK This command reque...

Страница 18: ...ion AT USOCL 18 OK Socket closed by the module socket 18 No URC notification is returned 5 5 2 By the remote host Command Response Description UUSOCL 18 URC notifying the user that socket number 18 has been disconnected by the remote host At this point user has to close the socket at usocl 18 OK User closes socket number 18 as a consequence of the previous URC ...

Страница 19: ... is necessary to specify the length of data to be written and the data to be written If more bytes are written with respect to the threshold the remaining data will be truncated The interface is blocked until all data is written The command response is returned This means the data is sent to lower level of protocol stack This is not an acknowledgment UDP is a connectionless protocol 6 1 2 Binary m...

Страница 20: ... USORF 18 15 USORF 18 108 217 247 74 220 15 0 123456789qwert OK A request to read 15 characters of data to socket 18 is sent The command response indicates Read socket identifier 18 Remote IP address Remote UDP port Number of read data bytes Read data bytes between quotation marks AT USOCL 18 OK Closing the UDP socket terminal goes back to idle state For UDP Socket implementation it is highly reco...

Страница 21: ...ction of the link This command line will not disconnect the UDP connection AT USODL 18 CONNECT Using the same command to re establish the connection 1234567890qwerty 1234567890qwerty User enters new set of characters after the prompt is shown 6 3 2 Closing the Connection Command Response Description DISCONNECT New command line to disconnect the link UDP connection is not closed AT USOCL 18 OK Clos...

Страница 22: ...e AT UFTP 2 guest OK Stores the Username AT UFTP 3 password OK Stores the user Password AT UFTPC 1 OK UUFTPCR 1 1 OK Requests a Login to the already specified FTP server using the credential above AT UFTPC 13 OK UUFTPCD 13 127 drwxr xr x 1 ftp ftp 0 Jul 02 14 42 2 3 13 rw r r 1 ftp ftp 20814745 Jul 02 14 42 ETS 8 5 17 tool zip OK UUFTPCR 13 1 OK Requests the file list on the root directory on the ...

Страница 23: ...ory called TESTEO from the root directory AT UFTPC 8 PRUEBAS OK UUFTPCR 8 1 OK Returns to the PRUEBAS directory AT UFTPC 3 10 key tEN key OK UUFTPCR 3 1 OK Changes the name of the 10 key file to the new name tEN key AT UFTPC 13 OK UUFTPCD 13 58 rw r r 1 ftp ftp 260 Jul 16 17 03 tEN key OK UUFTPCR 13 1 OK A new request for a list of files within the PRUEBAS directory is made this time the new tEN k...

Страница 24: ...file in the current PRUEBAS directory AT UFTPC 13 OK UUFTPCR 13 1 OK Shows no file in the current PRUEBAS directory AT UFTPC 8 OK UUFTPCR 8 1 OK Sends the working directory from PRUEBAS back into the root directory AT UFTPC 11 PRUEBAS OK UUFTPCR 11 1 OK Removes the PRUEBAS directory from the root directory AT UFTPC 0 OK UUFTPCR 0 1 OK Logging Off from the FTP server ...

Страница 25: ...K Sending the command HEAD to the HTTP server The first OK response is a confirmation the command has been delivered The UUHTTPCR is the URC coming from the server in this case confirming the command 0 from profile 0 has been successfully AT UHTTPC 0 1 UBLOX GET PHP GET TXT OK UUHTTPCR 0 1 1 OK Sending the command GET to the HTTP server the URC confirms the success of the request AT UHTTPC 0 2 UBL...

Страница 26: ... 51 AT UGPIOW 23 1 OK Write Set the GPIO status Only GPIO configured in output mode can be written AT UGPIOC 20 0 21 0 23 0 24 0 51 1 OK Provides GPIO status in this example GPIOs 20 21 23 and 24 are configured as Outputs GPIO 51 is configured as Input 10 Multiplexer AT commands The virtual channels for the multiplexer are configured for the following functionalities Channel 0 Control channel Chan...

Страница 27: ...DWNFILE SD_New_001 14 Requests the creation of a new file on the file system it is necessary to specify the name and file size The prompt symbol indicates the terminal is open No commands will be allowed Good Morning OK The characters written will be sent to the port The interface is blocked until all bytes are written Once all characters are written the module exits from the prompt an OK response...

Страница 28: ...elf is Test Number One AT CMGR 1 CMGR REC READ 8585596895 12 06 15 15 58 25 00 129 15 Test Number One OK Allows reading the message stored in memory index 1 receipt shows it was read originating address is 8585596895 date stamp reflects June 15th of 2012 15 58 25 Pacific Time Type of Address is 129 octet 15 characters of message and message itself is Test Number One This step is optional it helps ...

Страница 29: ...tself is followed Test number two Default value for AT CMGL is Rec Unread AT CMGL REC READ CMGL 0 REC READ 8584494198 12 06 12 15 19 19 00 129 9 Response CMGL 1 REC READ 8582286247 12 06 15 15 58 25 00 129 15 Test number one OK Lists all the Read messages stored in the TE AT CMGL REC UNREAD CMGL 2 REC UNREAD 8582286247 12 06 1 5 17 01 08 00 129 15 Test number two OK As the default command setting ...

Страница 30: ...06 2 1 12 18 24 00 129 42 Test number 4 Lisa C to FW75 June21 midday CMGL 13 REC UNREAD 9132354027 12 06 2 1 13 43 34 00 129 59 Test number 6 Lisa to FW lets chack 1345 on June21 CMGL 14 REC UNREAD 9132354027 12 06 2 1 13 44 44 00 129 47 TEst bnumber sdlksdoiuj June21 sdjshjkds 12245 CMGL 15 REC UNREAD 9132354027 12 06 2 1 13 52 48 00 129 69 TEst number 234 from Lisa to FW CNMI On and MTSMS there ...

Страница 31: ...ksdoiuj June21 sdjshjkds 12245 CMGL 15 REC UNREAD 9132354027 12 06 2 1 13 52 48 00 129 69 TEst number 234 from Lisa to FW CNMI On and MTSMS there Jun21 1352 A new reading using the CMGL command shows the message in memory allocation index 11 has been deleted AT CMGD CMGD 0 1 2 12 13 14 15 0 4 OK CMGD reports back the indexes of memory allocations available to use this same command Since the messag...

Страница 32: ...the module AT CMGD CMGD CMGD 2 12 13 14 15 0 4 OK CMGD shows the indexes of available memory allocations that are currently storing messages 12 4Deleting all messages Command Response Description AT CMEE 2 OK Set verbose error messages AT CMGL all CMGL 0 REC UNREAD 9132354027 12 06 2 8 15 25 25 00 129 14 test number 42 CMGL 1 REC UNREAD 9132354027 12 06 2 9 10 50 28 00 129 29 test number 634 June2...

Страница 33: ... return number two Jun25 1601 CMGL 21 REC UNREAD 9132354027 12 06 2 7 17 38 22 00 12 9 29 test number 5254 Jun27 1755 CMGL 5 STO SENT 8582286247 00 00 00 00 00 00 00 129 8 8 People packing seems a trip is on the way Weather should improve this weekend CMGL 7 STO SENT 8582286247 00 00 00 00 00 00 00 129 6 2 ANOTHER MESSAGE BEING SAVED FOR TESTING PURPOSES CMGL 3 STO UNSENT 8582286247 00 00 0 0 00 0...

Страница 34: ... Response Description AT CMEE 2 OK Set verbose error messages AT CMGS 8582286247 CR Enter the AT command CMGS followed by the Destination address within quotation marks afterwards press the Enter key The sign should prompt to start entering the text message TEST NUMBER 10045 Ctrl Z CMGS 1 OK Once entered the text message enter Ctrl Z to send it 12 6Storing an SMS message Command Response Descripti...

Страница 35: ...REC READ 8582512345 12 06 15 15 58 25 00 129 15 Test number one CMGL 2 REC UNREAD 8582512345 12 06 1 5 17 01 08 00 129 15 Test number two CMGL 3 STO UNSENT 8582512345 00 00 0 0 00 00 00 00 129 45 Good Morning San Diego It is Friday CMGL 4 STO UNSENT 8582512345 00 00 0 0 00 00 00 00 129 59 Traffic is heavy in Sunny SD Just wait til it gets better CMGL 5 STO UNSENT 8582512345 00 00 0 0 00 00 00 00 1...

Страница 36: ...00 129 45 Good Morning San Diego It is Friday CMGL 4 STO UNSENT 8582512345 00 00 0 0 00 00 00 00 129 59 Traffic is heavy in Sunny SD Just wait til it gets better CMGL 5 STO SENT 8582212345 00 00 00 00 00 00 00 129 88 People packing seems a trip is on the way CMGL 6 STO UNSENT 8582512345 00 00 0 0 00 00 00 00 129 70 SAVING MESSAGE IN THE MEMORY ALLOCATION 100 INDEX 7 CMGL 7 STO UNSENT 8582512345 00...

Страница 37: ...minal Equipment DUT Device Under Test EDGE Enhanced Data rates for GSM Evolution ESN Electronic Serial Number FOTA Firmware Over The Air FTP File Transfer Protocol GPIO General Purpose Input Output GPRS General Packet Radio Service GPS Global Positioning System GSM Global System for Mobile Communication HA Home Agent HSDPA High Speed Downlink Packet Access HTTP Hyper Text Transfer Protocol I2 C In...

Страница 38: ... Data Processing PIN Personal Identification Number PRL Preferred Roaming List RAT Radio Access Technology RTS Request To Send SAT SIM Application Toolkit SID System IDentification SIM Subscriber Identification Module SMS Short Message Service SMTP Simple Mail Transfer Protocol SV Satellite in View TA Timing Advance TCP Transmission Control Protocol TTFF Time To First Fix UDP User Datagram Protoco...

Страница 39: ...e called when not allowed or bad parameters 24576 Supplied buffer is too small 24577 Badly formatted input 24586 Client aborted 24591 Persistent storage read error 24592 Persistent storage write error 24593 Authentication failure 24598 Tree open error 24599 Tree commit error 25346 General fatal transport error 25347 General non fatal transport error 25604 User Cancelled update or download 25605 Co...

Страница 40: ...e Subscriber Identity Module Mobile Equipment SIM ME Interface Release 1999 4 3GPP TS 11 14 Specification of the SIM Application Toolkit SAT for the Subscriber Identity Module Mobile Equipment SIM ME Interface Release 1999 5 ISO IEC 7816 3 Identification cards Integrated circuit cards Part 3 Cards with contacts Electronic signals and transmission protocols For regular updates to u blox documentati...

Страница 41: ...m Asia Australia Pacific u blox Singapore Pte Ltd Phone 65 6734 3811 E mail info_ap u blox com Support support_ap u blox com Regional Office China Beijing Phone 86 10 68 133 545 E mail info_cn u blox com Support support_cn u blox com Regional Office China Shenzhen Phone 86 755 8627 1083 E mail info_cn u blox com Support support_cn u blox com Regional Office India Phone 91 959 1302 450 E mail info_...

Отзывы: