30.12.2014 Views

HC25 AT Command Set - Portech.com.tw

HC25 AT Command Set - Portech.com.tw

HC25 AT Command Set - Portech.com.tw

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>HC25</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

4. Serial Interface Control <strong>Command</strong>s s<br />

4. Serial Interface Control <strong>Command</strong>s<br />

The <strong>AT</strong> <strong>Command</strong>s described in this chapter allow the external application to determine various settings related<br />

to the <strong>HC25</strong>'s serial interface.<br />

4.1 <strong>AT</strong>^SQPORT Query Port Type<br />

<strong>AT</strong>^SQPORT enables the host application to query the type of virtual COM port it is connected to. Further details<br />

on the different types of virtual <strong>HC25</strong> interfaces can be found in Section 1.4, <strong>HC25</strong> <strong>AT</strong> <strong>Command</strong> Interpreter.<br />

Syntax<br />

Test <strong>Command</strong><br />

<strong>AT</strong>^SQPORT=<br />

Response(s)<br />

OK<br />

Read <strong>Command</strong><br />

<strong>AT</strong>^SQPORT<br />

Response(s)<br />

<br />

OK<br />

Exec <strong>Command</strong><br />

<strong>AT</strong>^SQPORT<br />

Response(s)<br />

<br />

OK<br />

Reference(s) PIN USB0-MDM USB0-APP Last<br />

Siemens - + + -<br />

Parameter Description<br />

(str)<br />

“Modem“<br />

“Application“<br />

The virtual COM port is defined for use as a modem, mainly intended for dialup<br />

connections. Using <strong>AT</strong> <strong>com</strong>mands is not re<strong>com</strong>mended except for the dialing<br />

<strong>com</strong>mand <strong>AT</strong>D.<br />

The virtual COM port is defined as application interface. It is re<strong>com</strong>mended that<br />

this interface be used for controlling the <strong>HC25</strong>, e.g. for entering <strong>AT</strong> <strong>com</strong>mands,<br />

receiving URCs, or sending and receiving short messages. URCs are indicated<br />

only on this interface, no matter which of the <strong>tw</strong>o interfaces was used to send<br />

the <strong>AT</strong> <strong>com</strong>mands for activating their presentation. For further detail on URCs<br />

please refer to Section 1.8, Unsolicited Result Code Presentation.<br />

<strong>HC25</strong>_<strong>AT</strong>C_V01.200 Page 63 of 290 7/25/07<br />

Confidential / Released

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

Saved successfully!

Ooh no, something went wrong!