Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: public/Gap.h
- Revision:
 - 442:c120ffca22fa
 - Parent:
 - 441:2d864886aeca
 - Child:
 - 444:0ecf7ce69172
 
diff -r 2d864886aeca -r c120ffca22fa public/Gap.h
--- a/public/Gap.h	Fri Jun 19 15:51:56 2015 +0100
+++ b/public/Gap.h	Fri Jun 19 15:51:56 2015 +0100
@@ -177,7 +177,7 @@
     virtual uint16_t    getMinAdvertisingInterval(void) const                                      = 0;
     virtual uint16_t    getMinNonConnectableAdvertisingInterval(void) const                        = 0;
     virtual uint16_t    getMaxAdvertisingInterval(void) const                                      = 0;
-    virtual ble_error_t connect(const Address_t peerAddr, Gap::AddressType_t peerAddrType)         = 0;
+    virtual ble_error_t connect(const Address_t peerAddr, Gap::AddressType_t peerAddrType, const GapScanningParams &scanParams) = 0;
     virtual ble_error_t disconnect(DisconnectionReason_t reason)                                   = 0;
     virtual ble_error_t getPreferredConnectionParams(ConnectionParams_t *params)                   = 0;
     virtual ble_error_t setPreferredConnectionParams(const ConnectionParams_t *params)             = 0;
    