简体   繁体   English

iOS-iBeacon-使用程序更改UUID

[英]iOS - iBeacon - Changing UUID using a program

I am new to iOS and iBeacon. 我是iOS和iBeacon的新手。 I am confused about iBeacons's UUID, minor and major values of the device. 我对iBeacons的UUID,设备的次要和主要价值感到困惑。

Is it possible to change/reassign the iBeacon device's UUID, minor and major values using any objectiveC. 是否可以使用任何ObjectiveC更改/重新分配iBeacon设备的UUID,次要和主要值。

Thanks in advance. 提前致谢。 Alvin 阿尔文

Yes that's possible, but it depends on the iBeacons you are using. 是的,这是可能的,但这取决于您使用的iBeacons。
Most manufacturers provide a SDK which allows you to do stuff like that. 大多数制造商都提供一个SDK,可让您执行类似的操作。 If you know the commands that need to be send to change the iBeacon data of your beacons you can use Core-Bluetooth and do that yourself. 如果您知道需要发送以更改信标的iBeacon数据的命令,则可以使用Core-Bluetooth自行完成。 But check if there is a SDK first, because changing UUID etc is the main task of these SDKs. 但是请先检查是否有一个SDK,因为更改UUID等是这些SDK的主要任务。

One example would be the Estimote SDK . 一个例子就是Estimote SDK

There is no way to do this with Apples built-in methods only. 仅使用Apple内置方法无法做到这一点。 There is no "change iBeacon data" method. 没有“更改iBeacon数据”方法。 The bluetooth commands that have to be used to reassign iBeacon data depend on how everything is implemented on the actual beacon hardware. 必须用于重新分配iBeacon数据的蓝牙命令取决于在实际的信标硬件上如何实现所有功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM