Bluetooth: host: Add IQ reports handing in DF connecte mode
Add reception of IQ sample report from controller. Add applications notification about received reports. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
f18637fe30
commit
a26ee7ce73
7 changed files with 123 additions and 0 deletions
|
@ -120,6 +120,28 @@ struct bt_df_conn_cte_rx_param {
|
|||
const uint8_t *ant_ids;
|
||||
};
|
||||
|
||||
struct bt_df_conn_iq_samples_report {
|
||||
/** PHY that was used to receive PDU with CTE that was sampled. */
|
||||
uint8_t rx_phy;
|
||||
/** Channel index used to receive PDU with CTE that was sampled. */
|
||||
uint8_t chan_idx;
|
||||
/** The RSSI of the PDU with CTE (excluding CTE). */
|
||||
int16_t rssi;
|
||||
/** Id of antenna used to measure the RSSI. */
|
||||
uint8_t rssi_ant_id;
|
||||
/** Type of CTE (@ref bt_df_cte_type). */
|
||||
uint8_t cte_type;
|
||||
/** Duration of slots when received CTE type is AoA (@ref bt_df_antenna_switching_slot). */
|
||||
uint8_t slot_durations;
|
||||
/** Status of received PDU with CTE (@ref bt_df_packet_status). */
|
||||
uint8_t packet_status;
|
||||
/** Value of connection event counter when the CTE was received and sampled. */
|
||||
uint16_t conn_evt_counter;
|
||||
/** Number of IQ samples in report. */
|
||||
uint8_t sample_count;
|
||||
/** Pinter to IQ samples data. */
|
||||
struct bt_hci_le_iq_sample const *sample;
|
||||
};
|
||||
/**
|
||||
* @brief Set or update the Constant Tone Extension parameters for periodic advertising set.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue