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.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51Gap.h
- Revision:
 - 267:b310cade274e
 - Parent:
 - 265:04673a322cf9
 - Child:
 - 268:3a0047106213
 
--- a/nRF51Gap.h	Fri Jun 19 15:55:24 2015 +0100
+++ b/nRF51Gap.h	Fri Jun 19 15:55:24 2015 +0100
@@ -51,7 +51,7 @@
 
     virtual ble_error_t startAdvertising(const GapAdvertisingParams &);
     virtual ble_error_t stopAdvertising(void);
-    virtual ble_error_t connect(const Address_t, Gap::AddressType_t peerAddrType, const GapScanningParams &scanParams);
+    virtual ble_error_t connect(const Address_t, Gap::AddressType_t peerAddrType, const GapScanningParams &scanParams, const ConnectionParams_t& connectionParams);
     virtual ble_error_t disconnect(DisconnectionReason_t reason);
 
     virtual ble_error_t purgeAllBondingState(void) {return btle_purgeAllBondingState();}
    