Giter VIP home page Giter VIP logo

Comments (9)

wangjinchan avatar wangjinchan commented on August 16, 2024

如果还有什么没看懂 ,可以问 我,邮箱:[email protected]
希望作者把我拉进去一起维护。

from fastble.

wwxwwq avatar wwxwwq commented on August 16, 2024

image
这里mCharacteristic不是已经赋值了吗

from fastble.

wangjinchan avatar wangjinchan commented on August 16, 2024

from fastble.

wwxwwq avatar wwxwwq commented on August 16, 2024

连接上后,扫描到服务,再开启通过,这里应该不可能空
image

from fastble.

wangjinchan avatar wangjinchan commented on August 16, 2024

from fastble.

hiddus avatar hiddus commented on August 16, 2024

每次都是newBleConnector characteristic每次都会赋值。
我这边状况是,write和notify是2个不同characteristic。
有时正常,读写发送都好着。
有时候,写入一次,然后接收到返回,之后再发送都是发送回调成功,实际下位机没接收到。需要重新启动APP。

from fastble.

alvayang avatar alvayang commented on August 16, 2024

非常感谢 @wangjinchan 的讨论,通过源码和Debug发现,很可能是下位机对于一条指令的结束没有给出正确的反应,比较合理的尝试是修改MTU的大小,当然下位机是需要能支持的。

from fastble.

ThanatosDan avatar ThanatosDan commented on August 16, 2024

image
liangg两个一样的UUID 第二个才是notify 导致了这个问题

from fastble.

ThanatosDan avatar ThanatosDan commented on August 16, 2024

image
image
我这边这样改好像也可以

from fastble.

Related Issues (20)

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.