white space diffs.
This commit is contained in:
parent
5f5a312d40
commit
56d3b330e1
1 changed files with 8 additions and 3 deletions
11
public/Gap.h
11
public/Gap.h
|
@ -168,8 +168,8 @@ public:
|
|||
|
||||
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 @@ protected:
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue