High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
589:d3f7f22654e7
Parent:
587:b53dd328822d
Child:
590:60b07657557e
--- a/public/BLEDevice.h	Fri Jun 19 15:52:51 2015 +0100
+++ b/public/BLEDevice.h	Fri Jun 19 15:52:51 2015 +0100
@@ -862,11 +862,13 @@
 
 inline ble_error_t
 BLEDevice::connect(const Gap::Address_t peerAddr, Gap::AddressType_t peerAddrType) {
-    return transport->getGap().connect(peerAddr, peerAddrType, scanningParams);
+    Gap::ConnectionParams_t connectionParams;
+    return transport->getGap().connect(peerAddr, peerAddrType, scanningParams, connectionParams);
 }
 inline ble_error_t
 BLEDevice::connect(const Gap::Address_t peerAddr, Gap::AddressType_t peerAddrType, const GapScanningParams &scanParams) {
-    return transport->getGap().connect(peerAddr, peerAddrType, scanParams);
+    Gap::ConnectionParams_t connectionParams;
+    return transport->getGap().connect(peerAddr, peerAddrType, scanParams, connectionParams);
 }
 
 inline ble_error_t