From 68c259464a36b0609fe0e0fbdf13efa160d9820c Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Mon, 19 Apr 2021 17:26:39 +0200 Subject: [PATCH] host/gap: fix doxygen for ble_gap_ext_disc() Documentation for the parameters `filter_duplicates` and `filter_policy` for ble_gap_ext_disc() was missing. --- nimble/host/include/host/ble_gap.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nimble/host/include/host/ble_gap.h b/nimble/host/include/host/ble_gap.h index ec795f0e2..fa7ee562d 100644 --- a/nimble/host/include/host/ble_gap.h +++ b/nimble/host/include/host/ble_gap.h @@ -1592,6 +1592,16 @@ int ble_gap_disc(uint8_t own_addr_type, int32_t duration_ms, * its last Scan Duration until it begins the * subsequent Scan Duration. Specify 0 to scan * continuously. Units are 1.28 second. + * @param filter_duplicates Set to enable packet filtering in the + * controller + * @param filter_policy Set the used filter policy. Valid values are: + * - BLE_HCI_SCAN_FILT_NO_WL + * - BLE_HCI_SCAN_FILT_USE_WL + * - BLE_HCI_SCAN_FILT_NO_WL_INITA + * - BLE_HCI_SCAN_FILT_USE_WL_INITA + * - BLE_HCI_SCAN_FILT_MAX + * This parameter is ignored unless + * @p filter_duplicates is set. * @param limited If limited discovery procedure should be used. * @param uncoded_params Additional arguments specifying the particulars * of the discovery procedure for uncoded PHY.