You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ha...@apache.org on 2021/04/29 08:03:34 UTC
[mynewt-nimble] branch master updated: host/gap: fix doxygen for
ble_gap_ext_disc()
This is an automated email from the ASF dual-hosted git repository.
hauke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new 68c2594 host/gap: fix doxygen for ble_gap_ext_disc()
68c2594 is described below
commit 68c259464a36b0609fe0e0fbdf13efa160d9820c
Author: Hauke Petersen <ha...@fu-berlin.de>
AuthorDate: Mon Apr 19 17:26:39 2021 +0200
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 ec795f0..fa7ee56 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.