SWRA751 September 2022
Description:
The command configure SCO/eSCO voice path to either PCM or HCI. Once this command is issued, it is valid for all the following SCO/eSCO channels going to be created. It is used to determine the following parameters: SCO connection type - Host or CODEC TX packet length that will be used for flow control calculations. TX buffer max latency that will determine the value of Latency_Thr that determines how much time data can be in the TX buffer before it is flushed out. This parameter is applicable only if flow control is disabled. If flow control is enabled, then the host is in charge to regulate the data flow to keep the latency within limits. Once this command is used, the next ‘Read Buffer Size Command’ will return the new buffer size and an appropriate number of buffers.
Command Default Values:
Command Parameter | Size (bytes) | Value | Description |
---|---|---|---|
Connection type | 1 | 0 1 0xFF |
Codec Host Don't change |
TX Buffer Size | 1 | 0x0 30-255 bytes |
Keep Current Packet Size New packet size in bytes |
TX buffer max latency | 2 | 0x00 1-720 bytes |
Keep current max latency New max latency in bytes. |
Accept packet with bad CRC | 1 | 0x00 0x01 0xFF |
Reject packet with bad CRC Accept packet with bad CRC Don’t change |
Returned Value | Description | Size (bytes) | Events Generated |
---|---|---|---|
0x00 0x01 – 0xFF |
Command succeeded. Command failed. |
1 | Command Complete |
0x00 0x01-0xFF |
Illegal value New TX Buffer size New buffer size in bytes. |
1 | Command Complete |
0x00-0xFF | Number of available buffers. | 1 | Command Complete |