Skip to content

module bluerpc_client.bleak

Global Variables

  • DEFAULT_MTU
  • CONNECT_FREE_SLOT_TIMEOUT
  • WAIT_SLOT_INTERVAL

function grpc_error_as_bleak_error

grpc_error_as_bleak_error(func: ~_WrapFuncType)  ~_WrapFuncType

Define a wrapper throw grpc errors as BleakErrors.


class BlueRPCBleakClient

BlueRPC Bleak Client

Implements: https://bleak.readthedocs.io/en/latest/api/client.html

method __init__

__init__(
    address_or_ble_device: BLEDevice | str,
    *args: Any,
    client: Any,
    **kwargs: Any
)

property is_connected

Is Connected.


property mtu_size

Get ATT MTU size for active connection.


function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

function _async_wrap_bluetooth_operation

_async_wrap_bluetooth_operation(
    self: BaseBleakClient,
    *args: Any,
    **kwargs: Any
)  Any

This file was automatically generated via lazydocs.