Cts: Handshaking Protocol - ashtech DG16 Reference Manual

Oem
Table of Contents

Advertisement

CTS: Handshaking Protocol

$PASHS,CTS,c1,s1
This command enables or disables the CTS/RTS (Clear To Send/Request To Send)
handshaking protocol on one or all of the DG16's serial ports. The c1 parameter is
the optional port designator (A, B, or C); s1 is ON or OFF.
If a port is not designated, the command applies the change to the port from which
the command was sent. Handshaking is enabled on both ports by default.
Handshaking requires five connections for each serial port (
). When handshaking is disabled, only three connections are required (
RXD
,
). See Figure 1.3 on page 10 for a diagram of the J301 pin configuration.
GND
RXD
Example
Enter the following command to disable handshaking on port A:
$PASHS,CTS,A,OFF
$PASHQ,CTS,[c1]
This command queries the current CTS setting, where c1 is the optional port
designator for the output of the response. If a port is not specified, the receiver
sends the response to the current port.
$PASHR,CTS
The response message is output in the format:
$PASHR,CTS,c1,s1*hh
Table 6.10 outlines the parameters.
Parameter
c1
s1
hh
Typical CTS response:
$PASHR,CTS,A,ON*70
102
Table 6.10. $PASHR,CTS Format
Description
Port identifier
Current CTS setting
Checksum
DG14 and DG16 Board & Sensor Reference Manual
,
,
,
CTS
TXD
GND
TXD
Range
A, B, C
ON, OFF
2-character hex
,
RTS
,

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dg14

Table of Contents