TCPIP Application Note for WCDMA Solution V2.0



Similar documents
SIM800 Series_TCPIP_Application Note_V1.00

GSM. Quectel Cellular Engine. GSM TCPIP Application Notes GSM_TCPIP_AN_V1.1

SIMCom_3G_SSL_Application Note_V1.10

Quectel Cellular Engine

SIM300 FTP IMPLEMENATION. (Step by Step Approach)

Quectel Cellular Engine

GSM. Quectel Cellular Engine. HTTP Service AT Commands GSM_HTTP_ATC_V1.2

SIM800 Series_SSL_Application Note_V1.01

SSL (Secure Socket Layer)

Quectel Cellular Engine

Application Note 2. Using the TCPDIAL & TCPPERM Commands to Connect Two TransPort router Serial Interfaces Over TCP/IP.

SIM800 Series_IP_Application Note_V1.02

SIM808 V2.2.5 user manual V1.2. Electrodragon.com

Follow these steps to prepare the module and evaluation board for testing.

Revision: 002 Date: September Porting Guide From EdSoft V3.10 to WIPSoft V2.00

How To Use An Adh8012 Gsm Gprs Module With A Gsm (Gsm) Gpros (Gsp) Gpls (Geo) Gsp (Gpl) Gs

ADH8060/8066 GSM/GPRS Module

Product Introduction and Setup Examples. RS232 to WIFI Converter

Installation & Configuration Manuel. Socket Server. OpenAT application

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

Using AT commands to control TCP/IP stack on SM5100B-D modules

F2103 GPRS DTU USER MANUAL

DOORKING SYSTEMS 1830 SERIES NETWORK WORKSHOP LAN APPLICATIONS ACCESS CONTROL SOLUTIONS LOCAL AREA NETWORK (LAN) CONNECTION REV 04.

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T PIN6 T PIN7 R+ PIN8 R-

5.1 Overview of Wireless Card Activation and Configuration

SMS Application Note. SIM5360_SMS_Application_Note_V0.01

Configuring the WT-4 for Upload to a Computer (Ad-hoc Mode)

GS-AN045 S2W UDP, TCP, HTTP CONNECTION MANAGEMENT EXAMPLES

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

ETM9350-1/ Quick Start Guide

Quectel Cellular Engine

2014 GSM SHIELD COMPATIBLE WITH ARDUINO GSM SHIELD USING SIMCOMM (SIM900A)

1. The Choose Setup Language option opens where you select a corresponding language. Click OK.

(SMTP/POP3) Application Note

Configuring the WT-4 for Upload to a Computer (Ad-hoc Mode)

NPort s Ethernet Modem Mode

T-BOXN12R. First steps with T-BOXN12R. You can make it wireless. Date: Version 1.0

Technical Notes TN 1 - ETG FactoryCast Gateway TSX ETG 3021 / 3022 modules. How to Setup a GPRS Connection?

RN-XV-RD2 Evaluation Board

! encor e networks TM

Wireless Communication With Arduino

USR-TCP232-T Hard Version: V2.0 Doc Version: V

Application Note. Terminal Server G6

! encor e networks TM

Teltonika FM41XX. Configurator v. 1.0

Tera Term Telnet. Introduction

This document explains how to enable the SIP option and adjust the levels for the connected radio(s) using the below network example:

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

AT Commands Examples. Examples for u-blox GSM/GPRS modules. Application Note. locate, communicate, accelerate. Abstract

CatTraQ Live 3 GPRS Tracking

Technical Manual. (TLT-2H GPS/GSM Vehicle Tracker) V1.5

Immotec Systems, Inc. SQL Server 2005 Installation Document

TCP/IP Based Vehicle Tracking and Fuel Monitoring Using Low Power Microcontroller

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

Magnet Voice Windows PC Softphone Installation

MT-350 SMS. Operation Manual. PORTech Communications Inc.

FTP Automation Guide

TP-LINK TD-W8901G. Wireless Modem Router. Advanced Troubleshooting Guide

ESP8266 WiFi Module Quick Start Guide

U10. Quectel Cellular Engine. Video Call Application Notes. U10_ Video_Call_AN_V1.0

VPN Direct connection How To

SIM800 Series_SSL_Application Note_V1.00

OCS Training Workshop LAB14. Setup

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

SITRANS RD500 Configuring the RD500 with PSTN or GSM modems and Windows-based servers and clients for communication Objective:

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

WIZnet S2E (Serial-to-Ethernet) Device s Configuration Tool Programming Guide

Wifi Web Server Module w TF Socket User s Guide

NPort. Copyright 2008 Moxa Inc. Released on July 15, 2008

ELIXIR LOAD BALANCER 2

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

