14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TCP/IP: MIP <strong>Commands</strong> Using Cases<br />

+MIPCALL: 1,1,"172.16.94.38"<br />

+MIPCALL: 2,8,"172.18.62.178"<br />

OK<br />

<strong>AT</strong>+MIPCLOSE?<br />

+MIPCLOSE: 1:0<br />

+MIPCLOSE: 2:0<br />

OK<br />

Close a Socket<br />

The user is able to close a socket in any non-idle state by +MIPCLOSE 'set' command, as follows:<br />

<strong>AT</strong>+MIPCLOSE?<br />

+MIPCLOSE: 1:1<br />

OK<br />

<strong>AT</strong>+MIPCLOSE=1<br />

OK<br />

+MIPCLOSE: 1,0<br />

Close a socket by closing a MIP call<br />

When an active MIP call is closed, the call-based opened sockets are close automatically, as<br />

shown in the example below:<br />

<strong>AT</strong>+MIPCALL=1,1,1<br />

OK<br />

+MIPCALL: 1,1,"172.16.118.53"<br />

<strong>AT</strong>+MIPOPEN=1,12,1086,"www.google.com",80,0<br />

OK<br />

+MIPOPEN: 1,12,1<br />

<strong>AT</strong>+MIPOPEN=1,1,1080,"www.yahoo.com",80,0<br />

OK<br />

+MIPOPEN: 1,1,1<br />

<strong>AT</strong>+MIPCALL=1,0<br />

OK<br />

+MIPST<strong>AT</strong>: 12,4<br />

+MIPST<strong>AT</strong>: 1,4<br />

+MIPCALL: 1,0<br />

The +MIPST<strong>AT</strong> socket status unsolicited response with status value 4 (Network error) means, the<br />

socket closed as result of Network error (Network closed). When an active MIP call is closed and<br />

4-24 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> April 15, 2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!