17
WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

Embed Size (px)

Citation preview

Page 1: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

WIRELESS SOLUTIONS FOR EVERYONE

TECHNICAL SEMINAR SEPTEMBER 2003

GPRS & IP STACK

Philippe de La Bourdonnaye

Page 2: 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 IP@ synchronisation ? or Static IP@ ?

Private IP@ or Public IP@ ?

GPRSNetwork

PacketNetworks

GPRSNetwork

Page 3: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

3

IP Connectivityfor WISMO & Open AT

WISMO IP Connectivity• Standard WISMO module• IP connectivity implemented within the Open AT

Page 4: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

4

GPRS & IP with AT# Commands

GPRSNetwork

AT/V.24Low Internet

LayersGPRS GPRS

IP

TCP/UDP

GGSN

Application

AT/V.24

AT# Commands

Page 5: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

5

GPRS & IP with IP Stack Library

GPRSNetwork

Application

AT/V.24Low Internet

LayersGPRS GPRS

IP

TCP/UDP

GGSN

Open AT

Page 6: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

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

Page 7: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

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 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)

Protocols Supported

Page 8: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

8

GSM/GPRS

Example with an Open AT + IP customization:

IP

Internet PCE-mail

AlarmManagement

IP Enhanced Application

FTP Server

File StorageFor Fiscal Purposes

FTP transfer

Page 9: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

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

Page 10: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

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

Page 11: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

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=“0.0.0.0” AT#DNSSERV2=“aaa.bbb.ccc.ddd”

Starting with GPRS Session

Page 12: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

12

AT#VPOP3 AT#VSMTP AT#POP3HEADERMODE=1 AT#POP3PORT=110 AT#POP3PW="fbewm03" AT#POP3SERV="pop.tiscali.fr" AT#POP3UN="[email protected]" AT#DOMAIN="tiscali.fr" AT#SENDERADDR="[email protected]" AT#SENDERNAME="fouadtraining03" AT#SMTPPORT=25 AT#SMTPPW="fbewm03" AT#SMTPSERV="smtp.tiscali.fr" AT#SMTPUN="[email protected]"

Email Management

Page 13: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

13

AT#VMAIL1 AT#CCREC1="[email protected]" AT#REC1="[email protected]" 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#GETMAILEmails are automatically deleted

Email Transmission/Reception

Command

ModeIncoming

call

Command

ModeIncoming

call

Page 14: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

14

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 Transfer Management

Page 15: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

15

AT#FTPPUT<file transmission><ctrl-c>

AT#FTPGET<file capture>

File Transmission/Reception

Command

ModeIncoming

call

Page 16: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

16

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>

TCP Socket Management

Command

ModeIncoming

call

Command

ModeIncoming

call

Page 17: WIRELESS SOLUTIONS FOR EVERYONE TECHNICAL SEMINAR SEPTEMBER 2003 GPRS & IP STACK Philippe de La Bourdonnaye

17

Visit our Web Sites

www.wavecom.com

www.wismo.com