天道酬勤,学无止境

ibeacon

Can't see my registered beacon in google beacon platform

Question I have got SENSORO beacon which I have configured using congif tool from Sensoro. Then I have created a project for beacon(Google API). Then I have registered the beacon using Beacon Tool from google, it got registered. But I am unable to see my beacon in Google Beacon Platform. I waited for almost 20 hrs but still not appearing. BTW what is difference between Eddystone and Eddystone URL, because for a single beacon I was getting Eddystone(This got registered) and Eddystone URL(Still unregistered). Have I missed any steps or it usually take more time ? Answer1 About the difference

2022-05-16 21:38:09    分类:技术分享    ibeacon   beacon   eddystone   google-beacon-platform   eddystone-url

How to run iPhone as a beacon in background in both xcode(swift) and phonegap

Question I managed to create an app which turns the phone into a beacon emitter. It works fine on xcode (Swift) and phonegap . The next step for me is making it work in the background as a beacon (I'm developing for iOS 10). I found similar questions to this online but all of them were out of date ie old ios , objective-C and outdate plug-ins would really appreciate it if someone can provide me with a working example or guide me on what to change in my code for both an xcode s(wift) and phonegap Xcode (Swift 3) import UIKit import CoreLocation import CoreBluetooth class ViewController

2022-05-15 16:11:34    分类:技术分享    ios   swift   cordova   phonegap-plugins   ibeacon

How to detect ibeacon device in background

Question I am implementing notification-based ibeacon app. What I am trying to do is exactly same as the video(https://www.youtube.com/watch?v=SrsHBjzt2E8). A user download the app from Appstore, take a look and then push it background. Supposed the user was doing whole things at home. Later, the user walk around the store ibeacon installed while the app is in background mode.What I expected is that the app automatically detect ibeacon devices and get notified. However,region ranging and monitoring should be the first to detect beacon devices nearby in FOREGROUND. Thats the current limitation

2022-05-07 23:07:25    分类:技术分享    ios7   ibeacon

Ibeacon android library 0.7.6 upgrade issue

Question I was using iBeacon library version 0.6 and everything was fine except monitoring. In that version monitoring was happening but the monitoring notifier callback was not getting called because library used an "implicit intent" to pass this information. see Issue IBeacon getting warning Implcit intents are not safe on callback of MonitorNotifier Recently I upgraded to the version 0.7.6 of the iBeacon android library and it solved the problem of monitoring callback but I found a new issue with this upgrade. I am getting an Exception which is android.view.ViewRootImpl

2022-05-07 20:26:04    分类:技术分享    ibeacon   ibeacon-android

How to use Arduino with BLE Shield search Apple's iBeacons signal source

Question I am playing a project to search iBeacons in region by Arduino with BLE Shield. Because of leak of tech-support of iBeacons Technology, I can't find any docs about how to search iBeacons signal source. Answer1 An iBeacon is basically a BLE Broadcaster, and such devices can only be discovered by a Central or an Observer. Many BLE shields use Nordic Semiconductor's nRF8001 chip, and unfortunately, this is a pure Peripheral device, and as such, it isn't possible to use this to discover an iBeacon. Take a look at this question for further details on the roles in BLE.

2022-05-06 14:07:15    分类:技术分享    ios7   arduino   bluetooth-lowenergy   ibeacon

CoreBluetooth for beacons

Question I have a project that requires ranging of beacons, I've looked at lots of sample code which all uses CLLocationManager and CLBeaconRegion. My issue with this is that the didRangeBeacons callback only gets called once per second. Although I've not found any code examples specifically for beacons, am I correct in thinking that CoreBluetooth would give me more control over how often my app scans for beacons? My thinking is that if I can scan for beacons at a higher rate (say ever 200ms) I will be able to use more rssi values in my filtering function and therefore get a more accurate

2022-04-29 16:09:24    分类:技术分享    ios   ibeacon   beacon

Detect nearby beacons with Bluez

Question I installed Bluez and I am trying to scan and get UUID Major, Minor and if possible mac address for nearby ibeacon. I found similar questions and they refer to a script which I found here . When I launch the script I get this error Set scan parameters failed: Input/output error Did someone know how to solve the problem or has another solution ? If I start transmitting with the beacon and then I start the scan I get no result at all and I have to interrupt the script. Answer1 You should test that the BlueZ installation is working properly on your Linux machine. Try using the hcitool

2022-04-27 22:57:15    分类:技术分享    ibeacon   bluez   ibeacon-android

didEnterRegion is not Called but didExitRegion is Called in objective C

Question Hi everyone in my app i'm finding the iBeacons here the didExitRegion Method i called when i exit from the Region but the didEnterRegion method is not called when i entering the region.i fixed the background Refresh,remote notifications,location request always in info.plist here is my code - (void)viewDidLoad { [super viewDidLoad]; locManager=[[CLLocationManager alloc] init]; locManager.delegate=self; [self initRegion]; if([locManager respondsToSelector:@selector(requestAlwaysAuthorization)]) { [locManager requestAlwaysAuthorization]; } // clBeconRegion.notifyOnEntry=YES

2022-04-25 02:05:10    分类:技术分享    objective-c   cllocationmanager   ibeacon

Using iPhone as iBeacon Transmitter

Question I'm trying to set up my iPhone to broadcast an iBeacon signal for another iPhone to pick up. The iPhone that's supposed to pick up the signal is working, but I can't get the other iPhone to broadcast the signal. I'm following this tutorial: https://www.hackingwithswift.com/example-code/location/how-to-make-an-iphone-transmit-an-ibeacon And here's my code: import CoreBluetooth import CoreLocation class iBeaconTransmission: NSObject, CBPeripheralManagerDelegate { var localBeacon: CLBeaconRegion! var beaconPeripheralData: NSDictionary! var peripheralManager: CBPeripheralManager! func

2022-04-24 14:20:25    分类:技术分享    ios   swift   swift2   ibeacon

CoreBluetooth advertisement error

Question I have a strange error when attempting to advertise some service data. func locationManager(manager: CLLocationManager, didRangeBeacons beacons: [CLBeacon], inRegion region: CLBeaconRegion) { if let beacon = beacons.first, username = NSUserDefaults.standardUserDefaults().objectForKey("username") { var major = beacon.major.integerValue var minor = beacon.minor.integerValue let advertismentData:[String:AnyObject] = [ CBAdvertisementDataServiceUUIDsKey:[AppDelegate.MajorUUID, AppDelegate.MinorUUID, AppDelegate.IdentifierUUID], CBAdvertisementDataServiceDataKey:[AppDelegate.MajorUUID

2022-04-22 18:21:04    分类:技术分享    ios   bluetooth-lowenergy   core-bluetooth   ibeacon