WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye
2 MtoM IP Communication over GPRS GPRS sessions opening at both ends Necessary dynamic synchronisation ? or Static ? Private or Public ? GPRS Network Packet Networks GPRS Network
3 IP Connectivity for WISMO & Open AT WISMO IP Connectivity Standard WISMO module IP connectivity implemented within the Open AT
4 GPRS & IP with AT# Commands GPRS Network AT/V.24 Low Internet Layers GPRS IP TCP/UDP GGSN Application AT/V.24 AT# Commands
5 GPRS & IP with IP Stack Library GPRS Network Application AT/V.24 Low Internet Layers GPRS IP TCP/UDP GGSN Open AT
6 Integration of IP stack as Open AT applic. Download into Wavecom module/modems Autonomous Software Stack initialisation and parameters restoration from WISMO EEPROM To be integrated into standalone equipement Both GSM and GPRS Compatibilities IP Stack use on GSM as well GSM Features during GPRS Sessions: Incoming Calls, SMS,… IP Connectivity: Services
7 TCP Sockets and UDP Sockets: transparent asynchronous data transfer between systems defined by an IP address and a port number includes Telnet (TCP/23) for Terminal Emulation FTP (file transfer protocol TCP/20,21): file transfer between systems POP3 (Post Office Protocol V3 TCP/110): allows clients to read and remove from a mailbox SMTP (Simple Mail Transfer Protocol TCP/25): used to deliver from one system to another DNS (Domain Name Solving UDP/53) Protocols Supported
8 GSM/GPRS Example with an Open AT + IP customization: IP Internet PC Alarm Management IP Enhanced Application FTP Server File Storage For Fiscal Purposes FTP transfer
9 Main Firmware Download AT+WOPEN=0 V640c AT+CGMR GPRS class 10 Feature Activated AT+CGCLASS=“B” Open AT Feature Activated AT+WOPEN? IP Stack Download V302_V2 AT+WOPEN=1 IP Feature Activated AT#VVERSION AT+WIMEI? First Steps & First Checks
10 AT+WIND? AT+CPIN? AT+WGPRS=0,0;+CMEE=1;&W;+WMIR AT+CFUN=1 AT+CPIN? AT+CREG? AT+CGREG? AT#VALL AT# parameters are automatically stored in Flash PROM No AT&W needed AT#DELFLASH : come back to default values after the next reset Starting with GPRS Attachment
11 AT#VGPRS AT#APNSERV=“orange.fr” AT#APNUN=“orange” AT#APNPW=“orange” AT#GPRSMODE=1 +WIND: 4 AT#CONNECTIONSTART (AT#CONNECTIONSTOP) AT#VSTATE AT#DISPLAYIP AT#VDNS AT#DNSSERV1=“ ” AT#DNSSERV2=“aaa.bbb.ccc.ddd” Starting with GPRS Session
12 AT#VPOP3 AT#VSMTP AT#POP3HEADERMODE=1 AT#POP3PORT=110 AT#POP3PW="fbewm03" AT#POP3SERV="pop.tiscali.fr" AT#DOMAIN="tiscali.fr" AT#SENDERNAME="fouadtraining03" AT#SMTPPORT=25 AT#SMTPPW="fbewm03" AT#SMTPSERV="smtp.tiscali.fr" Management
13 AT#VMAIL1 AT#SUBJ1="test message“ AT#BODY1 Maximum message length is 120 AT#SENDMAIL1 AT#PUTMAIL No limit for message length. AT#GETMAIL s are automatically deleted Transmission/Reception Command Mode Incoming call Command Mode Incoming call
14 AT#VFTP AT#FTPSERV=" " AT#FTPPORT=21 AT#FTPUN="support-tcpip" AT#FTPPW="xbo194ar" AT#FTPTYPE=A AT#FTPGETFILENAME="ascii1.txt" AT#FTPGETPATH="./support-tcpip/“ AT#FTPPUTFILENAME="ascii1.txt" AT#FTPPUTPATH="./support-tcpip/" File Transfer Management
15 AT#FTPPUT AT#FTPGET File Transmission/Reception Command Mode Incoming call
16 AT#VTCP AT#DLEMODE=1 (def.) AT#TCPPORT=23 AT#TCPTXDELAY=100 (def.) Listener AT#TCPSERV=“ ” AT#LTCPSTART AT#LTCPSTOP (to stop if no socket has been opened by a caller) Caller AT#TCPSERV=“eee.fff.ggg.hhh” AT#OTCP The text is transmitted to remote site without echo TCP Socket Management Command Mode Incoming call Command Mode Incoming call
17 Visit our Web Sites