AT Commands Examples - U-blox

3y ago
64 Views
6 Downloads
2.87 MB
153 Pages
Last View : 11d ago
Last Download : 3m ago
Upload by : Dahlia Ryals
Transcription

AT Commands ExamplesExamples for u-blox cellular modulesApplication NoteAbstractThis document provides detailed examples of how to use AT commands with u-blox cellularmodules.www.u-blox.comUBX-13001820 - R13

AT Commands Examples - Application NoteDocument InformationTitleAT Commands ExamplesSubtitleExamples for u-blox cellular modulesDocument typeApplication NoteDocument numberUBX-13001820Revision and dateR1327-May-2019Disclosure RestrictionThis document applies to the following products:Product nameLEON-G1 seriesSARA-G3 seriesSARA-G4 seriesLISA-U2 seriesSARA-U2 seriesTOBY-R2 seriesLARA-R2 seriesTOBY-L2 seriesMPCI-L2 seriesu-blox or third parties may hold intellectual property rights in the products, names, logos and designs included in thisdocument. Copying, reproduction, modification or disclosure to third parties of this document or any part thereof is onlypermitted with the express written permission of u-blox.The information contained herein is provided “as is” and u-blox assumes no liability for its use. No warranty, either express orimplied, is given, including but not limited to, with respect to the accuracy, correctness, reliability and fitness for a particularpurpose of the information. This document may be revised by u-blox at any time without notice. For the most recentdocuments, visit www.u-blox.com.Copyright u-blox AG.UBX-13001820 - R13Page 2 of 153

AT Commands Examples - Application NoteContentsDocument Information . 2Contents . 31Introduction . 82AT command response parser . 92.1Handle AT command response . 92.2 Handle unsolicited result code . 102.3 Best practices . 113Parameters storing . 124Network registration and configuration . 134.1Steps for registering the module with a cellular network. 134.1.1Preliminary operations. 134.1.2Network registration: GSM module . 144.1.3Network registration: UMTS module . 154.1.4Network registration: LTE module . 194.1.5Network operator configuration through UMNOCONF AT command .214.1.6PLMN list extension UMNOPLMN: LTE module . 234.1.7Forbidden PLMN list management . 234.1.8Preferred PLMN list selection . 244.2 Network registration flow-chart . 264.2.1Recommendations on registration failure handling. 284.3 Simultaneous support of data and voice services . 294.4 Configurations for optimized power consumption . 295PS data connection . 325.1External PDP context handling . 325.1.1External PDP context definition and activation . 325.2 Secondary PDP context definition and activation in ROUTER mode . 375.3 Internal PDP context activation .385.3.1PDP contexts activation on Verizon Mobile Network Operator . 395.4 Context deactivation . 415.4.1Context deactivation by the network . 415.4.2Context deactivation by the module . 415.5 Using sockets on an already activated PDP context . 415.5.1PDP context activation by means of UPSDA, impact of PDP type on address. 445.6 Management of counters of sent and received PSD data. 455.7 DoCoMo PS PUSH context manual activation . 465.8 DoCoMo PS PUSH context manual reject . 475.9 Data connection management . 475.9.1Network policy: no IP connectivity on the default bearer .485.9.2Network policy: only one bearer for each APN can be activated . 495.9.3Network policy: more than one bearer with the same APN can be activated .505.10 Network connectivity in ROUTER mode . 525.10.1 2G/3G case . 52UBX-13001820 - R13Page 3 of 153

AT Commands Examples - Application Note5.10.2 4G case . 525.10.3 Set up the connection on Windows 7 .535.11 Network connectivity (BRIDGE mode) . 565.11.12G/3G case . 565.11.2 4G case . 565.11.3 Set up the connection on Windows 7 . 565.12 Dial-up . 635.12.1 Generic dial-up . 63AT UUSBCONF? . 635.12.2 Local dial-up . 645.13 Data context active after boot . 645.13.1 TOBY-L2 pseudo code . 646IP Multimedia Subsystem (IMS) . 656.1How to set IMS APN. 656.2 How to disable/enable IMS client . 656.3 IMS client registration . 666.4 VoLTE call . 667Speech calls . 697.1Voice call monitoring . 697.1.1Quality of the radio link . 697.1.2Status of the calls. 697.2 Conference calls . 708Audio interface and parameters . 729Dynamic DNS AT command .7410 TCP/IP AT commands . 7510.1 Socket connect . 7510.2 Socket listening . 7510.3 Socket write . 7610.3.1 Binary mode . 7610.3.2 Base syntax . 7610.3.3 Queue FULL . 7710.3.4 GSM network coverage lost . 7710.4 Socket operations with "Keep Alive" option. 7910.5 Socket read . 7910.6 Socket state . 8110.7 Socket close . 8210.8 Direct link . 8210.8.1 Enter and exit from Direct link mode . 8210.8.2 Closing a connection .8310.8.3 Connection closed by remote host.8310.9 Socket Always On .8410.9.1 Client configuration .8410.9.2 Client operation .8410.9.3 Server configuration .84UBX-13001820 - R13Page 4 of 153

