一个stm32f4驱动usb蓝牙适配器的程序代码,具有一定的参考价值,使用的开发工具可能是IAR
2026-01-14 17:40:47 38KB stm32 usb bluetooth
1
Uubt is for McU UsB BlueTooth ============================= This is a demo application for bluetooth USB dongle connected to STM32F4DISCOVERY (http://www.st.com/internet/evalboard/product/252419.jsp) board based on BTstack (http://code.google.com/p/btstack) project and ST USB libraries. LICENSING --------- My files are licensed under the terms of GPLv3, although I haven't thoroughly investigated the licenses compatibility for packages used. Please note that files from different projects involved use different licences. WHAT IS SPECIAL --------------- Pure FOSS components using hardware comprized of very cheap STM32F4DISCOVERY board and commodity bluetooth USB dongles. WHAT YOU NEED ------------- - STM32F4DISCOVERY board - cable to connect it to USB dongle (I use normal USB A male to micro-USB cable + USB A female/USB A female adapter) - USB dongle: USB parameters are currently hardcoded rather than read from descriptors, so you should verify that they match (I use lsusb -v for that purpose). Dongles tested thus far are: CSR and Atheros AR3011. Firmware loading is implemented for some Atheros chips but it is not very stable. - toolchain and libraries. I use linux, code sourcery lite (eabi build), https://github.com/texane/stlink project. You should download btstack source and STM32F4DISCOVERY firmware package (http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f4discovery_fw.zip). COMPILING --------- Currently 2 build flavours are supported: bare (no OS) and for ChibiOS/RT (http://www.chibios.org). To build for ChibiOS/RT, additionally download respective sources (I use trunk, which is currently at 2.3.4+). You will probably not need newlib_stubs.c here. The description below is for no-OS build. Fix ST libs (mine are marked as 1.1.0 revision) using the patch provided. Btstack source probably needs configuring (I'm not sure). Couple of build options are currently implemented via Makefile variables, see Makefile head for details. Fix paths in Makefile and verify that defines in source files match your hardware. Grab missing files (such as linker script) from btstack and ST packages. After successful make flash the board using gdb shipped with code sourcery lite and stlink utility. Please have in mind that btstack uses several libc functions. You may use newlib shipped with code sourcery lite, but you will need to provide libnosys or stubs file, for instance as described in https://sites.google.com/site/stm32discovery/open-source-development-with-the-stm32-discovery/getting-newlib-to-work-with-stm32-and-code-sourcery-lite-eabi Personally I use custom printf() printing to memory buffer and using stlink/SWD to communicate it to host. I find it quite comfortable, but I don't want to share this code because it's very ugly and not essential for this project. WHAT YOU GET ------------ The demo app is based on btstack/MSP-EXP430F5438-CC256x/example/spp_counter.c example. See btstack site wiki (MSP430 section) for example apps description. Besides that I can see my board responding to remote l2ping, hcitool name, hcitool scan and possibly more. To observe app main function, connect rfcomm port (sudo rfcomm 0 1), start terminal such as minicom and observe "BTstack counter xxxx" lines emerging. CURRENT STATE ------------- Using any one of 2 of my dongles, no-OS build flavour feels quite stable. ChibiOS build works but not so stable, in particular, removing -O0 gcc option breaks things for me. l2ping looks reproducable, contrary to rfcomm. ChibiOS flavour firmware loading is not tested.
2026-01-14 16:49:49 53KB STM32F4 Discovery usb蓝牙模块
1
该程序支持市面上大部分的打印机,支持USB 蓝牙,网络检测 连接并打印相关demo,提供给需要的同学们
2023-07-18 13:09:22 17.81MB usb 蓝牙 网络 打印机
1
原创黑苹果Dell OptiPlex 7050最新EFI,OC0.78,支持macOS12.3.1, 声卡正常,支持USB蓝牙 电脑型号 戴尔 OptiPlex 7050 台式电脑 操作系统 Windows 10 专业版 64位 ( 4.09.00.0904 ) 处理器 英特尔 Core i5-6500 @ 3.20GHz 四核 主板 戴尔 0XHGV1 ( Q270 芯片组 ) 主显卡 AMD Radeon RX 560 ( 4 GB / 蓝宝石 ) 内存 8 GB ( 海力士 DDR4 2400MHz ) 声卡 瑞昱 @ 英特尔 High Definition Audio 控制器 网卡 英特尔 Ethernet Connection I219-LM / 戴尔
2022-04-21 19:00:40 5.27MB 黑苹果 efi dell 7050
1
Lenovo LX1815 USB蓝牙适配器,采用RTL8761B芯片,软件包括WIndows 7 8.1 10系统的X86、X64版本,以及Linux系统的驱动
2022-03-16 10:08:16 73.41MB 蓝牙 RTL8761B LenovoLX1815 Linux
1
M8 USB 蓝牙 读卡发卡加密 原厂配套软件 智能小区,停车场,道闸 蓝牙读头 蓝牙卡 加密
2021-11-15 17:57:44 313KB M8USB 蓝牙 读卡 发卡
1
USB单片机调试助手 USB 蓝牙 网络 串口调试 ,
2021-11-09 22:21:19 2.24MB 单片机调试 调试助手 USB 蓝牙
1
嵌入式USB蓝牙设备驱动程序的实现;henhao
2021-10-21 09:44:01 143KB 嵌入式USB蓝牙
1
详细分析了嵌入式下usb的蓝牙驱动程序,分析比较全面,有一定的启发作用。
2021-10-21 08:57:51 316KB 嵌入式Linux USB蓝牙 驱动
1
GprinterSDKV2.1 USB,蓝牙,网口, 佳博打印机SDK
2021-08-30 14:04:26 5.65MB GprinterSDK USB 蓝牙 网口
1