SIM800C-DS_Application Note _V1.00

Similar documents
UART. SIM5360 UART Multiplexer Application Note. SIM5360_UART_Multiplexer_Application_Note_V

SIMCom_3G_CSD_Application Note_V1.00

Application Note. SIM7100_SMS_Application_Note_V

SIM7100_SIM7500_SIM7600 LBS_Application Note_V1.00

SIM7000 Series_HTTP_Application Note_V1.01

AT Commands Set SIM20_ATC_V1.02

SIM7X00 Series_SAT_Application Note_V1.00

SIM5360 Network Cell Info Application Note

SIM900 AMR File Playing Application Note_V1.01

SIM7000 Series_NTP_Application Note_V1.00

SIMCom_3G_MQTT_Application Note_V1.00

SIMCom_3G_HTTP_Application Note_V1.00

SIM7000 Series_PING_Application Note_V1.00

SIMCom_3G_Linux_Driver_Applica tion Note_V1.00

SIM7100 Network Cell Info Application Note

UART Application Note

HTTP Application Note

Delta Package Update Application Note

Audio LINE-IN input application. AN_SIM900_Audio LINE-IN Input_V1.01

UART Dload Application Note

SIM5360_GPIO_Demo Note_V1.00

SIM20_AT Command Manual_V1.04

GSM QuecCell AT Commands Manual

SIMCOM WCDMA Wireless Module. xx_sleep_mode_application_note

UART Application Note. SIM5XXX UART Application Note 1

QuecLocator AT Commands Manual

SMS Application notes AN_SMS_V1.01

GSM. Quectel Cellular Engine. Firmware Update Application Note. Fw_Update_Application_Note_V3.1

SIM900_DTMF EmbeddedAT Application Note_V1.01

SIM7X00 Series_TCPIP_Application Note_V1.00

SIM5360_ECALL_Application Note_V0.04

SIM800H&L_ Secondary Reflow SMT _Guidelines_V1.00

SIM7000 Series_FTP_Application Note_V1.00

EC2x&EG9x&EM05 PPP Application Note

SIM7100 TTS Application Note

BG96 PPP Application Note

SIM900_Multiplexer Manual_Application Note_V1.3

Smart Machine Smart Decision. SIM900_IP_Application Note_V1.07 1

SIMCom_3G_PCM_Application Note_V1.04

Quectel Cellular Engine

TCP/IP Application Note

GSM Recording AT Commands Manual

Quectel Cellular Engine

GPS Application Note

Document Name: GPRS Startup. GPRS Startup_V01.00 Status: Created

SSL Application Note. SIM5360_SSL_Application_Note_V0.01

Application Note. SIM7100_MMS_Application_Note_V

SIM800 Series_FS_Application Note_V1.01

SIMCom_SIM800H_EAT_flash_Tool _User Manual_V1.01

WCDMA UGxx PPP Application Note

SCOPE. SMS Application notes

SIM5350_EVM_User_Guide _V1.00

Firmware Upgrade Tool Lite User Guide. Firmware_Upgrade_Tool_Lite_V1.1

WCDMA Audio Player Application Note

Development Kit Manual SIM900D-EVB_UGD_V1.01

GSM. Quectel Cellular Engine. GSM TCPIP Recommended Process. GSM_TCPIP_Recommended_. Process_V1.2

SIM28_EVB kit_user Guide_V1.02

TCP/IP APP_V1.02 Status: Release

Gemalto EHS6T-USB Terminal Starter Kit. Getting Started Guide

Cinterion BGS2T (RS232) Terminal Starter Kit. Getting Started Guide

ETSI TS V1.1.1 ( )

SIM800H&L_EVM_User Guide _V1.00

Quectel Cellular Engine

Smart Machine Smart Decision. R700_User Guide_V1.05 1

Quectel Cellular Engine

GTM-201 Series FAQ Ver1.1. GTM-201 Series FAQ ICP DAS CO., LTD.

LTE GLOBAL PHONE Version: 0.1 Apr. 2016

