A way to uniquely identify a BTLE device

▼魔方 西西 提交于 2019-12-05 07:25:01
Tim Tisdall

The devices should have unique Bluetooth addresses. If they don't then you wouldn't be able to properly connect to them without them interfering with each other. However, with BTLE it's possible for a device to have a randomized address for privacy (but those conform to a particular pattern so you can detect if you get that kind of address). The address is 6 bytes and is usually displayed in hex (ex A1-B2-C3-D4-E5-F6). The first 2 bytes usually indicate the manufacturer.

UPDATE: My answer is valid for most BLE usage, but as the question is tagged you may want to look at this other answer about getting a unique id on ios as a possible way to get the bluetooth address

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!