src.bluetooth_sig.gatt.characteristics.ln_control_point¶
LN Control Point characteristic implementation.
Classes¶
Name | Description |
|---|---|
LN Control Point characteristic. |
|
Parsed data from LN Control Point characteristic. |
|
LN Control Point operation codes as per Bluetooth SIG specification. |
|
LN Control Point response values as per Bluetooth SIG specification. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.ln_control_point.LNControlPointCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[LNControlPointData]LN Control Point characteristic.
Used to enable device-specific procedures related to the exchange of location and navigation information.
- max_length = 18¶
- min_length = 1¶
- class src.bluetooth_sig.gatt.characteristics.ln_control_point.LNControlPointData¶
Bases:
msgspec.StructParsed data from LN Control Point characteristic.
- op_code: LNControlPointOpCode¶
- request_op_code: LNControlPointOpCode | None = None¶
- response_value: LNControlPointResponseValue | None = None¶
- class src.bluetooth_sig.gatt.characteristics.ln_control_point.LNControlPointOpCode¶
Bases:
enum.IntEnumLN Control Point operation codes as per Bluetooth SIG specification.
- MASK_LOCATION_AND_SPEED_CHARACTERISTIC_CONTENT = 2¶
- NAVIGATION_CONTROL = 3¶
- REQUEST_NAME_OF_ROUTE = 5¶
- REQUEST_NUMBER_OF_ROUTES = 4¶
- RESPONSE_CODE = 32¶
- SELECT_ROUTE = 6¶
- SET_CUMULATIVE_VALUE = 1¶
- SET_ELEVATION = 8¶
- SET_FIX_RATE = 7¶