AT commands APLICATION NOTE

This document is available at GPRS Startup. User Guide. Preliminary

How to use the SIM7100 Module in Linux

How to use Linux driver

SIM7100 GPS Application Note

EC20 MMS AT Commands Manual

Telit GM862-QUAD/QUAD-PY. Software User Guide. Telit Communications S.p.a vv , Rev. ISSUE#0-27/09/2005

MC35 Siemens Cellular Engine

Development Kit Manual SIM305-EVB_UGD_V1.01

SIMCOM WCDMA Wireless Module SIM5xxx PCM Application Note

GSM Audio Player Application Note

BC95-G&BC68 MQTT Application Note

SIM5360 BMP Demo Basic Datanet Working Note V1.00

EC20 SSL AT Commands Manual

BG96 SSL AT Commands Manual

VL3000 Manager Tool User Guide V1.05

Development Kit Manual. SIM908 EVB kit_user Guide_V1.00

Application Note basic Voice and SMS Connection with SIM900 rev03

Serial interface configuration. Syntax of the standard AT commands

QUICK START GUIDE. M40 Series Cellular modem. Version 1.0

AT Command Interface Specification

GM862-GPS Software User Guide GM862-GPS Software User Guide 1vv Rev. 4-24/01/07

ON THE USE OF AT COMMANDS FOR CONTROLING THE MOBILE PHONE WITH MICROCONTROLLER LABORATORY EXERCISE

AT Command Addendum and Getting Started Guide for LAT1 Devices. Telit Firmware x3 Reference Guide.

SIM800H_ Secondary Reflow SMT Guidelines _V1.01

M95 Dual SIM Application Notes

SYNOPSIS PROJECT TITLE : GSM BASED E-NOTICE BOARD

(SMTP/POP3) Application Note

UC20 Android RIL Driver User Guide

TCPIP Application Note for WCDMA Solution V3.2

LTE AT commands for Test automation

GSM Interfacing Board

Development Kit Manual. SIM5360_EVB_User Guide_V1.02

Transcription:

SIM800C-DS_Application Note _V1.00

Document Title: SIM800C-DS Application Note Version: 1.00 Date: Status: Document Control ID: Release SIM800C-DS_Application Note_V1.00 General Notes SIMCom offers this information as a service to its customers, to support application and engineering efforts that use the products designed by SIMCom. The information provided is based upon requirements specifically provided to SIMCom by the customers. SIMCom has not undertaken any independent search for additional relevant information, including any information that may be in the customer s possession. Furthermore, system validation of this product designed by SIMCom within a larger electronic system remains the responsibility of the customer or the customer s system integrator. All specifications supplied herein are subject to change. Copyright This document contains proprietary technical information which is the property of Shanghai SIMCom Wireless Solutions Ltd, copying of this document and giving it to others and the using or communication of the contents thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All rights reserved in the event of grant of a patent or the registration of a utility model or design. All specification supplied herein are subject to change without notice at any time. Copyright Shanghai SIMCom Wireless Solutions Ltd. 2015 SIM800-DS_Application Note_V1.00 3

Contents 1. Introduction...6 2. New AT Command...7 2.1. AT+CDSDS Select default SIM...7 2.2. AT+SIMEIDS Modify the second SIM card s IMEI...8 2.3. AT+CSQDS Query the signal quality of both SIM cards...8 2.4. AT+CREGDS Query the network registration status of both SIM cards.9 2.5. AT+CGREGDS Query the GPRS registration status of both SIM cards10 2.6. AT+CGATTDS Query the GPRS attachment status of both SIM cards.11 3. URC Rule...12 3.1. URC may appended with DS...12 4. SIM800C-DS Use Cases...14 4.1. Outgoing call on second SIM card...14 4.2. Incoming call on second SIM card...14 4.3. Some Special Cases...15 5. Different AT Commands...16 5.1. AT+CMGS...16 5.2. AT+CMSS...16 5.3. AT+CPMS...16 Appendix...17 A. Related Documents...17 B. Terms and Abbreviations...17 SIM800-DS_Application Note_V1.00 4

