Rename endpoint, format

This commit is contained in:
Ádám Kovács
2023-12-08 07:41:47 +01:00
parent dd92fbc62f
commit fd5fc9e5f8
27 changed files with 781 additions and 117 deletions

View File

@@ -46,7 +46,7 @@ class ClientService:
_end_handle: Incomplete
uuid: Incomplete
def __init__(self, connection, start_handle, end_handle, uuid) -> None: ...
def __str__(self): ...
def __str__(self) -> str: ...
async def characteristic(self, uuid, timeout_ms: int = ...): ...
def characteristics(self, uuid: Incomplete | None = ..., timeout_ms: int = ...): ...
def _start_discovery(connection, uuid: Incomplete | None = ...) -> None: ...
@@ -79,7 +79,7 @@ class ClientCharacteristic(BaseClientCharacteristic):
_indicate_event: Incomplete
_indicate_queue: Incomplete
def __init__(self, service, end_handle, value_handle, properties, uuid) -> None: ...
def __str__(self): ...
def __str__(self) -> str: ...
def _connection(self): ...
async def descriptor(self, uuid, timeout_ms: int = ...): ...
def descriptors(self, timeout_ms: int = ...): ...
@@ -95,6 +95,6 @@ class ClientCharacteristic(BaseClientCharacteristic):
class ClientDescriptor(BaseClientCharacteristic):
characteristic: Incomplete
def __init__(self, characteristic, dsc_handle, uuid) -> None: ...
def __str__(self): ...
def __str__(self) -> str: ...
def _connection(self): ...
def _start_discovery(characteristic, uuid: Incomplete | None = ...) -> None: ...