bluekitchen / btstack

Dual-mode Bluetooth stack, with small memory footprint.
http://bluekitchen-gmbh.com
Other
1.74k stars 613 forks source link

hci: Fix Compiler Warnings #560

Closed eightycc closed 9 months ago

eightycc commented 9 months ago

Adds missing prototypes to quiet compiler warnings when building with ENABLE_LE_EXTENDED_ADVERTISING defined. Also makes the affected functions static because they are used only in hci.c. Compiler is GCC 13.2.

mringwal commented 9 months ago

Thanks for reporting, good point about them being local to hci. I've applied the fix on the develop branch in 033393e. What are you working on?

eightycc commented 9 months ago

What are you working on?

Thank you for the fast response. I'm implementing BLE support for Pico W (CYW43439) on CircuitPython.

mringwal commented 9 months ago

Nice. AFAIK MicroPython has LE support on the Pico W. Does CircuitPython have different Python APIs? Feel free to ask if anything is unclear with our stack on the mailing list, see README.md

eightycc commented 9 months ago

MP supports LE on the Pico W, but CP LE internals and its Python API are entirely different.