标签: ibeacon

iBeacon的安全性如何?

iBeacon是一项很有前途的新技术.但它有多安全?启用加密后,蓝牙低功耗(BLE)可以是安全的.但是,这只是建立通信时的情况.但iBeacon框架并不意味着允许设备之间的通信.它甚至不可能通过iBeacon框架进行通信(然后应该使用CoreBluetooth).iBeacon只能进行广告(数据).但这些广告包是否已被保护或是否公开?

我错过了关于iBeacon的更详细(技术)报告.

另一件不太清楚的事情是:谁开始"说话"?是广告iBeacon设备还是监控应用程序/设备.广告iBeacon设备总是做广告吗?

security ios bluetooth-lowenergy ibeacon

4
推荐指数
3
解决办法
5269
查看次数

如何知道最近的iBeacon

我有一个代码知道哪个信标最接近,但是当信标的准确度为-1.00000时,我有一个问题,应用程序采用第二个.

因此,有一个布鲁克寻求最近的灯塔寻找其他人,并将最接近的灯塔与周围的其他灯塔进行比较.然后,当我知道哪个是最接近的那个时,我向用户显示它的视图,但是当其他信标靠近ipad时,视图关闭并且显示视图.

我在iPad上使用iOS 7.1和7.0.4,首先是iPad3,第二个是iPad Mini Retina.

在这里你有代码:

    - (void)locationManager:(CLLocationManager *)manager didStartMonitoringForRegion:(CLRegion *)region {
    [self.locationManager startRangingBeaconsInRegion:self.beaconRegion];
}

- (void)initRegion {
    NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:@"00000000-0000-0000-0000-000000000002"];
    self.beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:uuid identifier:@"com.devfright.myRegion"];
    [self.locationManager startMonitoringForRegion:self.beaconRegion];
}

- (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLRegion *)region {
    NSLog(@"Beacon Found");
    [self.locationManager startRangingBeaconsInRegion:self.beaconRegion];
}

