change access levels to protected for various members of the standard services
This commit is contained in:
parent
b633e90c9c
commit
453681182a
5 changed files with 6 additions and 6 deletions
|
@ -140,7 +140,7 @@ private:
|
|||
uint8_t bytes[SIZEOF_VALUE_BYTES];
|
||||
};
|
||||
|
||||
private:
|
||||
protected:
|
||||
BLE &ble;
|
||||
TemperatureValueBytes valueBytes;
|
||||
ReadOnlyGattCharacteristic<TemperatureValueBytes> tempMeasurement;
|
||||
|
|
|
@ -73,7 +73,7 @@ public:
|
|||
alertLevel = newLevel;
|
||||
}
|
||||
|
||||
private:
|
||||
protected:
|
||||
/**
|
||||
* This callback allows receiving updates to the AlertLevel Characteristic.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
ble.setAdvertisingType(GapAdvertisingParams::ADV_NON_CONNECTABLE_UNDIRECTED);
|
||||
}
|
||||
|
||||
private:
|
||||
protected:
|
||||
BLE &ble;
|
||||
Payload data;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue