RoshanESP commented on code in PR #1537:
URL: https://github.com/apache/mynewt-nimble/pull/1537#discussion_r1339543564
##########
nimble/host/include/host/ble_gap.h:
##########
@@ -1524,6 +1524,30 @@ struct ble_gap_periodic_adv_params {
uint16_t itvl_max;
};
+/** @brief Periodic advertising enable parameters */
+struct ble_gap_periodic_adv_enable_params {
+#if MYNEWT_VAL(BLE_PERIODIC_ADV_ENH)
+ /** If include adi in aux_sync_ind PDU */
+ unsigned int include_adi:1;
+#endif
+};
+
+/** @brief Periodic advertising sync reporting parameters */
+struct ble_gap_periodic_adv_sync_report_params {
+#if MYNEWT_VAL(BLE_PERIODIC_ADV_ENH)
+ /** If filter duplicates */
+ unsigned int filter_duplicates:1;
Review Comment:
Done.
##########
nimble/host/include/host/ble_gap.h:
##########
@@ -1524,6 +1524,30 @@ struct ble_gap_periodic_adv_params {
uint16_t itvl_max;
};
+/** @brief Periodic advertising enable parameters */
+struct ble_gap_periodic_adv_enable_params {
+#if MYNEWT_VAL(BLE_PERIODIC_ADV_ENH)
+ /** If include adi in aux_sync_ind PDU */
+ unsigned int include_adi:1;
+#endif
+};
+
+/** @brief Periodic advertising sync reporting parameters */
+struct ble_gap_periodic_adv_sync_report_params {
+#if MYNEWT_VAL(BLE_PERIODIC_ADV_ENH)
+ /** If filter duplicates */
+ unsigned int filter_duplicates:1;
+#endif
+};
+
+/** @brief Periodic adv set data parameters */
+struct ble_gap_periodic_adv_set_data_params {
+#if MYNEWT_VAL(BLE_PERIODIC_ADV_ENH)
+ /** If include adi in aux_sync_ind PDU */
+ unsigned int update_did:1;
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]