> 4.6 | AT+ICF Serial Interface Character Framing

> The command AT+ICF controls the serial interface character framing format and parity used for receiving and transmitting.
> The following settings are supported:

> • | 7 bits, even parity, 1 stop bit (AT+ICF=5,1)

> • | 7 bits, odd parity, 1 stop bit (AT+ICF=5,0)

> • | 8 bits, even parity, 1 stop bit (AT+ICF=2,1)

> • | 8 bits, no parity, 1 stop bit (AT+ICF=3)

> • | 8 bits, odd parity, 1 stop bit (AT+ICF=2,0)

> • | 8 bits, no parity, 2 stop bits (AT+ICF=1)

> Syntax

> Test Command AT+ICF=?
> Response(s)
> +ICF: (list of supported <format>s), (list of supported <parity>s)
> OK

> Read Command AT+ICF?
> Response(s)
> +ICF: <format>[, <parity>]
> OK

> Write Command AT+ICF=[<format>[, <parity>]]
> Response(s)
> OK
> ERROR

> Reference(s) |  | PIN |  | ASC0 | ASC1 | USB | MUX1 | MUX2 | MUX3 |  |  | Charge | Q | Last
> V.250 |  | - |  | + | + | - | ± | ± | ± |  |  | - | + | -

> Parameter Description

> <format>(num)(&W)(&V)

> Specifies the character format used for receiving and transmitting.
> 1
> 8 data 0 parity 2 stop
> 2
> 8 data 1 parity 1 stop
> [3](D)
> 8 data 0 parity 1 stop
> 5
> 7 data 1 parity 1 stop

> <parity>(num)(&W)(&V)

> Specifies the method of calculating the parity bit, if a parity bit is supported by <format>.
> If <format> does not support parity, this parameter has to be omitted.
> 0
> odd
> 1
> even
> Notes

> • | If AT+ICF modes 7E1 or 7O1 are set, the parity bit will by default not be transmitted over the air. If the remote party expects the parity bit to be transmitted, additional settings are required via AT^STPB.

> • | When using a bit rate of 300 bps there must be a delay of 500ms before entering the next command. At bit rates of 1200 bps the delay must be 300ms. For higher bit rates use of the default delay is sufficient.

> • | TC65's autobaud feature detects the bit rate currently used by the TE. However, this detection suffers some limitations described in Section 4.9.1, Autobauding. If autobauding is enabled, the AT+ICF read command does not show the current character framing, but the character framing that will be used when autobauding is disabled.

> • | For compatibility reasons, the command can be used in Multiplex mode, though the settings will not take effect. Please note that changes made on multiplex channel 1 will be saved with AT&W and will become active when restarting the ME after AT^SMSO.

> • | To start the multiplexer it is necessary to set the character framing to 8 bits, no parity and 1 stop bit.

> • | If a <format> is selected without parity (e.g. <format>=3) and you try to activate a format with parity (e.g. <format>=2), you need to explixitly set the parameter <parity> (e.g. AT+ICF=2,1). Otherwise you will get '+CME ERROR: invalid index'. This is because for <format>=3, the parameter <parity> is set to the internal value 'no parity' which is not supported by <format>=2. (Remember that if an optional parameter is omitted for which no default is stated in this specification, the value of the parameter remains unchanged).