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

mcumgr not working with extended advertising #31

Open
julianwilmot opened this issue Apr 5, 2023 · 1 comment
Open

mcumgr not working with extended advertising #31

julianwilmot opened this issue Apr 5, 2023 · 1 comment

Comments

@julianwilmot
Copy link

Hi,

I am using the latest version of mcumgr cli.

The below command is working with regular advertising:
sudo ./mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello
but not when extended advertising is used on the embedded device:
Error: Failed to connect to peer after 10s

I can confirm that my usb dongle can scan extended advertising packets without a problem with "bluetoothctl scan on", which leads me to believe the problem is in the mcumgr cli.

  1. Is there any support built in for extended advertising in the mcumgr cli or can it be easily implemented?
  2. My long term goal is to use coded phy, which uses extended advertising, so my next question is if 1 above is solved will coded phy work (or does coded phy also need to be implemented in mcumgr cli). My dongle supports coded phy and I can scan coded phy packets.

Any feedback will be appreciated. Have a great day.

@sjanc
Copy link

sjanc commented Aug 3, 2023

Hi,

Currently newtmgr uses legacy HCI commands and thus doesn't do extended scan...
This is mainly due to bluetooth lib being used, we would have to port to some other lib that provides ext adv and PHY support

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

2 participants