Add test for Heart Rate and Battery Service

This commit is contained in:
Josh Wu
2026-01-08 16:19:06 +08:00
parent 884b1c20e4
commit d2df76f6f4
5 changed files with 151 additions and 34 deletions

View File

@@ -1406,7 +1406,7 @@ class Peer:
async def request_name(self) -> str:
return await self.connection.request_remote_name()
async def __aenter__(self):
async def __aenter__(self) -> Self:
await self.discover_services()
for service in self.services:
await service.discover_characteristics()