Input Port - At$In; Output Port - At$Out - Daviscomms MTD2000 Command Manual

Mobile tracking device
Table of Contents

Advertisement

AT$PS
Note: Query port status.
18.4 Input Port – AT$IN
This command will get the status of a user specified input port.
Note:
If the user is trying to read an output port, the device will send out an unsolicited
response to indicate invalid input port.
Syntax
Command
AT$IN=<Index>
Note: Get input port status.
Parameters
Index
Status
Example
Command
AT$PC?
Note: Query port configuration.
AT$IN=1
Note: Get status of input port 1.
18.5 Output Port – AT$OUT
This command will set a user specified output port to either HIGH or LOW.
Confidential
OK
$PS: F0
Note: Input port 1 to 4 are LOW, output port 5 to 8
are HIGH.
OK
$IN: <Index>,<Status>
Port 1 to 8, only input ports are effective (port 1 to 4 are input
port, port 5 to 8 can be input or output port depending on the
port configuration)
0 – LOW
1 – HIGH
DAVISCOMMS (S) PTE LTD
MTD2000 AT Command Guide R12
Response
Response
OK
$PC: 0F
OK
$IN: 1,1
71 /105

Advertisement

Table of Contents
loading

Table of Contents