-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
When using this code:
async with SMPClient(SMPBLETransport(), "00:11:22:33:44:55") as client:
# do stuffthe timeout on the BLE scan when using an address is only 5 seconds and I don't see any way to modify it. 5 seconds is awfully short for BLE devices which have slow advertising intervals and when the environment has a lot of Bluetooth traffic. The specification allows the advertising interval to go up to 10 seconds.
I'm mainly concerned about the connect call which isn't directly called by my own script:
async def __aenter__(self) -> "SMPClient":
await self.connect()
return selfI am open to submitting a PR for this but want to ask first if the maintainers are open to this idea. :)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request