bouffalolab / bouffalo_sdk

BouffaloSDK is the IOT and MCU software development kit provided by the Bouffalo Lab Team, supports all the series of Bouffalo chips. Also it is the combination of bl_mcu_sdk and bl_iot_sdk
Apache License 2.0
362 stars 128 forks source link

Generic bluetooth BR/EDR support on BL616? #207

Open harbaum opened 5 months ago

harbaum commented 5 months ago

It seems there's one example for classic Bluetooth in https://github.com/bouffalolab/bouffalo_sdk/tree/master/examples/audio/player_bt which is meant to be used with the BL616. So it seems the BL616 can do classic BR/EDR Bluetooth as well.

Is it planned to make this support more generic? I'd like to add classic HID support to my MiSTeryNano, so the users can use regular Bluetooth keyboards, mice and game controllers. I have already implemented BLE HID support, but only very few Bluetooth HID devices actually support this. Not even Nintendo's Joy cons or the 8bitdo controllers.

Enabling set(CONFIG_BTBLECONTROLLER_LIB ble1m0s1sbredr1) in my proj.conf has all kinds of unwanted side effects and doesn't allow me to e.g. test classic BR/EDR discovery. Also, some of the related code seems to be binary only inside https://github.com/bouffalolab/bouffalo_sdk/tree/master/components/wireless/bluetooth/btblecontroller/lib

What exactly do these libraries do and why are there different versions? E.g. only one seem to include BR/EDR support.