170 likes | 289 Views
TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK. Philippe de La Bourdonnaye. M toM IP Communication over GPRS. GPRS sessions opening at both ends Necessary dynamic IP@ synchronisation ? or Static IP@ ? Private IP@ or Public IP@ ?. GPRS Network. GPRS Network. Packet Networks.
E N D
TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye
MtoM IP Communication over GPRS • GPRS sessions opening at both ends • Necessary dynamic IP@ synchronisation ? or Static IP@ ? • Private IP@ or Public IP@ ? GPRS Network GPRS Network Packet Networks
IP Connectivityfor WISMO & Open AT • WISMO IP Connectivity • Standard WISMO module • IP connectivity implemented within the Open AT
GPRS & IP with AT# Commands GPRS Network GGSN AT# Commands TCP/UDP Application IP Low Internet Layers GPRS GPRS AT/V.24 AT/V.24
GPRS & IP with IP Stack Library GPRS Network GGSN Open AT Application TCP/UDP IP Low Internet Layers GPRS GPRS AT/V.24
IP Connectivity: Services • 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,…
Protocols Supported • 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 email from a mailbox • SMTP (Simple Mail Transfer Protocol TCP/25): • used to deliver email from one system to another • DNS (Domain Name Solving UDP/53)
IP Enhanced Application • Example with an Open AT + IP customization: FTP Server File Storage For Fiscal Purposes IP FTP transfer GSM/GPRS Internet PC E-mail Alarm Management
First Steps & First Checks • 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?
Starting with GPRS Attachment • 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 Session • 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=“0.0.0.0” • AT#DNSSERV2=“aaa.bbb.ccc.ddd”
Email Management • AT#VPOP3 • AT#VSMTP • AT#POP3HEADERMODE=1 • AT#POP3PORT=110 • AT#POP3PW="fbewm03" • AT#POP3SERV="pop.tiscali.fr" • AT#POP3UN="fbewm03@tiscali.fr" • AT#DOMAIN="tiscali.fr" • AT#SENDERADDR="fbewm03@tiscali.fr" • AT#SENDERNAME="fouadtraining03" • AT#SMTPPORT=25 • AT#SMTPPW="fbewm03" • AT#SMTPSERV="smtp.tiscali.fr" • AT#SMTPUN="fben0232@tiscali.fr"
Email Transmission/Reception • AT#VMAIL1 • AT#CCREC1="fbewm03@tiscali.fr" • AT#REC1="fbewm05@tiscali.fr" • AT#SUBJ1="test message“ • AT#BODY1<cr> Maximum message length is 120<ctrl-z> • AT#SENDMAIL1 • AT#PUTMAIL<cr> No limit for message length<cr><lf>.<cr><lf> • AT#GETMAIL Emails are automatically deleted Command Mode Incoming call Command Mode Incoming call
File Transfer Management • AT#VFTP • AT#FTPSERV="81.80.89.163" • 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 Transmission/Reception • AT#FTPPUT <file transmission><ctrl-c> • AT#FTPGET <file capture> Command Mode Incoming call
TCP Socket Management • AT#VTCP • AT#DLEMODE=1 (def.) • AT#TCPPORT=23 • AT#TCPTXDELAY=100 (def.) • Listener • AT#TCPSERV=“255.255.255.255” • AT#LTCPSTART • AT#LTCPSTOP (to stop if no socket has been opened by a caller) • Caller • AT#TCPSERV=“eee.fff.ggg.hhh” • AT#OTCP<cr> The text is transmitted to remote site without echo<ctrl-c> Command Mode Incoming call Command Mode Incoming call
Visit our Web Sites www.wavecom.com www.wismo.com