Wipsoft

#1

I wish to try the GPRS function in HyperTerminal. Just got the wipsoft application and have downloaded it into the Q24PL001 modem. Unfortunately, i did not manage to succeed in the at wip command.

In HyperTerminal, start the application:
at+wopen=1
OK

at+wipcfg?
ERROR

Any suggestion? Thanks.

0 Likes

#2

Start the IP stack with AT+WIPCFG=1.

tom

0 Likes

#3

Thanks, tom. I am now facing another problem when creating a TCP client socket.
at+wipcfg=1 //start IP stack
at+wipbr=1,6 //open GPRS bearer
OK
at+wipbr=2,6,11,“wap.o2.co.uk” //set APN of GPRS bearer
OK
at+wipbr=2,6,0,“o2wap” //set user name
OK
at+wipbr=2,6,1,“password” //set password
OK
at+wipbr=4,6,0 //start GPRS bearer
OK

//connect the TCP client on port 80, idx=1
at+wipcreate=2,1,"***.***.***.***",port_num
OK
at+wipdata=2,1,1
+CME ERROR: 831 (bad state)

How did I come to this error?

And, how can I check the IP address of the modem using at_wip command?

0 Likes

#4

Now the problem is solved. The solution is using APN and user name for Web rather than for WAP.

0 Likes

#5

Now I have a new problem.

I set up a simple server to receive the information sent from the modem. The starter kit is connected to a PC via COM1 and WIPSoft is running in the CPU. The server is running in another PC and the server simply shows what it receives.

When communicating, the modem uses TCP socket in continuous mode.

My problem is: when I type the string from the client PC, the CPU sends the characters to the server. The server doesn’t get the string continuously. for example, I typed “hello world”, the server will receive “h” “e” “l” “l” “o”, or “he” “l” “lo” if I strike the keyboard a bit faster. Even if I keep pressing a key on the keyboard, the server can receive a string of about 20 characters.

How can I control the modem to send a packet on when I want it to send?

Maybe I can use the ftp mode? I am not clear about the “file” parameter. Should the file be in my PC, or I have to download it into the modem first before I can use the at+wipfile command? What is the convention for the path, windows or linux?

Many thanks.

0 Likes