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 | CYW54591 | BCM43430A (AP6212A) |
BCM4345C5 (AP6256) |
|
---|---|---|---|---|
STM32F103 | √ | × | × | × |
STM32F407 | √ | × | × | × |
STM32F412 | √ | × | × | × |
STM32H750 | √ | × | × | × |
Linux | √ | √ | √ | √ |
Windows | × | × | × | × |
Purchase page | Buy (click on me) | 暂未上线 | 暂未上线 | 暂未上线 |
目录文件夹 | 子目录文件夹 | 说明 |
---|---|---|
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 |
stm32f407_bb_bt | STM32F407 bare board bluetooth project | |
stm32f412_bb_bt | STM32F412 bare board bluetooth project | |
stm32h750_bb_bt | STM32H750 bare board bluetooth project | |
linux_bt | Linux bluetooth project | |
windows_bt | Windows 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