how to get public Bluetooth Device Address using core_bluetooth

前端 未结 3 1074
执笔经年
执笔经年 2021-01-15 05:25

We have one bluetooth devices.Bluetooth devices have one public bluetooth device address(BDA).In android they get bluetooth like (30:03:5B:00:15:12).I can get o

3条回答
  •  被撕碎了的回忆
    2021-01-15 06:00

    The simple answer is clearly: NO. It is not possible (practically) to get the BDA from the seeds that generated a particular UUID. Provided that in fact the algorithm that generated your UUID did used the MAC Address of your device to generate it, and I guess you cannot guarantee that it is the case for the UUID generator you use, unless you have access to the UUID Generator code or algorithm.

    As apple while generating UUID might use the MAC address of the device, other components like timestamps, hashing, UDID (iOS Devices) and also some other factors so its looks impossible to get it back from UDID also.

提交回复
热议问题