-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scan BLE devices results in "XPC connection invalid" #84
Comments
Hi @jay-k98 , could you please provide the following information to help us in debugging and quickly resolving the issue:
You can also check if you are using the correct device prefix while initiating the device search. |
Hi @ajay-gantayet :) Thanks for answering! ESP-IDF version: 5.3.1 |
Hi @jay-k98 , thanks for the reply. |
My prefix was ESP (full name ESP32_jay). Changing the device prefix to an empty string fixed it. Thank you for helping me out @ajay-gantayet 👍 |
Description
When trying to scan for ESP32 devices I always receive the error "The operation couldn't be completed (ESPProvision.ESPDeviceCSSError error 6.)". In Xcode on the console this error appears: "XPC connection invalid".
I added every bluetooth related permission to Info.plist and the Example App of this repo is working just fine with the same phone and ESP32.
This is the code i am using:
To Reproduce
Steps to reproduce the behavior:
...
Frequency
Every time you tap on 'Search for Devices'
Expected behavior
BLE devices are scanned successfully and a list of devices is displayed.
Screenshots

ESP Device Information:
iOS information:
Provisioning information:
ESP Device logs:
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: