-
- All Implemented Interfaces:
-
no.nordicsemi.android.ble.common.profile.sc.SensorLocationTypes
public final class SpeedAndCadenceControlPointData implements SensorLocationTypes
-
-
Method Summary
Modifier and Type Method Description static DatasetCumulativeValue(long value)Sets cumulative value. static DatastartSensorCalibration()Starts the calibration of the RSC Sensor. static DataupdateSensorLocation(int location)Update to the location of the sensor with the value sent as parameter to this op code. static DatarequestSupportedSensorLocations()Request a list of supported locations where the sensor can be attached. -
-
Method Detail
-
setCumulativeValue
static Data setCumulativeValue(long value)
Sets cumulative value. The value parameter is of type long to allow setting valuefrom range 231-1 to 232.
- Parameters:
value- new cumulative value.
-
startSensorCalibration
static Data startSensorCalibration()
Starts the calibration of the RSC Sensor.
-
updateSensorLocation
static Data updateSensorLocation(int location)
Update to the location of the sensor with the value sent as parameter to this op code.
- Parameters:
location- new location id (UINT8).
-
requestSupportedSensorLocations
static Data requestSupportedSensorLocations()
Request a list of supported locations where the sensor can be attached.
-
-
-
-