19 LCD / 8 CHANNEL DVR COMBO WITH 160GB HDD & 4 CAMERAS

Nokia Siemens Networks. CPEi-lte User Manual

LOW COST GSM MODEM. Description. Part Number

Supervisor 10 Remote Access Users Guide Last Update: 10/27/14

Notification messages

GSM/GPRS/GPS TRACKER USER MANUAL

GPS Vehicle and personal location tracker. User manual

How To Set Up Mybpx Security Configuration Guide V1.2.2 (V1.3.2) On A Pc Or Mac)

RC2000 Web Server User s Manual RCI P/N: FP-SER-ETH-SERVR1

CONFIGURATION OF SATO LAN and WiFi INTERFACES

M85 OpenCPU Solution Presentation

TECHNICAL NOTE TNOI27

Step-by-Step Tutorial For Using LinkSprite UART- WIFI Module Model LS_UART_WIFI

New OBD Smart PC Tool User Manual

D-Link DAP-1360 Repeater Mode Configuration

EXPLORER. TFT Filter CONFIGURATION

ezvsp User's Manual ( Version 2.1d ) Sollae Systems Co., Ltd.

How to put the DVR online

IP SERIAL DEVICE SERVER

ARKEL Vision ARL-500 Uzaktan Erişim ve İzleme Sistemi ARL-500 Remote Control and Monitoring System KULLANICI KILAVUZU USER MANUAL TR/EN

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

Windows Dial Up Networking (DUN) for AirLink Modems Application Note - How To

AT COMMAND SET FOR BG2-PIC APPLICATION KIT

GPS Vehicle Tracker EDW-310BB USER MANUAL

Protecting the Home Network (Firewall)

IMF Tune Quarantine & Reporting Running SQL behind a Firewall. WinDeveloper Software Ltd.

SYMETRIX SOLUTIONS: TECH TIP August 2015

Sending SMS Messages and s

Transcription:

TCPIP Application Note for WCDMA Solution V2.0

Scope SIM5218, SIM5215, SIM5216, SIM5320 Reference SIMCOM_SIM5320_Serial_ATC_EN_V1.26.doc -1-2012-11-20

Content 1. External PPP Setting...3 2. SIMCom Internal TCPIP Protocol...3 2.1 Network Environment...3 2.2 PDP Context Enable/Disable...4 2.3 Command Mode (Non-transparent mode)...4 2.3.1 TCP Client...5 2.3.2 UDP Connetion...5 2.3.3 Extended Information...6 2.3.4 TCP SERVER...6 2.3.5 Connection Status Checking...7 2.4 Data mode (Transparent mode)...8 2.4.1 TCP Client...8 2.4.2 TCP Server...9 2.5 Switch between data mode and command mode...10 Contact us...11-2- 2012-11-20

1. External PPP Setting Port: USB->modem / UART, Hardware flow control AT command: AT+CGCONT=1, IP, apn ATD*99# Note, Sequence of +++ could be issued to exit data mode. 2. SIMCom Internal TCPIP Protocol 2.1 Network Environment TCPIP application is based on GPRS network; so, ensure GPRS network is available before TCPIP setup. Following is the recommended steps. AT+CSQ +CSQ: 23,0 AT+CREG? +CREG: 0,1 AT+CPSI? +CPSI: GSM,Online,460-00 0x1816,63905,81 EGSM 900,-68,0,31-31 AT+CGREG? +CGREG: 0,1-3- 2012-11-20

2.2 PDP Context Enable/Disable APN setting: AT+CGSOCKCONT=1,"IP","CMNET" AT+CSOCKSETPN=1 Note, usually CSOCKAUTH and CSOCKSETPN parameter are kept default if not care about. Enable PDP context: AT+CIPMODE=0 // command mode, if not configured, it s 0 as default. If want data mode, please configure before Net open. AT+NETOPEN=,,1 Network opened AT+IPADDR +IPADDR: 10.113.43.157 Disable PDP context: AT+NETCLOSE Network closed 2.3 Command Mode (Non-transparent mode) Command mode is sometimes called non-transparent mode, which is default configured by module. Multi sockets are available under this mode. -4-2012-11-20

2.3.1 TCP Client AT+CIPOPEN=0,"TCP","116.236.221.75",8011 Connect ok AT+CIPSEND=0,5 >HELLO // only supports fixed-length to send +CIPSEND: 5, 5 Send ok AT+CIPCLOSE=0 // close by local Note, if connection closed by remote server, following URC will return: +IPCLOSE: 0, 1, 116.236.221.75, 8011 Here, the meaning of second parameter in this URC is following, 0 - closed by local, active 1 - closed by remote, passive 3 - Reset 2.3.2 UDP Connetion One socket could communicate with multiple UDP channels. AT+CIPOPEN=0,"UDP",,,9000 AT+CIPSEND=0,5,"16.236.221.75",9015 >hello +CIPSEND: 5, 5 AT+cipsend=0,5,"16.236.221.75",8058 >12345 +CIPSEND: 5, 5-5- 2012-11-20

