bundle.ble.link =============== .. py:module:: bundle.ble.link .. autoapi-nested-parse:: Bleak-powered Nordic UART link management. Attributes ---------- .. autoapisummary:: bundle.ble.link.log bundle.ble.link.SERVICE_UUID bundle.ble.link.RX_CHAR_UUID bundle.ble.link.TX_CHAR_UUID Classes ------- .. autoapisummary:: bundle.ble.link.NordicLink Module Contents --------------- .. py:data:: log .. py:data:: SERVICE_UUID :value: '6e400001-b5a3-f393-e0a9-e50e24dcca9e' .. py:data:: RX_CHAR_UUID :value: '6e400002-b5a3-f393-e0a9-e50e24dcca9e' .. py:data:: TX_CHAR_UUID :value: '6e400003-b5a3-f393-e0a9-e50e24dcca9e' .. py:class:: NordicLink(*args, scanner: bundle.ble.scanner.Scanner | None = None, **kwargs) Bases: :py:obj:`bundle.core.Entity` High-level helper managing a single Nordic UART Service connection. .. py:attribute:: name :type: str :value: None .. py:attribute:: device_address :type: str | None :value: None .. py:attribute:: device_name :type: str | None :value: None .. py:attribute:: timeout :type: float :value: None .. py:method:: on_message(callback: collections.abc.Callable[[bytes], None]) -> None .. py:property:: is_connected :type: bool .. py:method:: connect() -> None :async: .. py:method:: disconnect() -> None :async: .. py:method:: send(payload: bytes) -> None :async: