Post data throught UDP socket


#1

Hey !

I’m happy to own a wavecom modem 1306B, successfully upgraded to recent WIPSOFT IP stack.

AT+WIPCFG=3
WIP Soft v301 on Open AT OS v313
Sep 28 2007 14:53:28 WIPlib:v3a02 WIPSoft:v2a07

I’m attempting to open an UDP connection to a WAP gateway like that with my hyperterminal :

AT+WIPCFG=1
OK
AT+WIPBR=1,6
OK
AT+WIPBR=2,6,11,“orange.acte”
OK
AT+WIPBR=2,6,0,“orange”
OK
AT+WIPBR=2,6,1,“orange”
OK
AT+WIPBR=4,6,0
OK
AT+WIPCREATE=1,1,9201,“192.168.10.200”,9201
OK

WIPREADY: 1,1

AT+WIPDATA=1,1,1
CONNECT

My interrogation is for the next step, read and write data ?
The terminal doesn’t seem to be able for this task. After CONNECT received, I must reset power of the modem else I can’t submit command anymore, even “+++” string.

After, I know that I will compose my own PDU, but I’m ready with all documents from 3GPP. But how can I read and write, with a java program for exemple and some InputStream/OutputStream ?

Thanks in advance,

Raffe.