安卓:蓝牙设备的获取UUID [英] Android: obtaining uuid of a bluetooth device

查看:451
本文介绍了安卓:蓝牙设备的获取UUID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要UUID的蓝牙设备连接到它,但我不知道很多关于UUID。它是具体到每一个设备,以及如何知道什么是设备的UUID 。它可以通过使用code?

I need UUID of a bluetooth device to connect to it, but i don't know much about uuid. Is it specific to each device and how to know what is device's uuid. Can it be done using code?

推荐答案

当你让你的问题,你应该更加明确。你想连接到BT设备,或者您已连接,并要使用特定服务?

You should be more explicit when you make your question. Do you want to connect to a BT device, or you are already connected and you want to use a particular service?

如果您只想连接到你所需要的BT地址的设备(像MAC )。

If you want to just connect to the device you need the BT address (like a MAC).

的UUID相关的由BT设备提供的服务:<一href="http://www.bluecove.org/bluecove/apidocs/javax/bluetooth/UUID.html">http://www.bluecove.org/bluecove/apidocs/javax/bluetooth/UUID.html在这里,你的UUID列表。

The UUID are related to the services offered by the BT device: http://www.bluecove.org/bluecove/apidocs/javax/bluetooth/UUID.html Here you have a list of UUIDs.

这篇关于安卓:蓝牙设备的获取UUID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