Serial Port Complete - Latest Microcontroller projects

(lily) #1

Chapter 16


Table 16-2: The abstract control model defines a set of required and optional requests
that travel in control transfers.


#=          #=>
SEND_ENCAPSULATED_COMMAND 0x00 Issues a command in the
format of the supported
control protocol.

Required but not
used if AT
commands aren’t
implemented.
GET_ENCAPSULATED_RESPONSE 0x01 Requests a response in
the format of the
supported control
protocol.

Required but not
used if AT
commands aren’t
implemented.
SET_COMM_FEATURE 0x02 Controls a
communication feature.

Optional.

GET_COMM_FEATURE 0x03 Returns the current
settings for a
communication feature.

Optional.

CLEAR_COMM_FEATURE 0x04 Clears a communication
feature.

Optional.

SET_LINE_CODING 0x20 Sets asynchronous serial
parameters: bit rate,
number of Stop bits,
parity, and number of
data bits.

Recommended
for devices that
support these
parameters.

GET_LINE_CODING 0x21 Requests asynchronous
serial parameters: bit
rate, number of Stop
bits, parity, and number
of data bits.

Recommended
for devices that
support these
parameters.

SET_CONTROL_LINE_STATE 0x22 Set RS-232 signals RTS
and DTR.

Optional.

SEND_BREAK 0x23 Set RS-232 Break signal. Optional.
Free download pdf