Unable to Discover/Connect to iOS Devices
See original GitHub issue- bleak version: 0.4.0
- Python version: 3.7.3
- Operating System: Windows 10 version 1809
Description
I tried running the discover.py
example, and my iOS 12.1.4 iPhone SE was not recognized. I had the Bluetooth menu open on the device so it would be discoverable.
I tried getting the device’s services by using the get_services.py
example with the iOS device’s Bluetooth address filled into the script. The iOS device was opened to the Bluetooth menu. The device was not found.
Traceback for get_services.py
:
Traceback (most recent call last):
File "C:/Users/xx/services.py", line 21, in <module>
loop.run_until_complete(print_services(mac_addr, loop))
File "C:\Users\xx\AppData\Local\Programs\Python\Python37\lib\asyncio\base_events.py", line 584, in run_until_complete
return future.result()
File "C:/Users/xx/services.py", line 14, in print_services
async with BleakClient(mac_addr, loop=loop) as client:
File "C:\Users\xx\AppData\Roaming\Python\Python37\site-packages\bleak\backends\client.py", line 41, in __aenter__
await self.connect()
File "C:\Users\xx\AppData\Roaming\Python\Python37\site-packages\bleak\backends\dotnet\client.py", line 97, in connect
"Device with address {0} was " "not found.".format(self.address)
bleak.exc.BleakError: Device with address f0:xx:xx:xx:xx:xx was not found.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
If you can't connect a Bluetooth accessory to your iPhone or iPad
Try these steps first · Make sure that your Bluetooth accessory and iOS or iPadOS device are close to each other. · Turn...
Read more >Learn more: No devices found - iPhone & iPad - Google Support
Step 1. Make sure Local Network Access is enabled · On your iOS device's home screen (iOS 14 or later), tap Settings. ·...
Read more >iPhone Can't Find Bluetooth Devices? Here's The Fix!
An Apple expert explains why your iPhone can't find Bluetooth devices and shows you how to fix the problem for good.
Read more >Fix Find My Unable to Connect to Server error on iPhone 13
Solution #1: Restart your iPhone (soft reset). · Simultaneously press and hold the Side button and Volume Up button for a few seconds....
Read more >6 ways to fix an iPhone that won't connect to Bluetooth
You can also try updating the iPhone's software, resetting network settings, and restarting the device. Bluetooth is one of the great ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, apparently I was premature in closing this. I did not understand what you actually wanted to do.
I can detect multiple iOS devices using the
discover
method, but strangely enough not my own. I was also capable of connecting to an iOS device and request some data, but not from all characteristics, so I think there needs to be some modifications in the code to allow for handling access.I will try to find out why all devices does not show up.
Did you fix the problem? I paired my device with raspberry but still I had the same error Device with address XX:XX:XX:XX:XX:XX was not found. was not found.