SWCU191 February 2022 CC1311P3 , CC1311R3 , CC2651P3 , CC2651R3 , CC2651R3SIPA
Bit Index | Bit Field Name | Type | Description |
---|---|---|---|
0 | bAutoFlushIgnored | W | If 1, automatically remove ignored packets from RX queue. |
1 | bAutoFlushCrcErr | W | If 1, automatically remove packets with CRC error from RX queue. |
2 | bAutoFlushEmpty | W | If 1, automatically remove empty packets from RX queue. |
3 | bIncludeLenByte | W | If 1, include the received length byte in the stored packet; otherwise discard it. |
4 | bIncludeCrc | W | If 1, include the received CRC field in the stored packet; otherwise discard it. |
5 | bAppendRssi | W | If 1, append an RSSI byte to the packet in the RX queue. |
6 | bAppendStatus | W | If 1, append a status word to the packet in the RX queue. |
7 | bAppendTimestamp | W | If 1, append a timestamp to the packet in the RX queue. |
Bit Index | Bit Field Name | Type | Description |
---|---|---|---|
0 | lastRxSn | R/W | The SN bit of the header of the last packet received with CRC OK |
1 | lastTxSn | R/W | The SN bit of the header of the last transmitted packet |
2 | nextTxSn | R/W | The SN bit of the header of the next packet to transmit |
3 | bFirstPkt | R/W | For slave: 0 if a packet is transmitted on the connection; 1 otherwise |
4 | bAutoEmpty | R/W | 1 if the last transmitted packet was an auto-empty packet |
5 | bLlCtrlTx | R/W | 1 if the last transmitted packet was an LL control packet (LLID = 11) |
6 | bLlCtrlAckRx | R/W | 1 if the last received packet was the ACK of an LL control packet |
7 | bLlCtrlAckPending | R/W | 1 if the last successfully received packet was an LL control packet, which has not yet been ACKed |
The whitelist structure has the form of an array. Each element consists of 8 bytes, as depicted in Table 26-118. The first byte of the first element tells the number of entries, while this byte is reserved in the remaining entries. The second byte contains some configuration bits, and the remaining 6 bytes contain the address.
Byte Index | Field Name | Bits | Bit Field Name | Type | Description |
---|---|---|---|---|---|
0 | size | W | Number of while list entries. Used in the first entry of the list only. | ||
1 | conf | 0 | bEnable | W | 1 if the entry is in use, 0 if the entry is not in use |
1 | addrType | W | The type address in the entry public (0) or random (1) | ||
2 | bWlIgn | R/W | 1 if the entry is to be ignored by a scanner if the AdvDataInfo field is not present, 0 otherwise. Used to mask out entries that have already been scanned and reported. | ||
3 | Reserved | ||||
4 | bIrkValid | R/W | 1 if a valid IRK exists, so that the entry is to be ignored by an initiator; 0 otherwise | ||
5–7 | Reserved | ||||
2–3 | address | W | Least significant 16 bits of the address contained in the entry | ||
4–7 | addressHi | W | Most significant 32 bits of the address contained in the entry |
The ADI list has the form of an array that consists of 16 entries of the type given in Table 26-119.
Bit Index | Bit Field Name | Type | Description |
---|---|---|---|
0–11 | advDataId | R/W | If mode = 1: Last Advertising Data ID (DID) for the Advertising Set ID (SID) corresponding to the entry number in the array |
12–13 | mode | R/W | 0: Entry is invalid (always receive packet with the given SID) 1: Entry is valid (ignore packets with the given SID where DID equals advDataId) 2: Entry is blocked (always ignore packet with the given SID) 3: Reserved |
14–15 | Reserved |
Bit Index | Bit Field Name | Type | Description |
---|---|---|---|
0–5 | channel | R | The channel on which the packet was received, provided channel is in the range 0–39; otherwise 0x3F |
6 | bIgnore | R | 1 if the packet is marked as ignored; 0 otherwise |
7 | bCrcErr | R | 1 if the packet was received with CRC error; 0 otherwise |
Bit Index | Bit Field Name | Type | Description |
---|---|---|---|
0–5 | Channel | R | The channel on which the packet was received, provided channel is in the range 0–39; otherwise 0x3F |
6 | bIgnore | R | 1 if the packet is marked as ignored; 0 otherwise |
7 | bCrcErr | R | 1 if the packet was received with CRC error; 0 otherwise |
8–9 | phyMode | R | The PHY on which the packet was received 0: 1 Mbps 1: 2 Mbps 2: Coded, S = 8 (125 kbps) 3: Coded, S = 2 (500 kbps) |
10–15 | Reserved |
The master and slave output structure field pktStatus has the format listed in Table 26-122. The bTimeStampValid bit is set to 0 by the radio CPU at the start of the operation and to 1 if a timestamp is written to the output structure (this happens for slave operation only). The bLastCrcErr bit is set according to the CRC result when a packet is fully received; if no packet is received, then this bit remains unaffected. The remaining bits are set when a packet is received with CRC OK; if no packet is correctly received, then these bits remain unaffected.
Bit Index | Bit Field Name | Type | Description |
---|---|---|---|
0 | bTimeStampValid | R/W | 1 if a valid timestamp is written to timeStamp; 0 otherwise |
1 | bLastCrcErr | R/W | 1 if the last received packet had CRC error; 0 otherwise |
2 | bLastIgnored | R/W | 1 if the last received packet with CRC OK was ignored; 0 otherwise |
3 | bLastEmpty | R/W | 1 if the last received packet with CRC OK was empty; 0 otherwise |
4 | bLastCtrl | R/W | 1 if the last received packet with CRC OK was an LL control packet; 0 otherwise |
5 | bLastMd | R/W | 1 if the last received packet with CRC OK had MD = 1; 0 otherwise |
6 | bLastAck | R/W | 1 if the last received packet with CRC OK was an ACK of a transmitted packet; 0 otherwise |
7 | Reserved |
Byte Index | Field Name | Bits | Bit Field Name | Type | Description |
---|---|---|---|---|---|
0 | extHdrInfo | 0–5 | length | W | Extended header length |
6–7 | advMode | W | Advertiser mode as defined in Bluetooth low energy: 0: Nonconnectable, nonscannable 1: Connectable, nonscannable 2: Nonconnectable, scannable 3: Reserved | ||
1 | extHdrFlags | W | Extended header flags as defined in Bluetooth low energy | ||
2 | extHdrConfig | 0 | bSkipAdvA | W | 0: AdvA is present in extended payload if configured in extHdrFlags. 1: AdvA is inserted automatically from command structure if configured in extHdrFlags and is omitted from extended header. |
1 | bSkipTargetA | W | 0: TargetA is present in extended payload if configured in extHdrFlags. For response messages, the value is replaced by the received address when sending. 1: TargetA is inserted automatically from command structure or received address if configured in extHdrFlags and is omitted from extended header. | ||
2 | deviceAddrType | W | If bSkipAdvA = 0: The type of the device address in extended header buffer public (0) or random (1) | ||
3 | targetAddrType | W | If bSkipAdvA = 0: The type of the target address in extended header buffer public (0) or random (1) | ||
4–7 | Reserved | ||||
3 | advDataLen | W | Size of payload buffer | ||
4–7 | pExtHeader | W | Pointer to buffer containing extended header. If no fields except extended header flags, automatic advertiser address, or automatic target address are present, pointer may be NULL. | ||
8–11 | pAdvData | W | Pointer to buffer containing advData. If advDataLen = 0, pointer may be NULL. |