ps2229

Results 4 comments of ps2229

were you able to solve the read issue?

In windows without using the use_cached it was giving incorrect values like 0x01 after using use_cached I got correct values . In android tried both no luck.

def scan1(self): loop = asyncio.get_event_loop() loop.run_until_complete(self.begin_scan1()) async def begin_scan1(self): async def callback(data): print('uu') print(data,'dataaaaaaa') a = [] scanned_devices = await bleak.BleakScanner.discover(1) if len(scanned_devices) == 0: print("NO DEVICES") scanned_devices.sort(key=lambda device: -device.rssi)...

> I think `use_cached` is a Windows-only option. And if it doesn't work without that option, then there is something wrong with Yes I read in the documentation use_cached only...