Q2687 wireless CPU TCP/IP AT commands urgent help request


#1

Hi there,

We bought the product “Q2687 wireless CPU” last week. We need it because we want a GPRS modem that has TCP/IP stack and this model meets the requirements. However it did not understand the AT commands of the TCP/IP; for example “AT#DISPLAYIP” or “AT#PPPMODE”, all the commands for TCP/IP. I think we need to load something, some firmware or application may be, to the device. By the way, what is Open AT? We want the Q2687 can understand all of the AT commands about TCP/IP… How can we do that? Could you please help?

Best regards,

Onur


#2

Hi Onur,

If you want to use AT commands to control the TCP IP stack, you will need to download the wipsoft embedded application to the Q2687. On the other hand you could write a c program which includes the WIP library. By the way, that’s what they call “OpenAT”. And then there is still the manual you could read… I hope that helps.


#3

Dear wismo_coder,

thank you very much for your help; but I could not understand the WIP library and wipsoft stuff. I mean didn’t they implemented to the product or didn’t they included in the wavecom product CD? How can I write a C program that includes WIP library, is there any sample about that? And also is there any example of wipsoft embedded application?

Best regards,

Onur


#4

Dear Onur,

AT# commands can not be used with Q26 Wireless CPUs and can not be used anymore on Q24.
You need to use WIPSoft AT commands. User guides and porting guides already exist. You can contact your distributor or find these documents on the web site.
You can also refer to the Open AT SDK to find some Open AT samples that use the library version of Wavecom IP stack.
For your information, if you want to use AT commands (WIPSoft), you can find here below the list of AT commands to send:
TCP server configuration:

at+wopen=1
OK
at+wipcfg=1
OK
at+wipbr=1,6
OK
at+wipbr=2,6,11,“websfr” //set apn
OK
at+wipbr=2,6,0,"" //set User name
OK
at+wipbr=2,6,1,"" //set password
OK
at+wipbr=4,6,0
OK
at+wipcreate=3,1,80,5,9 //create a server on port 80
OK
at+wipbr=3,6,15
+WIPBR: 6,15,“10.21.247.75” //Here you have your IP address
OK
AT+WIPDATA=2,1,1 //you can exchange data

CONNECT


TCP client configuration:

at+wopen=1
OK
at+wipcfg=1
OK
at+wipbr=1,6
OK
at+wipbr=2,6,11,“websfr” //set apn
OK
at+wipbr=2,6,0,"" //set User name
OK
at+wipbr=2,6,1,"" //set password
OK
at+wipbr=4,6,0
OK
at+wipcreate=2,1,“10.21.247.75”,80 //Here you set the IP address of the TCP server, port 80
OK
at+wipbr=3,6,15
+WIPBR: 6,15,“10.21.241.22” //Here you have your IP address
OK
AT+WIPDATA=2,1,1 //you can exchange data

CONNECT

I hope it helps


#5

Dear chk,

thank you very much for your assistance, I wrote that commands and we connected 2 machines over gprs. But when the connection established how I disconnect my device via hyperterminal? I mean you wrote the commands for the server let’s say; I wrote them and from another machine we connect to the IP address of our gprs modem via hyperterminal. Everything is OK so far, the two machines connected to each other, what we wrote to the machine transfers to the other one, but how can we disconnect our gprs modem, we cannot enter any at commands at that moment…


#6

Dear cos,

A data connection can usually be interrupted by sending “+++” to the modem. Please notice that this sequence should be preceded and followed by a delay of approx. 1 second where nothing is sent. The modem then returns to the AT command mode.


#7

+++ allows you to come back to “AT mode”. But the socket is not closed. You can send data again if you send AT+WIPDATA command, then you will automatically switch to “DATA mode”.
If you want to to close the socket you need to send AT+WIPCLOSE.

I hope it helps