stm32接入stm32蓝牙模块代码怎样实现要实现的技术参数是甚么!

&&&&STM32F4 Discovery usb蓝牙模块驱动 - UUBT
&STM32F4 Discovery usb蓝牙模块驱动 - UUBT
Uubt is for McU UsB BlueTooth
=============================
This is a demo application for bluetooth USB dongle connected to
STM32F4DISCOVERY (/internet/evalboard/product/252419.jsp) board
based on BTstack (/p/btstack) project and ST USB libraries.
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), /texane/stlink project.
You should download btstack source and STM32F4DISCOVERY firmware package
(/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f4discovery_fw.zip).
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
/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 &connect|bind& 0 &bdaddr& 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.
若举报审核通过,可奖励20下载分
被举报人:
gz_eddie_htc
举报的资源分:
请选择类型
资源无法下载
资源无法使用
标题与实际内容不符
含有危害国家安全内容
含有反动***等内容
含广告内容
版权问题,侵犯个人或公司的版权
*详细原因:
VIP下载&&免积分60元/年(1200次)
您可能还需要
Q.为什么我点的下载下不了,但积分却被扣了
A. 由于下载人数众多,下载服务器做了并发的限制。若发现下载不了,请稍后再试,多次下载是不会重复扣分的。
Q.我的积分不多了,如何获取积分?
A. 获得积分,详细见。
完成任务获取积分。
论坛可用分兑换下载积分。
第一次绑定手机,将获得5个C币,C币可。
关注并绑定CSDNID,送10个下载分
下载资源意味着您已经同意遵守以下协议
资源的所有权益归上传用户所有
未经权益所有人同意,不得将资源中的内容挪作商业或盈利用途
CSDN下载频道仅提供交流平台,并不能对任何下载资源负责
下载资源中如有侵权或不适当内容,
本站不保证本站提供的资源的准确性,安全性和完整性,同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
开发技术下载排行
您当前C币:0&&&可兑换 0 下载积分
兑换下载分:&
消耗C币:0&
立即兑换&&
兑换成功你当前的下载分为 。前去下载资源
你下载资源过于频繁,请输入验证码
如何快速获得积分?
你已经下载过该资源,再次下载不需要扣除积分
STM32F4 Discovery usb蓝牙模块驱动 - UUBT
所需积分:10
剩余积分:0
扫描微信二维码精彩活动、课程更新抢先知
VIP会员,免积分下载
会员到期时间:日
剩余下载次数:1000
STM32F4 Discovery usb蓝牙模块驱动 - UUBT
剩余次数:&&&&有效期截止到:
你还不是VIP会员VIP会员享免积分 . 专属通道极速下载
VIP下载次数已满VIP会员享免积分 . 专属通道极速下载,请继续开通VIP会员
你的VIP会员已过期VIP会员享免积分 . 专属通道极速下载,请继续开通VIP会员main stm32连接蓝牙模块,通过外接NFC刷卡的原理图,实现了usb转串 并同时供电功能。可 SCM 单片机开发 256万源代码下载-
&文件名称: main& & [
& & & & &&]
&&所属分类:
&&开发工具: Others
&&文件大小: 52 KB
&&上传时间:
&&下载次数: 0
&&提 供 者:
&详细说明:stm32连接蓝牙模块,通过外接NFC刷卡的原理图,实现了usb转串口,并同时供电功能。可以外接电池。为dsn格式。-
STM32 connect the Bluetooth module, through the external NFC card of the principle diagram, to achieve the USB to the serial port, and at the same time power supply. External battery.
文件列表(点击判断是否您需要的文件,如果是垃圾请在下面评价投诉):
&&main.DSN
&输入关键字,在本站256万海量源码库中尽情搜索:

参考资料

 

随机推荐