Version History Date Version Description of change Author 2015-7-30 1.00 Original Yong.lu Scope This document describes what SIM800C-DS is and how to start with SIM800C-DS: the totally new module which supports Dual SIM Dual Standby function. SIM800-DS_Application Note_V1.00 5

1. Introduction SIM800C-DS supports Dual SIM Dual Standby function. There is only one modem (one BB/one RF) managing two SIM cards at the same time. The network behaviors of the two SIM cards are totally independent. The Idle Services on both SIM cards are in parallel (paging reception, reselection...) which means that the two SIM cards can register to different network operators. And cell selection/cell reselection/paging monitoring can be observed on the two SIM cards. Also module is able to do CS/PS calls on any of the two SIM cards. But only one connection (CS/PS) at a time AND no activity on other SIM is possible (either idle or not connected). The main difference between SIM800C and SIM800C-DS: 1) Protocol stack is duplicated on SIM800C-DS. 2) New module creation for hardware SIM swap management on SIM800C-DS: DSCV. 3) New AT commands to change default SIM card: AT+CDSDS. 4) New AT commands to write IMEI for the second SIM card: AT+SIMEIDS. 5) Some URC on the SIM card inserted to the second slot are appended with DS to indicate TE that this URC is from the second SIM card. SIM800-DS_Application Note_V1.00 6

2. New AT Command Command AT+CDSDS AT+SIMEIDS AT+CSQDS AT+CREGDS AT+CGREGDS AT+CGATTDS Description Select Default SIM Modify the second SIM card s IMEI Query the signal quality of both SIM cards Query the network registration status of both SIM cards Query the GPRS registration status of both SIM cards Query the GPRS attachment status of both SIM cards 2.1. AT+CDSDS Select default SIM AT+CDSDS Select Default SIM Test Command AT+CDSDS=? +CDSDS: (list of supported <SIM>s) Read Command AT+CDSDS? Parameter See Write Command +CDSDS: <default SIM card>,<the status of first SIM card>,<the status of second SIM card> Write Command AT+CDSDS=<SI M> Reference Parameters <default SIM card> SIM1 default SIM card is the first SIM card SIM2 default SIM card is the second SIM card <the status of first SIM card> 0 The first SIM card is removed. 1 The first SIM card is inserted. <the status of second SIM card> 0 The second SIM card is removed. 1 The second SIM card is inserted. Select the default SIM card. Parameters <SIM> 1 select the first SIM card 2 select the second SIM card Note SIM800-DS_Application Note_V1.00 7

2.2. AT+SIMEIDS Modify the second SIM card s IMEI AT+SIMEIDS Read Command AT+SIMEIDS? Modify the second SIM card s IMEI +SIMEIDS:<IMEI> Parameters See Write Command Write Command AT+SIMEIDS=<I MEI> Reference Write the second SIM card s IMEI. Parameters <IMEI> 14 or 15 digits IMEI. Note 2.3. AT+CSQDS Query the signal quality of both SIM cards AT+CSQDS Execution Command AT+CSQDS Query the signal quality of both SIM cards +CSQ: <rssi>,<ber> +CSQDS: <rssi>,<ber> If error is related to ME functionality: +CME ERROR: <err> Execution Command returns received signal strength indication <rssi> and channel bit error rate <ber> from the ME. Test Command returns values supported by the TA. Parameters <rssi> 0-115 dbm or less 1-111 dbm 2...30-110... -54 dbm 31-52 dbm or greater 99 not known or not detectable <ber> (in percent): 0...7 As RXQUAL values in the table in GSM 05.08 [20] subclause 7.2.4 99 Not known or not detectable SIM800-DS_Application Note_V1.00 8