-(void)locationManager:(CLLocationManager *)manager didExitRegion:(CLRegion *)region {
    NSLog(@"Left Region");
    [self.locationManager stopRangingBeaconsInRegion:self.beaconRegion];
}
-(void)locationManager:(CLLocationManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region {
    CLBeacon *beacon = [[CLBeacon alloc] init];
    CLBeacon *closestBeacon = [[CLBeacon alloc] init];
    closestBeacon = [beacons lastObject];

    //Search for …
Run Code Online (Sandbox Code Playgroud)

proximity ipad ios ibeacon ios7.1

4
推荐指数
1
解决办法
3499
查看次数

如何解码FreeTec PX-1737-919蓝牙4.0温度传感器的蓝牙LE封装/帧/信标?

传感器宣传这些蓝牙LE套餐:

> 04 3E 26 02 01 03 01 B8 AB C0 5D 4C D9 1A 02 01 04 09 09 38 
  42 42 41 43 34 39 44 07 16 09 18 47 08 00 FE 04 16 0F 18 5B 
  B3 
> 04 3E 26 02 01 03 01 B8 AB C0 5D 4C D9 1A 02 01 04 09 09 38 
  42 42 41 43 34 39 44 07 16 09 18 45 08 00 FE 04 …
Run Code Online (Sandbox Code Playgroud)

bluetooth bluetooth-lowenergy gatt ibeacon

4
推荐指数
2
解决办法
8966
查看次数

CoreLocation 线程崩溃崩溃:com.apple.CoreLocation.ConnectionClient.0x16fcb870.events

我在我们的生产应用程序的 Apple 的 CoreLocation 线程中遇到了这个崩溃。我无法在我的测试中重现它,也很难弄清楚它的内部 CoreLocation。目前它发生的人口比例很少,但我可以看到它越来越大。

   Crashed: com.apple.CoreLocation.ConnectionClient.0x16fcb870.events
0  CoreLocation                   0x2aa2db54 CLClientCreateIso6709Notation + 53675
1  CoreLocation                   0x2aa2dc7b CLClientCreateIso6709Notation + 53970
2  CoreLocation                   0x2aa2de03 CLClientCreateIso6709Notation + 54362
3  CoreLocation                   0x2aa2dcfb CLClientCreateIso6709Notation + 54098
4  CoreLocation                   0x2aa30f59 CLClientCreateIso6709Notation + 66992
5  CoreLocation                   0x2aa31089 CLClientCreateIso6709Notation + 67296
6  CoreFoundation                 0x24954699 <redacted> + 16
7  CoreFoundation                 0x2493f698 <redacted> + 120
8  CoreFoundation                 0x24948575 CFDictionaryApplyFunction + 172
9  CoreLocation                   0x2aa3036d CLClientCreateIso6709Notation + 63940
10 CoreLocation                   0x2aa2edaf CLClientCreateIso6709Notation + 58374
11 libxpc.dylib                   0x247816e5 <redacted> + 40 …
Run Code Online (Sandbox Code Playgroud)

core-location ios ibeacon swift

4
推荐指数
1
解决办法
1377
查看次数

在 Ionic 2 中,iBeacon 集成抛出“No provider for IBeacon”错误

我正在尝试将 ibeacon 功能集成到 Ionic 2 应用程序中。

\n\n

我正在使用https://ionicframework.com/docs/native/ibeacon/ 插件。

\n\n

按照文档中提到的步骤进行操作。

\n\n
    \n
  1. 创建了一个提供者类。
  2. \n
  3. 添加了插件集成。
  4. \n
  5. 调用主页中的提供程序类。
  6. \n
\n\n

但是在Android设备上运行该应用程序时,出现错误,

\n\n
\n

“导航失败:没有 IBeacon 提供商!”

\n
\n\n

请提出任何修复建议。

\n\n

谢谢。

\n\n

信标提供者类:

\n\n
import { Injectable } from \'@angular/core\';\nimport { Platform, Events } from \'ionic-angular\';\nimport { IBeacon } from \'@ionic-native/ibeacon\';\n\n\n\n/*\n  Generated class for the BeaconProvider provider.\n// \n  See https://angular.io/docs/ts/latest/guide/dependency-injection.html\n  for more info on providers and Angular 2 DI.\n*/\n@Injectable()\nexport class BeaconProvider {\n\n  delegate: any;\n  region: any;\n\n  constructor(public platform: Platform, …
Run Code Online (Sandbox Code Playgroud)

ibeacon ionic2

4
推荐指数
1
解决办法
1075
查看次数

如何生成或创建iBeacons UUID?

Apple发布了采用iBeacons技术的iOS 7.Apple是否会发布有关此iBeacons技术的更多详细信息?

在我的项目中,我将创建一个iBeacons.我怎样才能选择iBeacons的UUID?是否有生成iBeacons UUID的规则?我可以使用随机数作为UUID吗?

ios bluetooth-lowenergy ibeacon

3
推荐指数
2
解决办法
8653
查看次数

设置范围区域iBeacons

我在使用iBeacons时遇到了一些重大问题.

我根本无法弄清楚如何控制触发某种事件的距离(如通知).我只允许在我进入或退出地区时发送通知但我想在我临近或立即时发送通知/

我在哪里错过了文档中的这些内容?

谢谢 !

location objective-c ios ibeacon

3
推荐指数
1
解决办法
1753
查看次数

iBeacon每1分钟不断进出区域

当iBeacon(使用Kontakt Beacon)在后台模式下进入区域时,我设法获得本地通知.同时我监控3个具有特定和唯一标识符的信标区域(每个标识符具有相同的UUID,但具有唯一的主要和次要组合).在锁定屏幕模式下,我的应用程序可以通知这些信标何时出现,但我不知道为什么即使信标和我的应用程序仍然几乎彼此相邻,代理人DidExitRegion仍然被调用,请查看我的日志.

2014-01-18 11:56:49.828 sunlandbeacon [1385:60b]进入非活动模式

2014-01-18 11:56:49.848 sunlandbeacon [1385:60b]带徽章的EnterBackgroundMode 0

2014-01-18 11:57:28.629 sunlandbeacon [1385:60b]退出灯塔范围

2014-01-18 11:57:29.305 sunlandbeacon [1385:60b]本地通知发生在徽章1

2014-01-18 11:57:29.307 sunlandbeacon [1385:60b]输入带有flagvalue 1的区域1

2014-01-18 11:58:15.173 sunlandbeacon [1385:60b]退出灯塔范围

2014-01-18 11:58:15.176 sunlandbeacon [1385:60b]退出灯塔范围

2014-01-18 11:58:15.178 sunlandbeacon [1385:60b]退出灯塔范围

2014-01-18 11:58:15.880 sunlandbeacon [1385:60b]本地通知发生在徽章2

2014-01-18 11:58:15.886 sunlandbeacon [1385:60b]输入带有flagvalue 1的区域1

2014-01-18 11:58:16.175 sunlandbeacon [1385:60b]本地通知发生在徽章3

2014-01-18 11:58:16.184 sunlandbeacon [1385:60b]输入带有flagvalue 2的区域2

2014-01-18 11:59:02.784 sunlandbeacon [1385:60b]退出灯塔范围

2014-01-18 11:59:02.787 sunlandbeacon [1385:60b]退出灯塔范围

2014-01-18 11:59:02.790 sunlandbeacon [1385:60b]退出灯塔范围

2014-01-18 11:59:03.491 sunlandbeacon [1385:60b]本地通知发生在徽章4

2014-01-18 11:59:03.493 sunlandbeacon [1385:60b]输入带有flagvalue 1的区域1

2014-01-18 11:59:03.792 sunlandbeacon [1385:60b]本地通知发生在徽章5

2014-01-18 …

objective-c cllocationmanager ios7 ibeacon

3
推荐指数
1
解决办法
3068
查看次数

在iOS 8中无法检测到iBeacon

我已经跟随AppCodaDevfright的在线教程创建了一个iBeacon检测应用程序.我正在使用来自estimote的iBeacon,这是一款支持iOS 8的iPad 3.该应用程序根本无法检测到我的iBeacon,而其他iBeacon应用程序正在检测它.我无法理解我在代码中遗漏或做错了什么.

这是我的.h文件:

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>

@interface ViewController : UIViewController<CLLocationManagerDelegate>

@property (nonatomic, strong) CLBeaconRegion   *beaconRegion;
@property (nonatomic, strong) CLLocationManager *locManager;

@property (nonatomic, strong) IBOutlet UILabel *label1;
@property (nonatomic, strong) IBOutlet UILabel *label2;

@end
Run Code Online (Sandbox Code Playgroud)

这是我的.m文件:

#import "ViewController.h"
#import <CoreLocation/CoreLocation.h>

@interface ViewController () <CLLocationManagerDelegate>

@end

@implementation ViewController


- (void)viewDidLoad {
[super viewDidLoad];

self.locManager = [[CLLocationManager alloc] init];
self.locManager.delegate = self;

//default uuid for estimote beacons
NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:@"B9407F30-F5F8-466E-AFF9-25556B57FE6D"];

self.beaconRegion = [[CLBeaconRegion alloc]initWithProximityUUID:uuid identifier:@"com.rk.testregion"]; …
Run Code Online (Sandbox Code Playgroud)

ios ibeacon estimote ios8

3
推荐指数
1
解决办法
6905
查看次数

iBeacons:了解minor,major和UUID

我似乎无法弄清楚主要和次要值在检测iBeacons中的相关性或重要性.当我注册并配置我的万向节信标时,我给它一个特定的UUID值,主要和次要值,然后当我使用我的cordova iBeacon插件时,我可以检测到我的信标但是只有当我指示它寻找这些确切的参数时.

在我看来,只有uuid对检测信标至关重要.然而,我的应用程序没有检测到它们,除非我将这三个标准中的每一个都与值相匹配

任何人都可以阐明信标检测的主要和次要值的相关性,这是真的,我的代码需要明确指示插件来寻找匹配所有这些值的信标.

希望这篇文章有意义... iBeacon检测有很多活动部分,了解它已经将我的大脑绑在椒盐卷饼中

iphone cordova ibeacon cordova-plugins

3
推荐指数
2
解决办法
3821
查看次数