Skip to content
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

Unable to connect to NRF device #7

Open
pratapnaidu opened this issue Mar 23, 2022 · 4 comments
Open

Unable to connect to NRF device #7

pratapnaidu opened this issue Mar 23, 2022 · 4 comments

Comments

@pratapnaidu
Copy link

pratapnaidu commented Mar 23, 2022

After compiling, nrfdfu bails out with following error:

./nrfdfu ble  -vv -a  XX:XX:09:F1:54:XX -t public nrfu_DFU_app.zip 
Update contains Application
Updating Application (297696 bytes):
Connecting to XX:XX:09:F1:54:XX (public)...
BLZ: Connect new to XX:XX:09:F1:54:XX (public)
BLZ: Connect new failed: Bluez < 5.49 (with -E flag) doesn't support ConnectDevice

Just wanted some expert opinion about this error, does it mean the target device is expecting lesser bluez version? I tried both bluetoothctl: 5.48 and 5.54

@br101
Copy link
Collaborator

br101 commented Mar 23, 2022

You need to start bluetoothd with the -E option

@br101
Copy link
Collaborator

br101 commented Mar 23, 2022

Or try to leave out the -t public option to nrfdfu

@NathalieHilbert
Copy link

I have the same issue, but using a random address instead of public. My system version of bluetoothctl is 5.55, but the error is identical to the above (which lists version 5.49). Leaving out address type has no effect on the error. I tried to start bluetoothd with -E but the command hangs. Could this be a version discrepancy?

@suadsuljic7
Copy link

Hello I have workaround for this issue! This error appears because it can't connect to the device without scanning the device. While in the process of connecting Just scan for devices using the command line or the linux Bluetooth app.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants