![]() |
nrfxlib API 3.3.99
|
LE Periodic Advertising Report [v1]. More...
#include <sdc_hci_cmd_le.h>
Data Fields | |
| uint16_t | sync_handle |
| int8_t | tx_power |
| int8_t | rssi |
| uint8_t | cte_type |
| uint8_t | data_status |
| uint8_t | data_length |
| uint8_t | data [] |
LE Periodic Advertising Report [v1].
The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.7.65.15
This event indicates that the Controller has received a periodic advertisement or has failed to receive an AUX_SYNC_SUBEVENT_IND PDU.
The Sync_Handle parameter identifies the periodic advertising train that the report relates to.
The RSSI parameter contains the RSSI value, ignoring any Constant Tone Extension. If the Controller supports the Connectionless CTE Receiver feature, RSSI shall not be set to 0x7F. When multiple advertising packets are used to complete a periodic advertising report (e.g., a packet containing an AUX_SYNC_IND PDU combined with one containing an AUX_CHAIN PDU), the RSSI parameter shall be set based on the last packet received and the TX_Power parameter shall be set based on the AUX_SYNC_IND PDU if that contains a TxPower field and shall be set to 0x7F otherwise. However, the second or subsequent events for the same periodic advertisement may instead have a TX_Power value of 0x7F.
The Controller may split the data from a single periodic advertisement (whether one PDU or several) into several reports. If so, each report except the last shall have a Data_Status of "incomplete, more data to come", while the last shall have the value "complete". No further reports shall be sent for a given periodic advertisement after one with a Data_Status other than "incomplete, more data to come".
A Data_Status of "incomplete, data truncated" indicates that the Controller attempted to receive an AUX_CHAIN_IND PDU but was not successful or received it but was unable to store the data.
The CTE_Type parameter indicates the type of Constant Tone Extension in the periodic advertising packets.
The Periodic_Event_Counter parameter indicates the periodic advertising event counter (paEventCounter) of the event that the periodic advertising packet was received in.
The Subevent parameter indicates the Periodic Advertising with Responses subevent that the periodic advertising packet was received in. If the Periodic Advertising does not have subevents, then Subevent shall be set to 0xFF.
If the Controller receives an AUX_CHAIN_IND PDU with no AdvData, it should send the report (or the last report if it has split the data) immediately without waiting for any subsequent AUX_CHAIN_IND PDUs.