Port Status - At$Ps - Daviscomms MTD2000 Command Manual

Mobile tracking device
Table of Contents

Advertisement

Bit #
7
Port #
8
Example
Command
AT$PC?
Note: Query port configuration.
AT$PD=30
Note: Set default value of output port 5 and
6 to HIGH, output port 7 and 8 to LOW.
AT$PD?
Note: Query default value of output ports.
18.3 Port Status – AT$PS
This command will return the current value of both input and output ports.
Syntax
Command
AT$PS or AT$PS?
Note: Query setting.
Parameters
Status
Bit presentation for ports:
Bit #
7
Port #
8
Example
Command
AT$PC?
Note: Query port configuration.
Confidential
6
5
4
7
6
5
Port status in hexadecimal (00 to FF) with LSB and MSB as
port 1 and port 8 respectively.
0 – LOW
1 – HIGH
6
5
4
7
6
5
OK
$PC: 0F
DAVISCOMMS (S) PTE LTD
MTD2000 AT Command Guide R12
3
2
1
4
3
2
Response
OK
$PC: 0F
OK
OK
$PD: 30
Response
OK
$PS: <Status>
3
2
1
4
3
2
Response
0
1
0
1
70 /105

Advertisement

Table of Contents
loading

Table of Contents