File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 23
23
#include " GapAdvertisingParams.h"
24
24
#include " GapScanningParams.h"
25
25
#include " GapEvents.h"
26
+ #include " ble/GapScanParameters.h"
26
27
#include " CallChainOfFunctionPointersWithContext.h"
27
28
#include " FunctionPointerWithContext.h"
28
29
#include " platform/mbed_toolchain.h"
@@ -1281,17 +1282,18 @@ class Gap {
1281
1282
1282
1283
/* scanning */
1283
1284
1284
- ble_error_t setScanParameters (
1285
- const GapScanningParams* params
1285
+ virtual ble_error_t setScanParameters (
1286
+ const GapScanParameters& params
1286
1287
) {
1288
+ use_non_deprecated_scan_api ();
1287
1289
/* Requesting action from porter(s): override this API if this capability is supported. */
1288
1290
return BLE_ERROR_NOT_IMPLEMENTED;
1289
1291
};
1290
1292
1291
- ble_error_t startScan (
1293
+ virtual ble_error_t startScan (
1292
1294
ble::scanning_filter_duplicates_t filtering = ble::SCAN_FILTER_DUPLICATES_DISABLED,
1293
- uint32_t duration = 0 ,
1294
- uint32_t period = 0
1295
+ uint16_t duration = 0 ,
1296
+ uint16_t period = 0
1295
1297
) {
1296
1298
use_non_deprecated_scan_api ();
1297
1299
return BLE_ERROR_NOT_IMPLEMENTED;
You can’t perform that action at this time.
0 commit comments