-
Notifications
You must be signed in to change notification settings - Fork 1k
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
BLE extended advertising not working with a Pi Pico 2 W #2313
Comments
https://forums.raspberrypi.com/viewtopic.php?p=2235712&hilit=computer+says#p2235712
Since Apart changing message in a legacy advertisement for more capacity, hardware multiple advertisements are available. 8 plus normal one. But they will have maximum TX power a bit lower than max for legacy one. PS. Maybe BT firmware will get such functionality somewhen in the future. Seems like |
I see, so I was misled by the Bluetooth 5.2 statements 😢.
Do you know if there is somewhere a roadmap of what is planned? |
It's hard to get any changes made to the firmware. |
I wanted to create a BLE peripheral that uses extended advertising to send lager advertisements than the limits of legacy advertising.
It looks like this does not work for Pi Pico 2 W. A minimal example where I try to set up a BLE peripheral using extended advertising can be seen here.
ENABLE_LE_EXTENDED_ADVERTISING
is set in thebtstack_config.h
and none of thegap_extended_advertising...()
functions retuned an error during the setup of the extended advertising.When digging deeper, I noticed that the
hci_le_extended_advertising_supported
method of BtStack returns false and with this it looks like the extended advertising is silently just ignored.I then enabled the BtStack logging, still did not see an error or warning in regard to the extended advertising, but at startup it dumps the supported local HCI commands
To my suprise the
SUPPORTED_HCI_COMMAND_LE_SET_EXTENDED_ADVERTISING_ENABLE
is not in this supported commands dump. This as I understood that extended advertising was added with Bluetooth 5 and Pico 2 W claims Bluetooth 5.2:Infineon states even Bluetooth® 5.4 for the CYW43439
So I wonder is this an issue of BtStack or is it an issue of the included CYW43439 cyw43_driver/firmware?
Or is it really not possible to use extended advertising with Pico 2 W hardware (released ~8 years after the release of extended advertising)?
HW & SW Versions
The text was updated successfully, but these errors were encountered: