Git Product home page Git Product logo

Comments (3)

aicareles avatar aicareles commented on August 19, 2024

建议更换一台手机测试下,系统蓝牙如果都打不开,很大可能就是系统蓝牙死掉了,这个时候只能重启手机了(并非软件问题)

from android-ble.

LdwHly avatar LdwHly commented on August 19, 2024

目前的解决方案是连接前先扫描,扫描到了再去连接就没问题,而之前是不扫描直接根据mac地址去连,多连几次就出现了,pixel 2的手机表现为蓝牙重启不了,而三星手机表现为可以重启,但是还是连接不成功(重启手机就可以连接成功),目前都只是android 10 才有这个表现而已

from android-ble.

PainterHu avatar PainterHu commented on August 19, 2024

目前的解决方案是连接前先扫描,扫描到了再去连接就没问题,而之前是不扫描直接根据mac地址去连,多连几次就出现了,pixel 2的手机表现为蓝牙重启不了,而三星手机表现为可以重启,但是还是连接不成功(重启手机就可以连接成功),目前都只是android 10 才有这个表现而已

我的Android 10也会出现这个问题,我估计是系统存在的bug,我用的另一个蓝牙框架也是这样,先保存MAC地址在本地,过一个晚上,拿保存在本地的MAC地址重新连接时怎么都连接不上,非得重新去扫描一次,拿到扫描的MAC地址连接才能连上。
请问您找到问题的所在了吗?

from android-ble.

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.