APN & VPN with AT Commands

Status
Not open for further replies.

hadi2222

Newbie level 2
Joined
Oct 18, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
21
hello

we don't have any at command for vpn connction.
How do I configure vpn on apn network with AT Commands.

do I have to set my user name and password of VPN in AT+CSTT Command

Code:
resultAt = sendAT("AT+CIPSHUT", "OK#ERROR", 2, 3000);
...
resultAt = sendAT("AT+CIPSHUT", "OK#ERROR", 2, 3000);
...
resultAt = sendAT("AT+CIPMUX=1", "OK#ERROR", 2, 3000);
...
resultAt = sendAT("AT+CGATT=1", "OK#ERROR", 2, 3000);
...
resultAt = sendAT("AT+CGATT?", "OK#ERROR", 2, 10000);
...
[U][B]resultAt = sendAT("AT+CSTT=\"myAPN\"", "OK#ERROR" ,2 ,3000);[/B][/U]
...
resultAt = sendAT("AT+CIICR", "OK#ERROR" ,2 ,10000);
...
resultAt = sendAT ("AT+CIFSR" ,"OK#ERROR" ,2 ,4000);
...
resultAt = sendAT("AT+CIPSERVER=1,18970", "SERVER OK#SERVER ERROR", 2, 10000);
...
sendAT ("AT+CIPSTATUS", "STATE:#INITIAL#ERROR", 3, 2000);
...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…