src.bluetooth_sig.gatt.characteristics.object_action_control_point¶
Object Action Control Point characteristic implementation.
Classes¶
Name | Description |
|---|---|
Parsed data from Object Action Control Point characteristic. |
|
Object Action Control Point opcodes per OTS specification. |
|
OACP response result codes per OTS specification. |
|
Object Action Control Point characteristic (0x2AC5). |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.object_action_control_point.OACPData¶
Bases:
msgspec.StructParsed data from Object Action Control Point characteristic.
- opcode¶
The OACP opcode.
- parameters¶
Raw parameter bytes (opcode-dependent).
- opcode: OACPOpcode¶
- class src.bluetooth_sig.gatt.characteristics.object_action_control_point.OACPOpcode¶
Bases:
enum.IntEnumObject Action Control Point opcodes per OTS specification.
- ABORT = 7¶
- CALCULATE_CHECKSUM = 3¶
- CREATE = 1¶
- DELETE = 2¶
- EXECUTE = 4¶
- READ = 5¶
- RESPONSE = 96¶
- WRITE = 6¶
- class src.bluetooth_sig.gatt.characteristics.object_action_control_point.OACPResultCode¶
Bases:
enum.IntEnumOACP response result codes per OTS specification.
- CHANNEL_UNAVAILABLE = 6¶
- INSUFFICIENT_RESOURCES = 4¶
- INVALID_OBJECT = 5¶
- INVALID_PARAMETER = 3¶
- OBJECT_LOCKED = 9¶
- OPCODE_NOT_SUPPORTED = 2¶
- OPERATION_FAILED = 10¶
- PROCEDURE_NOT_PERMITTED = 8¶
- SUCCESS = 1¶
- UNSUPPORTED_TYPE = 7¶
- class src.bluetooth_sig.gatt.characteristics.object_action_control_point.ObjectActionControlPointCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[OACPData]Object Action Control Point characteristic (0x2AC5).
org.bluetooth.characteristic.object_action_control_point
Control point for object actions in the Object Transfer Service (OTS). Opcodes include Create, Delete, Calculate Checksum, Execute, Read, Write, Abort, and Response.