src.bluetooth_sig.gatt.characteristics.http_control_point

HTTP Control Point characteristic (0x2ABA).

Classes

Name

Description

HTTPControlPointCharacteristic

HTTP Control Point characteristic (0x2ABA).

HTTPControlPointOpCode

HTTP Control Point operation codes per HPS specification.

Module Contents

class src.bluetooth_sig.gatt.characteristics.http_control_point.HTTPControlPointCharacteristic

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

HTTP Control Point characteristic (0x2ABA).

org.bluetooth.characteristic.http_control_point

Used to initiate HTTP requests on the HTTP Proxy Service.

expected_length: int = 1
class src.bluetooth_sig.gatt.characteristics.http_control_point.HTTPControlPointOpCode

Bases: enum.IntEnum

HTTP Control Point operation codes per HPS specification.

HTTPS_DELETE_REQUEST = 10
HTTPS_GET_REQUEST = 6
HTTPS_HEAD_REQUEST = 7
HTTPS_POST_REQUEST = 8
HTTPS_PUT_REQUEST = 9
HTTP_DELETE_REQUEST = 5
HTTP_GET_REQUEST = 1
HTTP_HEAD_REQUEST = 2
HTTP_POST_REQUEST = 3
HTTP_PUT_REQUEST = 4
HTTP_REQUEST_CANCEL = 11