src.bluetooth_sig.gatt.characteristics.sc_control_point

SC Control Point characteristic (0x2A55).

Speed and Cadence sensor control point for calibration, cumulative value, and sensor location management.

References

Bluetooth SIG Cycling Speed and Cadence / Running Speed and Cadence org.bluetooth.characteristic.sc_control_point (GSS YAML)

Classes

Name

Description

SCControlPointCharacteristic

SC Control Point characteristic (0x2A55).

SCControlPointData

Parsed data from SC Control Point.

SCControlPointOpCode

SC Control Point Op Codes.

SCControlPointResponseValue

SC Control Point Response Values.

Module Contents

class src.bluetooth_sig.gatt.characteristics.sc_control_point.SCControlPointCharacteristic(info: src.bluetooth_sig.types.CharacteristicInfo | None = None, validation: src.bluetooth_sig.gatt.characteristics.characteristic_meta.ValidationConfig | None = None)

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[SCControlPointData]

SC Control Point characteristic (0x2A55).

org.bluetooth.characteristic.sc_control_point

Control point for Speed and Cadence sensor procedures. ROLE: CONTROL

allow_variable_length = True
min_length = 1
class src.bluetooth_sig.gatt.characteristics.sc_control_point.SCControlPointData

Bases: msgspec.Struct

Parsed data from SC Control Point.

opcode

The operation code.

parameter

Raw parameter bytes (variable per opcode). Empty if none.

opcode: SCControlPointOpCode
parameter: bytes = b''
class src.bluetooth_sig.gatt.characteristics.sc_control_point.SCControlPointOpCode

Bases: enum.IntEnum

SC Control Point Op Codes.

REQUEST_SUPPORTED_SENSOR_LOCATIONS = 4
RESPONSE_CODE = 16
SET_CUMULATIVE_VALUE = 1
START_SENSOR_CALIBRATION = 2
UPDATE_SENSOR_LOCATION = 3
class src.bluetooth_sig.gatt.characteristics.sc_control_point.SCControlPointResponseValue

Bases: enum.IntEnum

SC Control Point Response Values.

INVALID_PARAMETER = 3
OPERATION_FAILED = 4
OP_CODE_NOT_SUPPORTED = 2
SUCCESS = 1