High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 581:09687c0c9e1e, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:50 2015 +0100
- Parent:
- 580:f749b4a874e5
- Child:
- 582:4e46b5fe9d7e
- Commit message:
- Synchronized with git rev 56d3b330
Author: Rohit Grover
white space diffs.
Changed in this revision
public/Gap.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/Gap.h Fri Jun 19 15:52:50 2015 +0100 +++ b/public/Gap.h Fri Jun 19 15:52:50 2015 +0100 @@ -168,8 +168,8 @@ private: /* These functions must be defined in the sub-class */ - virtual ble_error_t setAddress(AddressType_t type, const Address_t address) = 0; - virtual ble_error_t getAddress(AddressType_t *typeP, Address_t address) = 0; + virtual ble_error_t setAddress(AddressType_t type, const Address_t address) = 0; + virtual ble_error_t getAddress(AddressType_t *typeP, Address_t address) = 0; virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &) = 0; virtual ble_error_t startAdvertising(const GapAdvertisingParams &) = 0; virtual ble_error_t stopAdvertising(void) = 0; @@ -300,7 +300,12 @@ } public: - void processConnectionEvent(Handle_t handle, AddressType_t peerAddrType, const Address_t peerAddr, AddressType_t ownAddrType, const Address_t ownAddr, const ConnectionParams_t *params) { + void processConnectionEvent(Handle_t handle, + AddressType_t peerAddrType, + const Address_t peerAddr, + AddressType_t ownAddrType, + const Address_t ownAddr, + const ConnectionParams_t *params) { state.connected = 1; if (onConnection) { onConnection(handle, peerAddrType, peerAddr, ownAddrType, ownAddr, params);