Hardware Information

+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.

 

 

 

 

Command Type

Syntax

Response/Action

Remarks

 

 

 

 

 

 

 

 

Set

+ICF=[<format>[

OK

The Set command determines the local

 

,<parity>]]

+CME ERROR: <err>

serial port start/stop character framing.

 

 

 

 

Read

+ICF?

+ICF:

The Read command displays the

 

 

<format>,<parity>

currently selected character framing.

 

 

+CME ERROR: <err>

 

 

 

 

 

Test

+ICF=?

:+ICF:(list of

The Test command displays a list of

 

 

supported <format>

supported <format> and <parity>

 

 

values),(list of

values.

 

 

supported <parity>

 

 

 

values)

 

 

 

+CME ERROR: <err>

 

 

 

 

 

 

 

 

 

The following table shows the +ICF parameters.

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

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

Odd

 

 

1

Even

 

 

4

No parity (default)

 

 

 

 

 

 

 

 

 

 

 

Example

AT+ICF? +ICF: 3,4

OK AT+ICF=? +ICF: (1-8),(0,1,4)

OK AT+ICF=5,1

OK

3-142

G24-L AT Commands Reference Manual

April 15, 2008

Page 206
Image 206
PIONEERPOS G24-LC manual +ICF, DTE-DCE Character Framing, 93 +ICF Parameters, Parity, +Icf?, OK AT+ICF=5,1