MicroBit as BLE gamepad
Fork of nRF51822 by
Diff: source/nRF5xGap.h
- Revision:
- 581:1dd90ec7527b
- Parent:
- 578:78f69f1be114
- Child:
- 596:b66851544182
diff -r 00846a4bbc8c -r 1dd90ec7527b source/nRF5xGap.h --- a/source/nRF5xGap.h Mon Jan 11 10:19:26 2016 +0000 +++ b/source/nRF5xGap.h Mon Jan 11 10:19:27 2016 +0000 @@ -59,7 +59,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 ConnectionParams_t *connectionParams, const GapScanningParams *scanParams); + virtual ble_error_t connect(const Address_t, BLEProtocol::AddressType_t peerAddrType, const ConnectionParams_t *connectionParams, const GapScanningParams *scanParams); virtual ble_error_t disconnect(Handle_t connectionHandle, DisconnectionReason_t reason); virtual ble_error_t disconnect(DisconnectionReason_t reason);