AT+CIPCLOSE=0 2.3.3 Extended Information Command AT+CIPHEAD is used to show IP head (data length) information, and command AT+CIPSRIP is used to show remote IP address and port once data received. AT+CIPHEAD=1 AT+CIPSRIP=0 AT+CIPOPEN=0,"TCP","116.236.221.75",8011 Connect ok AT+CIPSEND=0,5 >11111 +CIPSEND: 5, 5 Send ok // here, remote data is coming +IPD13 hello from pc AT+CIPSRIP=1 // here, remote data is coming RECV FROM:116.236.221.75:8011 +IPD15 hello from pc 2 AT+CIPCLOSE=0 2.3.4 TCP SERVER Module supports 4 sockects to listen. AT+CGSOCKCONT=1,"IP","CMNET" -6-2012-11-20

AT+NETOPEN=,,1 Network opened AT+SERVERSTART=8080,0 AT+SERVERSTART=9090,1 AT+SERVERSTART=7070,2 AT+SERVERSTART=6060,3 AT+TCPCLOSE=0 // if unspicified, will close 0 channel AT+TCPCLOSE=1 AT+TCPCLOSE=2 AT+TCPCLOSE=3 AT+NETCLOSE Network closed Note, we can check connection status with command AT+CIPOPEN. If some socket needs to close, please issue command AT+CIPCLOSE=<linked_num>. 2.3.5 Connection Status Checking AT+CIPOPEN? +CIPOPEN: 0 +CIPOPEN: 1 +CIPOPEN: 2 +CIPOPEN: 3 +CIPOPEN: 4 +CIPOPEN: 5 +CIPOPEN: 6 +CIPOPEN: 7 +CIPOPEN: 8 +CIPOPEN: 9-7- 2012-11-20

AT+CIPOPEN=0,"TCP","116.236.221.75",8011 Connect ok +IPD15 hello from pc 3 AT+CIPOPEN? +CIPOPEN: 0, "TCP", "116.236.221.75", 8011, -1 connection is active, module acts as client +CIPOPEN: 1 +CIPOPEN: 2 +CIPOPEN: 3 +CIPOPEN: 4 +CIPOPEN: 5 +CIPOPEN: 6 +CIPOPEN: 7 +CIPOPEN: 8 +CIPOPEN: 9 // last parameter of -1 indicates this 2.4 Data mode (Transparent mode) Currently, only one socket is available under transparent mode, either TCP client or TCP server. Command AT+CIPCCFG could be configured several parameters for data transmission under transparent mode.. 2.4.1 TCP Client AT+NETOPEN="TCP" Network opened AT+TCPCONNECT="116.236.221.75",8011 CONNECT 9600 // sequence of +++ to quit data mode ATO // command ATO to quit command mode -8-2012-11-20

CONNECT 9600 // sequence of +++ to quit data mode AT+TCPCLOSE CLOSED AT+NETCLOSE Network closed 2.4.2 TCP Server ATS0=7 AT+CIPMODE=1 AT+NETOPEN= TCP AT+SERVERSTART=8080 // ATS0 should be configured for TCP server application +CLIENT: 192.168.108.5 :57202 CONNECT 115200 // sequence of +++ to quit data mode AT+ACTCLIENT=0 AT+CLOSECLIENT=0 // close client connection CLOSED AT+TCPCLOSE // close server socket Note, the factors which influence data rate are following: AT&E1 the data rate should be the serial connection rate; AT&E0 the data rate is the wireless connection speed (based on QOS, refer to command AT+CGSOCKQREQ/AT+CGSOCKEQREQ/AT+CGSOCKQMIN/AT+CGSOCKEQMIN). -9-2012-11-20

2.5 Switch between data mode and command mode Hardware flow control is recommended. Currently, USB->modem port, USB->AT port and UART port all support hardware flow control. Software switching: escape sequence +++. Please take care, this is a complete command, do not separate each character, also take care that the time delay before and after this sequence should be more than 1000 milliseconds, the interval of each character should not more than 900 milliseconds. Hardware switching: DTR pin could be used to trigger data mode and command mode changed. Command AT&D1 should be configured before application. -10-2012-11-20

Contact us SIMCom Wireless Solutions Co., Ltd. Add: Building A, SIM Technology Building, No.633, Jinzhong Road, Changning District 200335 Tel: +86 21 3252 3300 Fax: +86 21 3252 3020 URL: http:/www.sim.com/wm/ -11-2012-11-20