Sim900 Atc English
Sim900 Atc English
Albert@2010.1
Hardware Platform
Software Platform
1) Platform;
2) Power off and RF reset;
3) Auto-bauding;
4) Embedded TCPIP protocol;
5) STK;
6) Error code;
7) Hardware flow control is closed in default,should be
opened by AT+IFC=2,2;
AT+CFUN=0,1
AT+CFUN=1,1
Note:<fun>supports mode 0,1 and 4. While RF could not be switched between mode
0 and mode 4.
SIM900 supports baud rate from 1200 bps to 115200 bps, also support auto-
bauding mode.
When power on under auto-bauding mode, the first letter of command should
be uppercase, such as “AT” or “At”, otherwise, module will not give any
recommendatory.
OK
AT+IPR?
+IPR: 0
OK
ATI
SIM900 R11.0
OK
AT+GSV // this command can show firmware version details
SIMCOM_Ltd
SIMCOM_SIM900
Revision:1137B01SIM900M32_ST
OK
SIM300
CIPMUX(10id)
1) CIPMUX mode;
2) DNS parser;
3) AT+CIPCLOSE=1;
4) AT+CIPSEND?
5) AT+CIPQSEND;AT+CIPACK
6) TCP SERVER Configuration (nothing to do with AT+CLPORT)
AT+CIPMUX=0 AT+CIPMUX=0
OK OK
AT+CIPMODE=0 // non-transparent mode AT+CIPMODE=1 // transparent mode
OK OK
AT+CIPSTART=“TCP","116.228.221.51","8011" AT+CIPSERVER=1,2200 // open
OK OK
CONNECT OK SERVER OK
AT+CIPSEND=5 // send data in fixed length REMOTE IP: 211.136.130.1
> 0123456789[ctrl+z] // send data by control code HELLO SIM900 // data from remote client
SEND OK AT+CIPCLOSE=1 // close socket forcibly without ACK
AT+CIPACK
CLOSE OK
+CIPACK: 15, 15, 0
OK
Step 1
OK
AT+CIPMODE=0 // this command is invalid under CIPMUX=1 mode
OK
AT+CIICR
OK
AT+CIFSR
AT+CIPSERVER=1,2200
OK
SERVER OK
AT+CIPSTART=1,"TCP","116.228.221.51","8011"
OK
1, CONNECT OK
AT+CIPSTART=2,"UDP","116.228.221.51","9015"
OK
2, CONNECT OK
AT+CIPSEND=1,5 // send data in fixed length
> HELLO
1, SEND OK
AT+CIPSEND=2 // here, “2” means index 2 connection, not data length
AT+CIPACK=2 AT+CIPSEND?
OK +CIPSEND: 1,1380
AT+CIPACK=1
+CIPSEND: 2,1460
+CIPACK: 5, 5, 0 // TCP
+CIPSEND: 3,0
OK
AT+CIPSEND=2,10 +CIPSEND: 4,0
OK OK
AT+CIPSTATUS
OK
STATE: IP PROCESSING
S: 0,0,"2200""LISTENING“
C: 0,0,"TCP","211.136.130.129","2020","CONNECTED"
C: 1,0,"TCP","116.228.221.51","8011","CONNECTED"
C: 2,0,"UDP","116.228.221.51","9015","CONNECTED"
C: 3,,"","","","INITIAL"
C: 4,,"","","","INITIAL"
C: 5,,"","","","INITIAL"
C: 6,,"","","","INITIAL"
C: 7,,"","","","INITIAL“
AT+CIPCLOSE=0
0, CLOSE OK
AT+CIPMUX=0
OK
AT+CIPMODE=0
OK
AT+CIPSTART="TCP","116.228.221.51","8011"
OK
CONNECT OK
AT+CIPQSEND=1
OK
AT+CIPSEND=5
> HELLO
DATA ACCEPT:5
AT+CIPSEND=10
> 0123456789
DATA ACCEPT:10 // here, data just sent to module buffer successfully
AT+CIPACK
+CIPACK: 15, 15, 0 // you should check the status of data sent from outside
OK
AT+CIPSTART="TCP","WWW.YAHOO.COM",80
AT+CIPMUX=0
OK
OK
AT+CIPMODE=0 CONNECT OK
AT+CIPSEND=5
OK
AT+CSTT > HELLO
DATA ACCEPT:5
OK AT+CIPACK
AT+CIICR
+CIPACK: 5, 5, 0
OK
AT+CIFSR OK
AT+CIPQSEND=0
10.77.87.14
AT+CDNSGIP="WWW.SIM.COM" OK
AT+CIPSEND=10
OK
> 0123456789
+CDNSGIP: 1,"WWW.SIM.COM","58.32.231.146" SEND OK
AT*PSSTKI=<mode>
AT*PSSTK=<response type>,[<parameter1>,…<parametern>]
Note, different SIM cards maybe have different STK menu items. Let’s view what menu
this SIM card has in my cell phone platform.
etisalat
etisalat
11 Balance
Balance or
or Bill
Bill
11 My
My Account
Account 22 Balance
Balance Refill
Refill
33 Balance
Balance Transfer
Transfer
22 Services
Services
33 Emergency
Emergency 11 Police
Police
44 Customer
Customer Care
Care 22 Ambulance
Ambulance
33 Fire
Fire Brigade
Brigade
55 ???
???
Note, the fifth menu item is present with Arabic alphabet, my phone does not support this code.
SIMCom All right Reserved 20
Ok, let’s view these menu on SIM900 platform.
OK
OK
OK
OK
OK
OK
OK
OK
OK
AT*PSSTK="COMMAND REJECTED",1,16
OK