src.bluetooth_sig.gatt.characteristics.user_control_point

User Control Point characteristic (0x2A9F).

Control point for the User Data Service.

References

Bluetooth SIG User Data Service 1.0

Classes

Name

Description

UserControlPointCharacteristic

User Control Point characteristic (0x2A9F).

UserControlPointData

Parsed data from User Control Point.

UserControlPointOpCode

User Control Point Op Codes.

Module Contents

class src.bluetooth_sig.gatt.characteristics.user_control_point.UserControlPointCharacteristic

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

User Control Point characteristic (0x2A9F).

org.bluetooth.characteristic.user_control_point

Control point for user management in the User Data Service.

allow_variable_length = True
min_length = 1
class src.bluetooth_sig.gatt.characteristics.user_control_point.UserControlPointData

Bases: msgspec.Struct

Parsed data from User Control Point.

opcode

The operation code.

parameter

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

opcode: UserControlPointOpCode
parameter: bytes = b''
class src.bluetooth_sig.gatt.characteristics.user_control_point.UserControlPointOpCode

Bases: enum.IntEnum

User Control Point Op Codes.

CONSENT = 2
DELETE_USER = 5
DELETE_USER_DATA = 3
LIST_ALL_USERS = 4
REGISTER_NEW_USER = 1
RESPONSE = 32