Giter Site home page Giter Site logo

Comments (13)

dongweiq avatar dongweiq commented on August 23, 2024

同样希望支持多设备管理

from fastble.

HeMing123 avatar HeMing123 commented on August 23, 2024

我也需要管理多设备

from fastble.

0xByteLeon avatar 0xByteLeon commented on August 23, 2024

@HeMing123 多设备管理不做是有原因得,高速通信得情况下,其他设备会断开连接~,无法保证稳定性

from fastble.

HeMing123 avatar HeMing123 commented on August 23, 2024

那就是说我们想做多设备连接,会遇到不稳定断开的坑,可有什么好的解决方案?

from fastble.

0xByteLeon avatar 0xByteLeon commented on August 23, 2024

@HeMing123 直白的告诉你,经过我的测试,只是打个比方,类似与传送文件这种持续高速得蓝牙通信情况下,都会导致之前已经连接得还有当前连接得设备断开,android 和 ios都有同样的问题,如果不是高速传输,那就没关系,不过连接上限不同得android手机都不一样

from fastble.

HeMing123 avatar HeMing123 commented on August 23, 2024

你是怎么管理的多设备?能分享一下吗?

from fastble.

0xByteLeon avatar 0xByteLeon commented on August 23, 2024

@HeMing123 集合咯,缓存Gatt对象,判断一下连接状态,断开连接的话就定时任务去重连

from fastble.

0xByteLeon avatar 0xByteLeon commented on August 23, 2024

@HeMing123 记得要及时的关闭gatt连接,另外线程的话要注意内存泄漏之类的问题,做好停止标志

from fastble.

HeMing123 avatar HeMing123 commented on August 23, 2024

好的,谢谢

from fastble.

Heyxiang avatar Heyxiang commented on August 23, 2024

@HeMing123 我公司的项目就连接多设备,一双鞋子,同时连接2个设备,高并发,用对列管理,有什么好的demo么

from fastble.

michael-3ivr avatar michael-3ivr commented on August 23, 2024

关注该问题,缓存Gatt对象有示例就好了,谢谢@MoonlightSW

from fastble.

shimiso avatar shimiso commented on August 23, 2024

我也非常关注这个问题,目前设备采集血糖,血压,体重等多个常见健康类指标。因此APP需要同时集成多款设备

from fastble.

Jasonchenlijian avatar Jasonchenlijian commented on August 23, 2024

1.2.0版本已支持多连接。

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.