src.bluetooth_sig.gatt.characteristics.bss_control_point

BSS Control Point characteristic (0x2B2B).

Control point for the Binary Sensor Service.

The BSS protocol uses Split Header + Payload format. Messages contain a Message ID, Number of Parameters, and TLV-encoded parameters.

References

Bluetooth SIG Binary Sensor Service 1.0, Sections 3.1 and 4

Classes

Name

Description

BSSControlPointCharacteristic

BSS Control Point characteristic (0x2B2B).

BSSControlPointData

Parsed data from BSS Control Point.

Module Contents

class src.bluetooth_sig.gatt.characteristics.bss_control_point.BSSControlPointCharacteristic

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

BSS Control Point characteristic (0x2B2B).

org.bluetooth.characteristic.bss_control_point

Receives commands for the Binary Sensor Service using Split Header + Payload format.

Command message IDs are defined in BSSMessageID: GET_SENSOR_STATUS_COMMAND and SETTING_SENSOR_COMMAND.

allow_variable_length = True
max_length = 20
min_length = 1
class src.bluetooth_sig.gatt.characteristics.bss_control_point.BSSControlPointData

Bases: msgspec.Struct

Parsed data from BSS Control Point.

split_header

Parsed Split Header fields.

payload

Raw payload bytes (message content). Empty if none.

payload: bytes = b''
split_header: src.bluetooth_sig.types.bss.SplitHeader