change access levels to protected for various members of the standard services

This commit is contained in:
Rohit Grover 2015-07-01 13:14:26 +01:00
parent b633e90c9c
commit 453681182a
5 changed files with 6 additions and 6 deletions

View file

@ -140,7 +140,7 @@ private:
uint8_t bytes[SIZEOF_VALUE_BYTES];
};
private:
protected:
BLE &ble;
TemperatureValueBytes valueBytes;
ReadOnlyGattCharacteristic<TemperatureValueBytes> tempMeasurement;

View file

@ -73,7 +73,7 @@ public:
alertLevel = newLevel;
}
private:
protected:
/**
* This callback allows receiving updates to the AlertLevel Characteristic.
*

View file

@ -159,7 +159,7 @@ public:
return receiveBuffer[receiveBufferIndex++];
}
private:
protected:
/**
* This callback allows the UART service to receive updates to the
* txCharacteristic. The application should forward the call to this
@ -177,7 +177,7 @@ private:
}
}
private:
protected:
BLE &ble;
uint8_t receiveBuffer[BLE_UART_SERVICE_MAX_DATA_LEN]; /**< The local buffer into which we receive

View file

@ -305,7 +305,7 @@ class URIBeaconConfigService {
reinterpret_cast<uint8_t *>(params.advPowerLevels), sizeof(PowerLevels_t));
}
private:
protected:
void lockAuthorizationCallback(GattWriteAuthCallbackParams *authParams) {
if (lockedState) {
authParams->authorizationReply = AUTH_CALLBACK_REPLY_ATTERR_INSUF_AUTHORIZATION;

View file

@ -66,7 +66,7 @@ public:
ble.setAdvertisingType(GapAdvertisingParams::ADV_NON_CONNECTABLE_UNDIRECTED);
}
private:
protected:
BLE &ble;
Payload data;
};