Reference 3GPP TS 27.007 [13] Note This AT command is not controlled by AT+CDSDS. +CSQ: Always return the signal quality of SIM1. +CSQDS: Always return the signal quality of SIM2. 2.4. AT+CREGDS Query the network registration status of both SIM cards AT+CREGDS Read Command AT+CREGDS? Query the network registration status of both SIM cards TA returns the status of result code presentation and an integer <stat> which shows whether the network has currently indicated the registration of the ME. Location information elements <lac> and <ci> are returned only when <n>=2 and ME is registered in the network. +CREG: <n>,<stat>[,<lac>,<ci>] +CREGDS: <n>,<stat>[,<lac>,<ci>] If error is related to ME functionality: +CME ERROR: <err> Parameters <n> 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code +CREG: <stat> 2 Enable network registration unsolicited result code with location information +CREG: <stat>[,<lac>,<ci>] <stat> 0 Not registered, ME is not currently searching a new operator to register to 1 Registered, home network 2 Not registered, but ME is currently searching a new operator to register to 3 Registration denied 4 Unknown 5 Registered, roaming <lac> String type (string should be included in quotation marks); two byte location area code in hexadecimal format <ci> String type (string should be included in quotation marks); two byte cell ID in hexadecimal format Reference 3GPP TS 27.007 [13] Note This AT command is not controlled by AT+CDSDS. SIM800-DS_Application Note_V1.00 9

+CREG: Always return the network registration status of SIM1. +CREGDS: Always return the network registration status of SIM2. 2.5. AT+CGREGDS Query the GPRS registration status of both SIM cards AT+CGREGDS Read Command AT+CGREGDS? Query the GPRS registration status of both SIM cards +CGREG: <n>,<stat>[,<lac>,<ci>] +CGREGDS: <n>,<stat>[,<lac>,<ci>] If error is related to ME functionality: +CME ERROR: <err> Reference 3GPP TS 27.007 [13] Parameters <n> 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code +CGREG: <stat> 2 Enable network registration and location information unsolicited result code +CGREG: <stat>[,<lac>,<ci>] <stat> 0 Not registered, ME is not currently searching an operator to register to. The GPRS service is disabled, the UE is allowed to attach for GPRS if requested by the user. 1 Registered, home network. 2 Not registered, but ME is currently trying to attach or searching an operator to register to. The GPRS service is enabled, but an allowable PLMN is currently not available. The UE will start a GPRS attach as soon as an allowable PLMN is available. 3 Registration denied The GPRS service is disabled, the UE is not allowed to attach for GPRS if it is requested by the user. 4 Unknown 5 Registered, roaming <lac> String type (string should be included in quotation marks); two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in decimal) <ci> String type (string should be included in quotation marks); two bytes cell ID in hexadecimal format Note This AT command is not controlled by AT+CDSDS. SIM800-DS_Application Note_V1.00 10

+CGREG: Always return GPRS registration status of SIM1. Smart Machine Smart Decision +CGREGDS: Always return GPRS registration status of SIM2. 2.6. AT+CGATTDS Query the GPRS attachment status of both SIM cards AT+CGATTDS Read Command AT+CGATTDS? Query the GPRS attachment status of both SIM cards +CGATT: <state> +CGATTDS: <state> Parameter <state> Indicates the state of GPRS attachment 0 Detached 1 Attached Other values are reserved Reference Note This AT command is not controlled by AT+CDSDS. +CGATT: Always return the GPRS attachment status of SIM1. +CGATTDS: Always return the GPRS attachment status of SIM2. SIM800-DS_Application Note_V1.00 11

3. URC Rule In SIM800C-DS, Some URCs related to the second SIM card (inserted to SIM slot 2) will be appended with DS. For example: Incoming call notification from SIM 1: RING Incoming call notification from SIM 2: RINGDS But there is no DS appended if the URC is reported by AT read command or AT test command. For example: AT+CDSDS=1 AT+CDSDS? +CDSDS: SIM1,1,1 AT+CPIN? +CPIN: READY AT+CDSDS=2 AT+CDSDS? +CDSDS: SIM2,1,1 AT+CPIN? +CPIN: READY 3.1. URC may appended with DS Here is a list shows which URC may be appended with DS : URC on SIM slot 1 URC on SIM slot 2 AT Commands According to GSM07.07 RING MO RING MO CONNECTED +CCWA: +CLCC: RINGDS MO RINGDS MO CONNECTEDDS +CCWADS: +CLCCDS: SIM800-DS_Application Note_V1.00 12

