通过蓝牙最佳的设备识别方式是什么?

huangapple 未分类评论52阅读模式
英文:

What is the best way to identify a device by Bluetooth?

问题

我想要一个用于识别设备的方法。
条件:

  • 我可以从我的设备获取这个识别信息。
  • 通过蓝牙发现我的设备可以获取它。

我尝试过蓝牙 MAC 地址,但我认为现在只有系统应用可以访问 MAC 地址,这是我的问题。
我尝试过蓝牙 UUID,但问题是我无法自动发现获取 UUID。
当然,蓝牙名称不是一个选择,因为我们可能会找到两个具有相同名称的设备。

英文:

I want something to identify devices.<br>
Condition :<br>

  • I can get this identification from my device<br>
  • Devices how discovered me by Bluetooth can get it<br>

I try bluetooth mac address but I think access to mac adress now is just for system apps ,this is <a href="https://stackoverflow.com/questions/62067259/bluetoothadapter-getaddress-return-020000000000">my problem</a>.<br>
I try Bluetooth UUIDs but the problem is that I can get UUIDs automatically by discovering.<br>
And of course Bluetooth name is not a choise because we can found 2 devices with the same name<br>

huangapple
  • 本文由 发表于 2020年5月29日 06:55:47
  • 转载请务必保留本文链接:https://java.coder-hub.com/62075875.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定