AT Commands Examples - Application Note10.9.4 Server operation.8510.10IP Change notification.8510.11 Verizon socket configuration.8610.12AT&T socket configuration. 8711 UDP/IP AT commands . 8811.1 Socket write ( USOST) .8811.2 Socket read ( USORF) .8811.3 Socket write ( USOWR) .8911.4 Socket read ( USORD) .9012 FTP AT commands . 9112.1 Direct link . 9212.1.1Retrieve a file from FTP server . 9212.1.2 Aborting retrieve file request . 9312.1.3 Store a file on FTP server . 9312.1.4 About " " escape sequence usage . 9412.2 Using secure option . 9513 SMTP AT commands . 9614 ODIS implementation . 9714.1 OMA-DM client initialization . 9714.2 ODIS nodes .9814.3 Module FW update notification . 9914.4 OMA-DM client activity reporting . 10015 HTTP AT commands . 10115.1 Using secure option . 10215.1.1Importing a X.509 certificate . 10215.1.2 Examples about certificate validation levels . 10615.1.3 Data security and integrity . 10915.2 HTTP POST . 11015.3 HTTP cookies . 11116 Network jamming detection AT commands .11216.1 Jamming detection threshold and number of carriers evaluation . 11216.1.1Example 1: 2G threshold and number of carriers evaluation . 11316.2 Jamming detection in 2G network . 11316.2.1 Example 1: all the available 2G carriers jammed . 11316.3 Jamming detection in 3G network . 11416.3.1 Example 1: all the available 3G carriers jammed . 11416.4 Jamming detection in 2G/3G network . 11416.4.1 Example 1: all the available 2G and 3G carriers jammed . 11416.5 Advanced jamming detection in 2G network . 11516.5.1 Case 1: all the available 2G carriers jammed. 11516.5.2 Case 2: all the available 2G carriers jammed; selected PLMN not retrieved from IMSI . 11516.5.3 Case 3: not jammed 2G carrier(s) are not part of the selected PLMN . 11617 Cell lock AT comm

AT Commands Examples - Application Note UBX-13001820 - R13 Page 2 of 153 Document Information Title AT Commands Examples Subtitle Examples for u-blox cellular modules Document type Application Note Document number UBX-13001820 Revision and date R13 27-May-2019 Disclosure Restriction This document applies to the following products:

Related Documents:

u-blox 8 / u-blox M8 Receiver Description - Manual Document Information Title u-blox 8 / u-blox M8 Receiver Description Subtitle Including Protocol Specification v15-20.30,22-23.01 Document type Manual Document number UBX-13003221 Revision and date R17 (5321fe3) 17 May 2019 Document status

u-blox 8 / u-blox M8 Receiver Description - Manual Document Information Title u-blox 8 / u-blox M8 Receiver Description Subtitle Including Protocol Specification v15-20.30,22-23.01 Document type Manual Document number UBX-13003221 Revision and date R12 (c9f0122) 28 April 2017 Document status

u-blox 8 / u-blox M8 Receiver Description - Manual Document Information Title u-blox 8 / u-blox M8 Receiver Description Subtitle Including Protocol Specification v15-20.30,22-23.01 Document type Manual Document number UBX-13003221 Revision and date R16 (e581faf) 18 December 2018 Document status

To determine which u-blox product best meets your needs, see the product selector tables on the u-blox website www.u-blox.com. 1.2 Configuration The configuration settings can be modified using UBX protocol configuration messages; see the u-blox 8 / u-blox M8 Receiver Description Includ

u-blox AG Zürcherstrasse 68 8800 Thalwil Switzerland www.u-blox.com Phone 41 44 722 7444 Fax 41 44 722 7447 info@u-blox.com u-blox 5 NMEA, UBX Protocol Specification u

u-blox 6 GPS Modules . Data Sheet . 17.0 x 22.4 x 2.4mm. Abstract . Technical data sheet describing the cost effective, highperformance - u-blox 6 based LEA-6 series of GPS modules, that bringthe high performance of the u-blox 6 position engine to the industry standard LEA form fact

Conclusion 7 About the Authors 8 About u-blox 9 Anti-Jamming techniques in u-blox GPS receivers / White Paper Published by u-blox AG 2. Executive Summary A critical factor when selecting components for a GPS system is the receiver’s immunity

upper Key Stage 2 pupils to the Python programming language. The scheme intends to familiarise pupils with the Python programming environment and syntax, and equip pupils with the skills and knowledge to write simple programs. It is anticipated that pupils will have had prior experience of coding using a visual based programming language, such as Scratch or Kodu, and that this is likely to be .