6.1.10 HCI VND UART Parameter Configuration

Table 6-21. Format
CommandOCF

Sub-op

code

Command

Parameters

Return

Parameters

HCI_VND_UART_Parameter_Configuration0x00000x09

Baud_Rate,

[Stop_Bit,

Parity_Mode,

Parity_Check,

Flow_Control]

Status

Description:

The HCI_VND_UART_Parameter_Configuration command is used to configure the UART function. The UART configuration is identical for both the RNBD mode and HCI mode.
Note: Stop_Bit, Parity_Mode, Parity_Check and Flow_Control are optional, when not specified in the parameter, and the system uses the default setting as the following command parameters are described.

This command parameter will be stored to PDS.

Table 6-22. Command Parameters
CommandSizeValueParameter Description
Baud_Rate1 octet0x00Baud rate = 921600
0x01Baud rate = 46080
0x02Baud rate = 23040
0x03Baud rate = 115200 (default)
0x04Baud rate = 57600
0x05Baud rate = 38400
0x06Baud rate = 28800
0x07Baud rate = 19200
0x08Baud rate = 14400
0x09Baud rate = 9600
0x0ABaud rate = 4800
0x0BBaud rate = 2400
Stop_Bit1 octet0x00Stop bit = 1 (default)
0x01Stop bit = 2
Parity_Mode1 octet0x00Parity mode = odd (default)
0x02Parity mode = even
Parity_Check1 octet0x00Parity check disable (default)
0x01Parity check enable
Flow_Control1 octet0x00Flow control disable (default)
0x01Flow control enable
Table 6-23. Return Parameters
CommandSizeValueParameter Description
Status1 octet0x00HCI_UART_Parameter_Configuration command succeeded
0x01 to 0xFFHCI_UART_Parameter_Configuration command failed. See [Vol 1] Part F, Controller Error Codes for a list of error codes and descriptions

Event(s) Generated (unless masked away):

When the HCI_VND_UART_Parameter_Configuration command completes, an HCI_Command_Complete event generates.