gpt4 book ai didi

安卓蓝牙

转载 作者:太空宇宙 更新时间:2023-11-03 13:06:23 24 4
gpt4 key购买 nike

如果我想通过蓝牙连接到另一台设备,我该怎么做?

我所做的一切似乎都不起作用。我尝试连接的手机不是安卓手机,但已打开蓝牙且可被发现。

最佳答案

Bluetooth API 在这种情况下真的很糟糕......让我们看看 java-doc:

Hint: If you are connecting to a Bluetooth serial board then try using the well-known SPP UUID 00001101-0000-1000-8000-00805F9B34FB. However if you are connecting to an Android peer then please generate your own unique UUID.

来自:link text

据此,在 00001101-0000-1000-8000-00805F9B34FB 服务记录下,您的对等点应该可见。

关于安卓蓝牙,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3901632/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com