Merge branch 'feat/add_sync_cte_type_in_pa_sync' into 'master'
Feat/add sync cte type in pa sync Closes BLERP-1728 See merge request espressif/esp-idf!38315
This commit is contained in:
@@ -982,19 +982,27 @@ typedef struct {
|
||||
esp_ble_gap_sync_t filter_policy; /*!< Configures the filter policy for periodic advertising sync:
|
||||
0: Use Advertising SID, Advertiser Address Type, and Advertiser Address parameters to determine the advertiser to listen to.
|
||||
1: Use the Periodic Advertiser List to determine the advertiser to listen to. */
|
||||
#if (CONFIG_BT_BLE_FEAT_CREATE_SYNC_ENH)
|
||||
#if (CONFIG_BT_BLE_FEAT_CREATE_SYNC_ENH)
|
||||
esp_ble_gap_sync_t reports_disabled; /*!< Supported only by esp32c2, esp32c6, and esp32h2; can be set by menuconfig:
|
||||
0: Reporting initially enabled.
|
||||
1: Reporting initially disabled. */
|
||||
esp_ble_gap_sync_t filter_duplicates; /*!< Supported only by esp32c2, esp32c6, and esp32h2; can be set by menuconfig:
|
||||
0: Duplicate filtering initially disabled.
|
||||
1: Duplicate filtering initially enabled. */
|
||||
#endif
|
||||
#endif // (CONFIG_BT_BLE_FEAT_CREATE_SYNC_ENH)
|
||||
uint8_t sid; /*!< SID of the periodic advertising */
|
||||
esp_ble_addr_type_t addr_type; /*!< Address type of the periodic advertising */
|
||||
esp_bd_addr_t addr; /*!< Address of the periodic advertising */
|
||||
uint16_t skip; /*!< Maximum number of periodic advertising events that can be skipped */
|
||||
uint16_t sync_timeout; /*!< Synchronization timeout */
|
||||
#if (CONFIG_BT_BLE_FEAT_CTE_EN)
|
||||
uint8_t sync_cte_type; /*!< Whether to only synchronize to periodic advertising with certain types of CTE (Constant Tone Extension)
|
||||
bit 0: Do not sync to packets with an AoA CTE
|
||||
bit 1: Do not sync to packets with an AoD CTE with 1 μs slots
|
||||
bit 2: Do not sync to packets with an AoD CTE with 2 μs slots
|
||||
bit 3: Do not sync to packets with a type 3 CTE (currently reserved for future use)
|
||||
bit 4: Do not sync to packets without a CTE */
|
||||
#endif // BT_BLE_FEAT_CTE_EN
|
||||
} esp_ble_gap_periodic_adv_sync_params_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user