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

LE Secure BLE Connection #14

Open
Niels-Be opened this issue Jul 27, 2020 · 6 comments
Open

LE Secure BLE Connection #14

Niels-Be opened this issue Jul 27, 2020 · 6 comments

Comments

@Niels-Be
Copy link

Niels-Be commented Jul 27, 2020

Zephyr by default (since v2.2.0) requires authenticated connections to access mcumgrs GATT service.
However I have not found a way to instruct mcumgr-cli to pair the device before use.
Even if I pair my host (running bluez 4.48) to the device before using mcumgr I still get:

Error: Insufficient authentication

Is there any support for authenticated connection / is it planed?

@caco3
Copy link

caco3 commented Aug 3, 2020

Are you using it with Zephyr?

If so, you could try to set CONFIG_MCUMGR_SMP_BT_AUTHEN=n in your service.
I was told to do this to remove the BLE authentication requirement from the mcumgr SMP characteristic.

How ever it was for another issue, so I don't know if it helps.

@Niels-Be
Copy link
Author

Niels-Be commented Aug 4, 2020

Yes disabling security works.
However this is not an option for our use case and it is not what I was asking for.

@mrgsts
Copy link

mrgsts commented Oct 25, 2020

I have hit the same problem, seems that mcumgr reset the connection and all of the pairing information is lost
Peek 25-10-2020 15-07

@mrgsts
Copy link

mrgsts commented Oct 28, 2020

Yes disabling security works.
However this is not an option for our use case and it is not what I was asking for.

Just discover that you can use the DFU upgrade utility of the android/ios nrf Connect app, and upload images to zephyr mcuboot, but is slow
Screenshot_2020-10-28-17-23-41-702_no nordicsemi android mcp

@asousa-zg
Copy link

Hi,

I have the same problem.
If using nordic App Device Manager, everything works. I am able to pair device with the phone and then I am able to send all the commands using the App.
If using mcumgr-cli, I can pair the device using bluetoothctl and every command using mcumgr-cli have the same error:

Error: insufficient authentication

Do you know If mcumgr-cli supports authenticated connections?

Thanks

@DevinM-RR
Copy link

Having this issue. Any update on this? Thanks!

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

5 participants