src.bluetooth_sig.gatt.characteristics.object_list_control_point¶
Object List Control Point characteristic implementation.
Classes¶
Name | Description |
|---|---|
Parsed data from Object List Control Point characteristic. |
|
Object List Control Point opcodes per OTS specification. |
|
OLCP response result codes per OTS specification. |
|
OLCP sort order values per OTS specification. |
|
Object List Control Point characteristic (0x2AC6). |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.object_list_control_point.OLCPData¶
Bases:
msgspec.StructParsed data from Object List Control Point characteristic.
- opcode¶
The OLCP opcode.
- parameters¶
Raw parameter bytes (opcode-dependent).
- opcode: OLCPOpcode¶
- class src.bluetooth_sig.gatt.characteristics.object_list_control_point.OLCPOpcode¶
Bases:
enum.IntEnumObject List Control Point opcodes per OTS specification.
- CLEAR_MARKING = 8¶
- FIRST = 1¶
- GO_TO = 5¶
- LAST = 2¶
- NEXT = 4¶
- ORDER = 6¶
- PREVIOUS = 3¶
- REQUEST_NUMBER_OF_OBJECTS = 7¶
- RESPONSE = 112¶
- class src.bluetooth_sig.gatt.characteristics.object_list_control_point.OLCPResultCode¶
Bases:
enum.IntEnumOLCP response result codes per OTS specification.
- INVALID_PARAMETER = 3¶
- NO_OBJECT = 7¶
- OBJECT_ID_NOT_FOUND = 8¶
- OPCODE_NOT_SUPPORTED = 2¶
- OPERATION_FAILED = 4¶
- OUT_OF_BOUNDS = 5¶
- SUCCESS = 1¶
- TOO_MANY_OBJECTS = 6¶
- class src.bluetooth_sig.gatt.characteristics.object_list_control_point.OLCPSortOrder¶
Bases:
enum.IntEnumOLCP sort order values per OTS specification.
- CURRENT_SIZE_ASCENDING = 3¶
- CURRENT_SIZE_DESCENDING = 19¶
- FIRST_CREATED_ASCENDING = 4¶
- FIRST_CREATED_DESCENDING = 20¶
- LAST_MODIFIED_ASCENDING = 5¶
- LAST_MODIFIED_DESCENDING = 21¶
- NAME_ASCENDING = 1¶
- NAME_DESCENDING = 17¶
- TYPE_ASCENDING = 2¶
- TYPE_DESCENDING = 18¶
- class src.bluetooth_sig.gatt.characteristics.object_list_control_point.ObjectListControlPointCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[OLCPData]Object List Control Point characteristic (0x2AC6).
org.bluetooth.characteristic.object_list_control_point
Control point for object list navigation in the Object Transfer Service (OTS). Opcodes include First, Last, Previous, Next, Go To, Order, Request Number of Objects, Clear Marking, and Response.