I have a task to use SL808X module and Open At developer studio, to connect to an APN, get the ip connection, send some data to a PC in a cooperate LAN.
How do I get started?
My questions can be following:
AT command to use to set up GPRS?
At Linux, PPPD is using following commands to set up connection: pppd noipdefault call [chatscript] user [xxx] password [xxx],
how do I do it in Open AT?
chatscript is like following:
AT+CGDCONT=1,“IP”,“someAPN”
ATD*99#"
I assume you mean a server on the internet, correct?
Also, I am not too sure your use case, whether the host will send AT command or you are going to develop your own OpenAT application?
Depends your use case and protocol required, if you use tcp client, below examples are good start covering both setup IP connection and send/receive data with server.
AT command:
Please refer to WIPAT user guide 9.1.2
I am now able to connect to GPRS network by using wip apis.
I plan to set up serial port, listen to it, if there is data, will be sent through TCP client ->GPRS -> TCP server.
The problem is, there are different serial devices with different baud rate, I want to change baud rate from far end.