电容器蓝牙 LE 无法连接跨平台设备

发布于 2025-01-14 21:01:31 字数 1138 浏览 4 评论 0原文

我正在使用蓝牙 LE 插件通过蓝牙连接 Android 和 iOS 设备。类似平台操作系统(iOS 到 iOS 和 Android 到 Android)可以成功建立连接。但是,当尝试将 iOS 连接到 Android 或 Android 连接到 iOS 时,设备的状态保持断开连接,我想在 iOS 和 Android 之间建立连接。

请参考我的示例源代码 https://github.com/sblsatwikha/TestBluetooth

我还添加了同一存储库中的日志文件 https://github.com/sblsatwikha/TestBluetooth/blob/main/LogFile

这是我按照 ReadMe 文件集成的插件 https://github.com/capacitor-community/bluetooth-le

我也尝试使用以下所有插件。

https://ionicframework.com/docs/native/bluetooth-le

https://github.com/don/cordova-plugin-ble-central

https://ionicframework.com/docs/native/ble

I am using a Bluetooth LE plugin to connect android and iOS devices via bluetooth. Similar platform OS’s(iOS to iOS and Android to Android) can establish connection successfully. However, when trying to connect iOS to Android or Android to iOS, the state of the device remains disconnected and I want to establish the connection between iOS and Android.

Please refer to my sample source code https://github.com/sblsatwikha/TestBluetooth

I have also added the log file in the same repository https://github.com/sblsatwikha/TestBluetooth/blob/main/LogFile

and this is the plugin I integrated following the ReadMe file in
https://github.com/capacitor-community/bluetooth-le

And I also tried with all the below plugins.

https://ionicframework.com/docs/native/bluetooth-le

https://github.com/don/cordova-plugin-ble-central

https://ionicframework.com/docs/native/ble

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文