SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
The phyMode.coding parameter of the Bluetooth 5 commands is used when the coded PHY is selected, which determines the coding rate of transmitted packets. The phyMode.coding parameter has a different meaning for link layer connection commands (master and slave) and other commands.
For master and slave commands, the pParams->maxLenLowRate parameter is also used for determining the coding rate. If the length of the transmitted packet is greater than pParams->maxLenLowRate, the packet is transmitted with S = 2 (500 kbps) regardless of phyMode.coding. This feature can be used to ensure that the maximum packet duration is not violated. In other cases, the phyMode.coding parameter is used, and the meaning of the bits are described in Table 26-126.
Bit Number | Description |
---|---|
0 | 0: Default to S = 8 (125 kbps) 1: Default to S = 2 (500 kbps) |
1 | 0: Do not modify default rate based on last received packet 1: Always use S = 8 (125 kbps) if the last received packet in the same connection event was coded with S = 8 (125 kbps) |
2 | 0: Use default rate for empty packets 1: Always use S = 8 (125 kbps) for empty packets |
3 | 0: Use default rate for retransmissions 1: Always use S = 8 (125 kbps) for retransmissions |
4–5 | Reserved |
For the other Bluetooth 5 commands, the meaning of phyMode.coding is given in Table 26-127. For the CMD_BLE5_ADV_EXT and CMD_BLE5_TX_TEST commands, bits 1 and 2 are not applicable. For the CMD_BLE5_SCANNER and CMD_BLE5_INITIATOR commands, bit 0 is not applicable. For the CMD_BLE5_ADV_AUX command, all bit 0, bit 1, and bit 2 are applicable.
Bit Number | Description |
---|---|
0 | Code rate to use for advertising indications (ADV_EXT_IND, AUX_ADV_IND, AUX_CHAIN_IND) and TX test packets 0: Use S = 8 (125 kbps) 1: Use S = 2 (500 kbps) |
1 | Default code rate to use for request and response packets (AUX_SCAN_REQ, AUX_CONNECT_REQ, AUX_SCAN_RSP, AUX_CONNECT_RSP) 0: Default to S = 8 (125 kbps) 1: Default to S = 2 (500 kbps) |
2 | 0: Use default rate for request and response packets 1: Always use S = 8 (125 kbps) for a request or response packet if the last received packet was coded with S = 8 (125 kbps) |
3–5 | Reserved |