Upload
juniorradu1866
View
213
Download
0
Embed Size (px)
DESCRIPTION
Sierra WirelessWavecomModem
Citation preview
Version de la présentation
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
WIPSoft practical session
2
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
Agenda
Schedule
TCP
UDP
FTP
3
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
TCP – Workshop (based on WIPSoft 2.02)
Required documents:– WIP AT Commands User Guide (WIPSoft v2.02)– Porting Guide from eDSoft V3.10 to WIPSoft V2.02– Tools Manual for Open AT IDE 1.02
AT sequence for a TCP client configuration:– AT+WIPCFG=1– AT+WIPBR=1,6– AT+WIPBR=2,6,11, APN– AT+WIPBR=2,6,0,UN– AT+WIPBR=2,6,0,PWD– AT+WIPBR=4,6,0– AT+WIPCREATE=2,1, "80.70.40.51",’Port number’ – AT+WIPDATA=2,1,<mode>
4
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
Modes to exchange data through TCP
1. Continuous mode (<mode> = 1):– ETX should be preceeded by DLE if it should be
transmitted. Unless it’s considered as end of data.
2. Continuous transparent mode (<mode> = 2):– No special meaning for ETX or DLE.
5
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
TCPIP debug tool
In order to display IP packets in the Target Monitoring Tool, AT+ADLDBG=60 command has to be sent. The IP packets are then received in the CUS4[25] level.
The corresponding txt file can be converted with wm_trc2tcpdump.awk cygwin command to the TCPDUMP format.
The TCPDUMP file can be read with a special software like ethereal.
For any issue linked to WIPSoft, it’s recommended to send AT+ADLDBG=60 command to provide all CUS4 traces.
6
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
UDP
AT sequence for a UDP client configuration:– AT+WIPCFG=1– AT+WIPBR=1,6– AT+WIPBR=2,6,11, APN– AT+WIPBR=2,6,0,UN– AT+WIPBR=2,6,0,PWD– AT+WIPBR=4,6,0– AT+WIPCREATE=1,1, , "80.70.40.51",’Port number’ – AT+WIPDATA=1,1,1
Only <mode>=1 is supported by UDP. ETX marks the boundary of the UDP datagram
7
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
FTP
AT sequence for to activate a FTP session– AT+WIPCFG=1– AT+WIPBR=1,6– AT+WIPBR=2,6,11, APN– AT+WIPBR=2,6,0,UN– AT+WIPBR=2,6,0,PWD– AT+WIPBR=4,6,0– AT+WIPCREATE=4,1,"www.openat.fcpages.com",21,"openat.fcpag
es.com", "wavecom" – AT+WIPFILE=4,1,2,"./file1" //to upload file1– AT+WIPFILE=4,1,1,"./file1" //to download file1
8
WA
VE
CO
M©
20
05.
All
righ
ts r
ese
rved
THANK YOU