iOS端拿到MAC为空,不知道minor对应的mac是哪个

iOS端拿到MAC地址为空,有10个ApriBeacon设备,请问怎么区分谁是谁?
硬件上只有mac地址,根据你们的demo,拿到的mac为空

  • (void)beaconManager:(ABBeaconManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(ABBeaconRegion *)region
    我在上面的方法里面扫描到beacon列表之后,遍历benacon列表,执行这个方法: [beacon connectToBeacon];
    LQLog(@“macAddress = %@”,bea.macAddress);获取为空。同时,设置beacon代理,没有进入到benconDidConnected方法里面

安卓的能同时看到mac地址和minor值,直接看安卓的,保存到数据库吗。。

iOS didRangeBeacons 拿不到 macAddress 地址。

ABBluetoothManager 扫描到设备后,执行 connectToBeacon 可以得到。

额,ABBluetoothManager 扫描到设备后,执行 connectToBeacon 可以得到mac地址,但是拿到的minor和didRangeBeacons拿到的minor值不相等,而且ABBluetoothManager拿到的minor有的会有负值

通过 ABBluetoothManager 得到的设备,必须要进行连接(connectToBeacon)才能得到uuid,major,minor。