rt-thread-packages / nimble Goto Github PK
View Code? Open in Web Editor NEWAn Apache open-source Bluetooth 5.0 stack porting on RT-Thread
License: Apache License 2.0
An Apache open-source Bluetooth 5.0 stack porting on RT-Thread
License: Apache License 2.0
nimble怎么接入PA芯片呀,驱动怎么写呢
最新的代码BLE SAMPLE 有些问题,广播可以,链接不行。
nimble ble_npl_eventq_remove()
函数仅从事件队列里移除某一个事件,而移植实现里复位清空了整个消息队列,这个是有隐患的,可能会导致协议栈工作不正常,需要修改。
void ble_npl_eventq_remove(struct ble_npl_eventq *evq, struct ble_npl_event *ev)
{
if (!ev->queued)
{
return;
}
rt_mq_control((struct rt_messagequeue *)evq->q, RT_IPC_CMD_RESET, RT_NULL);
ev->queued = false;
}
https://github.com/greedyhao/nimble
目前在这个仓库已经合并到了上游的 5271e1f,nrf5x 编译可能需要增加 --specs=nosys.specs
参数
目前 host 在 ab32vg1 上测试是正常的,但是加上 controller 后,在 nrf52832 上无法运行 ble 的 demo
RT
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.