Coder Social home page Coder Social logo

zero-free / nrf52832-nimble Goto Github PK

View Code? Open in Web Editor NEW
111.0 111.0 68.0 11.81 MB

NimBLE Stack 基于 RT-Thread 在 nRF52832 上的开发

Python 1.32% C 85.61% C++ 1.18% Assembly 2.74% DIGITAL Command Language 0.03% Makefile 0.43% Module Management System 0.01% Objective-C 0.06% Roff 0.01% RPC 0.04% CMake 0.33% Ruby 0.07% Shell 1.03% Batchfile 0.01% HTML 7.03% Perl 0.02% CSS 0.03% TeX 0.01% Pawn 0.01% M4 0.04%

nrf52832-nimble's People

Contributors

zero-free avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nrf52832-nimble's Issues

connect error BLE_ERR_CONN_ESTABLISHMENT

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连接后, 属性信息不能动态更新。

手机蓝牙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

想问一下这是软件包的问题还是蓝牙协议栈的问题呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.