Sie sind auf Seite 1von 4

GSM

H SU PA

Application NoteGPRS TCP client using SIM900 rev01


S SM
GPRS

HSDPA

E DG E

E IC VO
DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever.

This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions. COMPILED BY EMAIL MOBILE

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za

3G APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE SIM900 R11.00 NETWORK INFO IS BASED ON PUBLIC NETWORK SPECIFIC APN / GPRS TESTS ON PREPAID SIMS ONLY WORK IN THE SAME NETWORK CELL / GPRS AVAILABILITY IS NETWORK DEPENDENT / WE OFFER A NON GUARANTEED TEST FACILITY / NETWORK ABUSE WILL RESULT IN YOUR DEVICES BEING PURGED BY THE SERVICE PROVIDERS MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275 ADDITIONAL NOTES

GSM

H SU PA

Application NoteGPRS TCP client using SIM900 rev01


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE SIM900 R11.00 NETWORK INFO IS BASED ON PUBLIC NETWORK SPECIFIC APN / GPRS TESTS ON PREPAID SIMS ONLY WORK IN THE SAME NETWORK CELL / GPRS AVAILABILITY IS NETWORK DEPENDENT / WE OFFER A NON GUARANTEED TEST FACILITY / NETWORK ABUSE WILL RESULT IN YOUR DEVICES BEING PURGED BY THE SERVICE PROVIDERS MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages

for any reason whatsoever. Virgin Mobile This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions. AT ATI ATE0 AT+GMR AT+GMI AT+GMM AT+GSN

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 1/3

3G
Name Vodacom MTN Cell-C

ADDITIONAL NOTES

COMPILED BY EMAIL MOBILE

TCP CONNECTIVITY MINIMUM REQUIREMENTS


Server to connect to, if set up as a client Domain Name or IP address for client to connect to SIM card with data services activated If you do not have a server, you will need two modules, one set up as server and one as client

SETTING THE DATA SERVICES ON THE SIM CARD


Insert the SIM card into any mobile handset Wait for Network Message -> You have inserted your SIM in a new Handset we will send your settings shortly Save these settings (approximately 3 settings) Remove the SIM from the handset You are now ready to start testing on the module

NETWORK APN DETAILS


APN Name Internet internet internet vdata None None None None Username None None None None FUNCTION Must return OK, use to check comms Identifies firmware revision Switches off the echo - 1 enables echo Identifies full firmware revision Identifies manufacturer Identifies module type, i.e. SIM900 Identifies module IMEI number Password

GENERAL ENQUIRIES
AT COMMAND

GSM

H SU PA

Application NoteGPRS TCP client using SIM900 rev01


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE SIM900 R11.00 NETWORK INFO IS BASED ON PUBLIC NETWORK SPECIFIC APN / GPRS TESTS ON PREPAID SIMS ONLY WORK IN THE SAME NETWORK CELL / GPRS AVAILABILITY IS NETWORK DEPENDENT / WE OFFER A NON GUARANTEED TEST FACILITY / NETWORK ABUSE WILL RESULT IN YOUR DEVICES BEING PURGED BY THE SERVICE PROVIDERS MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions.

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 2/3

3G
AT+CSCA? AT+CNUM? AT+CREG? AT+CSQ AT+GCAP AT+CMEE=2 AT&W AT&V AT&F ATE1 AT+CMGF=1 AT+CGATT? AT+CSQ AT+COPS? AT+CIPMUX=0

ADDITIONAL NOTES

COMPILED BY EMAIL MOBILE AT COMMAND

GENERAL ENQUIRIES CONTINUED


FUNCTION Checks the SMS service centre number Gives you the SIM telephone number (If an error occurs, number is not set on SIM card) Acknowledges that the SIM and modem are connected to the network Checks signal strength: 0 = -133dBm; 1 = -111dBm; 2-30 = -109 to 53dBm; 31 = -51dBm; 99 = No reception Services offered on modem ->GSM; FCLASS (Fax); +DS (data services) Changes error warnings from number codes to text Stores all user settings Checks the settings of the module Reset all settings to manufacturer defaults

SET UP THE MODULE


AT COMMAND AT+CPIN=XXXX AT+CSCS=GSM FUNCTION 1 - switch on echo; 0 - switch off echo Unlock the PIN number on the SIM card Sets text mode (0 sets Packet Data Mode) Sets GSM-character text mode Must return +CGATT:1 - indicates DATA is active (if not, then force GPRS -> AT+CGATT=1) Checks signal quality Checks network provider Switches off Multiplex mode - server does not work in MUX mode Set the command mode

AT+CIPMODE=0

GSM

H SU PA

Application NoteGPRS TCP client using SIM900 rev01


S SM
GPRS

HSDPA

E DG E

E IC VO

APPLICATION NOTE DETAILS


GSM DEVICE FIRMWARE SIM900 R11.00 NETWORK INFO IS BASED ON PUBLIC NETWORK SPECIFIC APN / GPRS TESTS ON PREPAID SIMS ONLY WORK IN THE SAME NETWORK CELL / GPRS AVAILABILITY IS NETWORK DEPENDENT / WE OFFER A NON GUARANTEED TEST FACILITY / NETWORK ABUSE WILL RESULT IN YOUR DEVICES BEING PURGED BY THE SERVICE PROVIDERS MARK COXEN MARK@OTTO.CO.ZA +27 82 888 6275

DISCLAIMER
This application note and any associated software is provided in an as-is condition. No warranties, whether expressed, implied or statutory, including, but not limited to implied warranties of merchantability and fitness for a particular purpose apply to this application note or associated software. Otto Wireless Solutions, SIMCom and Otto Marketing shall not in any circumstances, be liable for special, incidental or consequential damages for any reason whatsoever. This application note, and any associated software, or parts thereof, may not be reproduced or distributed without the explicit permission of Otto Wireless Solutions. AT+CIPSHUT

Tel: (011) 791 1033 / email: wireless@otto.co.za / url: www.otto.co.za Page 3/3

3G
AT+CIPSRIP=1 AT+CIICR AT-CIFSR AT+CIPSEND XXXXXXXXXXX

ADDITIONAL NOTES

COMPILED BY EMAIL MOBILE AT COMMAND AT+CIPCSGP=1,internet AT+CLPORT=TCP,2020 AT+CSTT=internet,,

TCP GPRS CONNECTION TO MACHINE


FUNCTION Defines GPRS connection, APN Define TCP connection and port for local device APN, user name and password Displays connecting device IP address Make the connection Gets the IP address of local module (must use, or it will return an error) Set the domain name or IP address and port, wait for CONNECT OK Must be STATE: IP STATUS for connection Data to be sent, use CTL-Z to send data

AT+CIPSTART=TCP,XXX.XXXX.XXX,XXXX AT+CIPSTATUS

TEST DATA TO SEND


AT COMMAND FUNCTION CTL-Z SEND OK is returned on success Disconnects the GPRS connection