Справочник Пользователя для PioneerPOS G24-L
Hardware Information
3-142
G24-L AT Commands Reference Manual
April 15, 2008
+ICF, DTE-DCE Character Framing
This command determines the local serial port start/stop (asynchronous) character framing used
by the DCE when accepting DTE commands and transmitting information text and result codes,
whenever these are not done automatically. Auto detect framing is not supported.
by the DCE when accepting DTE commands and transmitting information text and result codes,
whenever these are not done automatically. Auto detect framing is not supported.
The following table shows the +ICF parameters.
Example
AT+ICF?
+ICF: 3,4
OK
AT+ICF=?
+ICF: (1-8),(0,1,4)
OK
AT+ICF=5,1
OK
Command Type
Syntax
Response/Action
Remarks
Set
+ICF=[<format>[
,<parity>]]
OK
+CME ERROR: <err>
The Set command determines the local
serial port start/stop character framing.
serial port start/stop character framing.
Read
+ICF?
+ICF:
<format>,<parity>
+CME ERROR: <err>
The Read command displays the
currently selected character framing.
currently selected character framing.
Test
+ICF=?
:+ICF:(list of
supported <format>
values),(list of
supported <parity>
values)
values),(list of
supported <parity>
values)
+CME ERROR: <err>
The Test command displays a list of
supported <format> and <parity>
values.
supported <format> and <parity>
values.
Table 3-93: +ICF Parameters
<Parameter>
Description
<format>
Determines the number of bits in the data bits, the presence (or absence) of a parity
bit, and the number of stop bits in the start/stop frame.
1
bit, and the number of stop bits in the start/stop frame.
1
8 Data, 2 Stop - can be set only with <parity> 4
2
8 Data, 1 Parity, 1 Stop - can be set with <parity> of 0 or 1
3
8 Data, 1 Stop (default) - can be set only with <parity> 4
4
7 Data, 2 Stop - can be set only with <parity> 4
5
7 Data, 1 Parity, 1 Stop - can be set with <parity> of 0 or 1
6
7 Data, 1 Stop - can be set only with <parity> 4
7
8 Data, 1 Parity, 2 Stop - can be set with <parity> of 0 or 1
8
7 Data, 1 Parity, 2 Stop - can be set with <parity> of 0 or 1
<parity>
Determines how the parity bit is generated and checked (if present).
0
0
Odd
1
Even
4
No parity (default)