Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/195.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何通过BLE检索蓝牙设备UUID?_Android_Bluetooth_Bluetooth Lowenergy_Core Bluetooth_Android Bluetooth - Fatal编程技术网

Android 如何通过BLE检索蓝牙设备UUID?

Android 如何通过BLE检索蓝牙设备UUID?,android,bluetooth,bluetooth-lowenergy,core-bluetooth,android-bluetooth,Android,Bluetooth,Bluetooth Lowenergy,Core Bluetooth,Android Bluetooth,这可能是一个非常基本的问题。我们的设备有一个新的蓝牙模块 从绑定设备列表中检索设备后,我再也找不到UUID。但是,我可以找到设备并检索其MAC地址,我知道该地址通常用于通过BLE进行连接 旧模块: 新模块: 这仅仅是因为我的新模块不支持通过SPP进行通信吗 我的应用程序是使用Android蓝牙经典库编写的 这是否意味着我需要为BLE重新编写应用程序的蓝牙通信部分?是的,您需要重新编写应用程序以处理BLE,仅此而已。 您可以使用调试BLE并查看正在使用的数据。如有疑问,请查看每个产品的数据表,

这可能是一个非常基本的问题。我们的设备有一个新的蓝牙模块

从绑定设备列表中检索设备后,我再也找不到UUID。但是,我可以找到设备并检索其MAC地址,我知道该地址通常用于通过BLE进行连接

旧模块:

新模块:

这仅仅是因为我的新模块不支持通过SPP进行通信吗

我的应用程序是使用Android蓝牙经典库编写的


这是否意味着我需要为BLE重新编写应用程序的蓝牙通信部分?

是的,您需要重新编写应用程序以处理BLE,仅此而已。
您可以使用调试BLE并查看正在使用的数据。

如有疑问,请查看每个产品的数据表,但我相信您的理解是正确的。硬件数据表将列出硬件规格/协议以及功能/限制。请参见您提供的链接中的“文档”选项卡。