This is a protocol stack that includes traditional Bluetooth and low-power Bluetooth. It belongs to the ultra-lightweight Bluetooth protocol stack and is used by people who learn the Bluetooth protocol stack
I have also built a development environment based on this part as an additional income. I hope you can give me your support.If there is insufficient support, I hope you can correct it。
CSR8311 | BCM43430A(AP6212A) | BCM4345C5(AP6256) | |
---|---|---|---|
STM32F103 | √ Buy (click on me) | × Not Yet | × Not Yet |
STM32F407 | √ Buy (click on me) | × Not Yet | × Not Yet |
STM32F412 | √ Buy (click on me) | × Not Yet | × Not Yet |
Linux | √ Buy (click on me) | √ Not Yet | √ Not Yet |
Root folder | Sub folder | Instructions |
---|---|---|
board | stm32f10x | STM32F103 BSP |
stm32f407 | STM32F407 BSP | |
stm32f412 | STM32F412 BSP | |
bsp | cortex-m3 | Cortex M3 Driver(The standard library) |
cortex-m4 | Cortex M4 Driver(The HAL library) | |
component | bluetooth | Bluetooth stack source code |
cjson | json source code | |
fs | file system source code | |
memory_manager | memoey manager source code | |
ringbuffer | Ring buffer source code | |
mcu_bt_tool | PC app source code | |
project | stm32f10x_bb_bt | STM32F103 bare board bluetooth project |
stm32f10x_bb_bt | STM32F407 bare board bluetooth project | |
stm32f412_bb_bt | STM32F412 bare board bluetooth project | |
linux_bt | Linux bluetooth project | |
python_tool | convert_binayr_file_to_array.py | |
corvert_opcode_to_ogf_ocf.py |
Configure the functionality you want in bt_config.h, for example:debug/profile enable/paring mode/chipset select/spec profile config...
Prerequisites: 1)Keil installation 2) Pack corresponding to STM32F1/STM32F4 3)Download tool (we selected ST-Link)
Open the corresponding STM32F10X_BB_BT/STM32F10X_BB_BT/STM32F412_BB_BT under the project to compile and download
Prerequisites:
1)USB to UART tool (H4 Transport requires hardware flow control) and wiring is correct, according to the screen printing TX to TX,RX to RX,CTS to CTS,RTS to RTS,VCC5V,GND
2)Sudo chmod 777 /dev/ttyusb0 (if not the path you need to change the code)
Make linux_bt under project, create bt_demo and run it directly