AT Commands According to GSM07.05 AT Commands for SIM Application Toolkit AT Commands Special for SIMCom +CLIP: +COLP: +CPIN: +CR: +CRING: +CREG: +CGREG: +CSSI: +CSSU: +CMTI: +CMT: +CDS: +STKPCI: +CSMINS: +CDRIND: +CSQN: Call Ready +CLIPDS: +COLPDS: +CPINDS: +CRDS: +CRINGDS +CREGDS: +CGREGDS: +CSSIDS: +CSSUDS: +CMTIDS: +CMTDS: +CDSDS: +STKPCIDS: +CSMINSDS: +CDRINDDS: +CSQNDS: Call Ready DS SIM800-DS_Application Note_V1.00 13

4. SIM800C-DS Use Cases 4.1. Outgoing call on second SIM card Outgoing call on second SIM card AT+CDSDS? +CDSDS: SIM1,1,1 Query the current SIM card in use. AT+CDSDS=2 AT+CDSDS? +CDSDS: SIM2,1,1 Select SIM card in SIM slot 2 Query the current SIM card in use to make sure the SIM resection is ok. ATD10086; AT+CLCC +CLCC: 1,0,0,0,0,"10086",129,"" Dial a number. ATH Hang up the Call 4.2. Incoming call on second SIM card Incoming call on second SIM card AT+CLIP=1 AT+CDSDS? +CDSDS: SIM1,1,1 Enable CLIP urc Query the current SIM card in use. RINGDS +CLIPDS: "10086",129,"",,"",0 AT+CDSDS=2 Select SIM card in SIM slot 2 SIM800-DS_Application Note_V1.00 14

AT+CDSDS? +CDSDS: SIM2,1,1 Query the current SIM card in use to make sure the SIM resection is ok. ATA AT+CLCC +CLCC: 1,0,0,0,0,"10086",129,"" Answer the call ATH Hang up the Call 4.3. Some Special Cases Some special cases: 1) Module can not respond to the call dialed to SIM2 if SIM1 is in calling process. 2) Module can not dial another call out with SIM2 if SIM1 is in calling process. 3) Module can not send out a SMS with SIM2 if SIM1 is in calling process. SIM800-DS_Application Note_V1.00 15

5. Different AT Commands 5.1. AT+CMGS SIM800C-DS does not support sending message by phonebook index or name. 5.2. AT+CMSS SIM800C-DS does not support sending message from storage. 5.3. AT+CPMS SIM800C-DS AT+CPMS=? +CPMS: ("SM","ME","MT"),("SM","ME","MT"),( "SM","ME","MT") Difference SIM800 AT+CPMS=? +CPMS: ("SM","ME","SM_P","ME_P","MT"),("S M","ME","SM_P","ME_P","MT"),("SM","ME","SM_P","ME_P","MT") SIM800C-DS supports three modes: "SM","ME","MT". SIM800 supports "SM","ME","SM_P","ME_P","MT" modes. SIM800-DS_Application Note_V1.00 16

Appendix A. Related Documents SN Document name Remark [1] SIM800 Series_AT Command Manual [2] SIM800C-DS_Hardware Design B. Terms and Abbreviations Abbreviations DS DSDS BB RF CS PS IMEI URC Description Dual SIM Dual SIM Dual Standby Baseband Radio Frequency Circuit Switch Packet Switch International Mobile Equipment Identity Unsolicited Result Code SIM800-DS_Application Note_V1.00 17

Contact us: Shanghai SIMCom Wireless Solutions Ltd. Add: Building A, SIM Technology Building, No.633 Jinzhong Road, Changning District, Shanghai, P. R. China 200335 Tel: +86 21 3252 3300 Fax: +86 21 3252 3301 URL: www.sim.com/wm SIM800-DS_Application Note_V1.00 18