GPRS

Example

AT+MSDNS=?

+MSDNS: (1-5),(<IP>),(<IP>)

OK

AT+MSDNS?// read when MIPCALL is disconnected +MSDNS: 1,"0.0.0.0","0.0.0.0"

+MSDNS: 2,"0.0.0.0","0.0.0.0"

+MSDNS: 3,"0.0.0.0","0.0.0.0"

+MSDNS: 4,"0.0.0.0","0.0.0.0"

+MSDNS: 5,"0.0.0.0","0.0.0.0"

OK

AT+MSDNS=2,"212.150.49.10","206.49.94.234" //set socket 2 prim & sec DNS

OK

 

AT+MSDNS=4,"62.120.55.10"

//set socket 4 prim DNS only

OK

 

AT+MSDNS=5,"212.150.49.10","206.49.94.234" //set socket 5 prim & sec DNS

OK

 

AT+MSDNS?

// read when MIPCALL is disconnected

+MSDNS: 1,"0.0.0.0","0.0.0.0"

+MSDNS: 2,"212.150.49.10","206.49.94.234"

+MSDNS: 3,"0.0.0.0","0.0.0.0"

+MSDNS: 4,"62.120.55.10","0.0.0.0"

+MSDNS: 5,"212.150.49.10","206.49.94.234"

OK

AT+MIPCALL=1,"internet"

OK

+MIPCALL: 10.170.7.91

 

AT+MSDNS?

// read when MIPCALL is connected

+MSDNS: 1,"192.118.9.177","192.118.11.77"

+MSDNS: 2,"212.150.49.10","206.49.94.234"

+MSDNS: 3,"192.118.9.177","192.118.11.77"

+MSDNS: 4,"62.120.55.10","192.118.11.77"

+MSDNS: 5,"212.150.49.10","206.49.94.234"

OK

AT+MSDNS=2// socket #2 set to default values

OK AT+MSDNS?

+MSDNS: 1,"192.118.9.177","192.118.11.77"

+MSDNS: 2,"192.118.9.177","192.118.11.77"

+MSDNS: 3,"192.118.9.177","192.118.11.77"

+MSDNS: 4,"62.120.55.10","192.118.11.77"

+MSDNS: 5,"212.150.49.10","206.49.94.234"

OK

3-300

G24-L AT Commands Reference Manual

April 15, 2008

Page 364
Image 364
PIONEERPOS G24-LC manual Ok At+Msdns?