I want the GATT service tree exposed from a connected BleakClient to provide lookup helpers for discovered…
I want the GATT service tree exposed from a connected BleakClient to provide lookup helpers for discovered…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). services.get service() should accept an integer handle, a UUID string, or a uuid.UUID ; return the matching…
The task
`services.get_service()` should accept an integer handle, a UUID string, or a `uuid.UUID`; return the matching service; return `None` when nothing matches; and raise `BleakError` when a UUID matches more than one service so callers know to use a handle. `services.get_characteristic()` should have the same…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.