zero-free / nrf52832-nimble Goto Github PK
View Code? Open in Web Editor NEWNimBLE Stack 基于 RT-Thread 在 nRF52832 上的开发
NimBLE Stack 基于 RT-Thread 在 nRF52832 上的开发
msh />[I/nimble] connection established; status=0
[I/nimble] disconnect; reason=520
[I/nimble] GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=0 adv_itvl_max=0
手机蓝牙APP连接(或重连) 外围设备后, 发的是 attr req,而不是group type req, 这样如果动态修改了属性的信息,譬如uuid, 在app上是感知不到的, 需要重启手机后,APP才会发group type req请求更新这些信息。
不清楚nordic 的闭源协议栈如何处理这个问题,但nimBLE协议栈的确对这个问题不能健壮处理。
运行ble_hr的demo,当与手机在正常距离内每一秒控制台会正常打印:
[I/nimble] GATT procedure initiated: notify; att_handle=3
但是当手机离开可通讯范围内会报如下断言异常:
(rc == 0) assertion failed at function:packages\NimBLE-latest\apps\blehr\src\blehr.c, line number:147
想问一下这是软件包的问题还是蓝牙协议栈的问题呢?
请问下,有没有更详细一点的跑工程相关的资料说明呢?比如nordic的keil的pack包版本等。
我有52840的板子,我想基于你这个project在我的52840板子上跑起来。
非常感谢。
RT##############################################################
请教一下,这个项目依赖nRF的部分有不开源(封装为lib库)的部分吗? 例如在MDK里面? 包括Link Layer相关部分?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.