We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb3d3fd commit 588e68bCopy full SHA for 588e68b
features/FEATURE_BLE/ble/Gap.h
@@ -2102,6 +2102,21 @@ class Gap {
2102
return rc;
2103
}
2104
2105
+ /**
2106
+ * Set the parameters used during a scan procedure.
2107
+ *
2108
+ * @param[in] scanningParams Parameter struct containing the interval, period,
2109
+ * timeout and active scanning toggle.
2110
2111
+ * @return BLE_ERROR_NONE if the scan parameters were correctly set.
2112
2113
+ * @note All restrictions from setScanParams(uint16_t, uint16_t, uint16_t, bool) apply.
2114
+ */
2115
+ ble_error_t setScanParams(GapScanningParams scanningParams) {
2116
+ _scanningParams = scanningParams;
2117
+ return BLE_ERROR_NONE;
2118
+ }
2119
+
2120
/**
2121
* Set the interval parameter used during scanning procedures.
2122
*
0 commit comments