ibeacon

Detect nearby beacons with Bluez

大憨熊 提交于 2019-12-12 04:27:00
问题 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. 回答1: You should test that

setting the BluetoothLEAdvertisement.Flags in C# for iBeacon advertisemet

▼魔方 西西 提交于 2019-12-12 03:44:14
问题 MS provided samples to send and receive Bluetooth Low Energy advertisements. I saw this very helpful answer for breaking down the iBeacon packet. There's also an example for setting BluetoothLEAdvertisement.ManufacturerData as the ibeacon standards. May I ask how can I set the Flags of the BluetoothLEAdvertisement? For example set the value to: 02-01-06 Thanks Edit 1: Here's the code: using System; using System.Management; using System.Text.RegularExpressions; using Windows.Devices.Bluetooth

Problems with connecting to IBeacon

微笑、不失礼 提交于 2019-12-12 01:40:44
问题 I am using the example from here to connect IBeacon. I believe that my UUID is correct. But the Event RegionEntered is never called and e.Beacons.Length in DidRangeBeacons event is always 0. locationMgr.DidRangeBeacons += (object sender, CLRegionBeaconsRangedEventArgs e) => { var a = e.Region; if (e.Beacons.Length > 0) { //make notification } } The difference from above mentioned sample is that I use the IBeacon instead of IPad. 回答1: Check to be sure you know the ProcimityUUID of your beacon

Beacon detection in background from framework

人走茶凉 提交于 2019-12-12 01:37:23
问题 I have a framework which had all beacon detection logic and a sample app which sets up and tears down framework. I want to get region enter and exit notifications after app is killed. I am able to get notifications from app when logic is in app. But when the logic is in framework I don't get notifications. What am I doing wrong? import UIKit import CoreLocation extension AppDelegate: CLLocationManagerDelegate { func registerForBeaconNotifications() { let locationManager = CLLocationManager()

UUID,Major,Minor settings for iBeacon devices

你离开我真会死。 提交于 2019-12-11 19:52:52
问题 I've got a few iBeacon devices from Gimbal which are configurable through a website. I can assign new uuid, major, minor to any iBeacon devices I have. I'm puzzled at how the iBeacon devices know these configuration changed so that they can broadcast? The iBeacon devices can communicate to web server (this seems not make sense at all)? P.S.: I didn't call any Gimbal API because I set them to iBeacon type. Can anybody explain this? Thanks 回答1: Changing the identifiers of most iBeacons requires

Qualcomm Gimbal Geofence Communication

淺唱寂寞╮ 提交于 2019-12-11 19:30:29
问题 I created Geofences in Gimbal Manager, and was able to trigger place events also. My problem is to communicate to iPhone device through Gimbal Manager. Delegate methods are getting called - (void)didGetContentDescriptors:(NSArray *)contentDescriptors But contentDescriptors array is null. I was not able to figure why I was not able to get contents when Geofence communication is triggered. Thanks in advance. 来源: https://stackoverflow.com/questions/24453761/qualcomm-gimbal-geofence-communication

iOS 13 - Estimote SDK - Beacon ranging

耗尽温柔 提交于 2019-12-11 18:48:53
问题 I've encountered problem with beacon ranging in iOS 13 Ranging Nearable stickers stop working self.nearableManager.startRanging(forIdentifier: nearableIdentifier) Nothing happens in delegate method: func nearableManager(_ manager: ESTNearableManager, didRangeNearable nearable: ESTNearable) { } UPDATE Error found: Ranging nearables failed with error: Error Domain=com.estimote.nearables Code=301 "Blueooth is not powerd on." UserInfo={NSLocalizedDescription=Blueooth is not powerd on.} When I use

Python - Correctly format HTTP post with delimiter [duplicate]

被刻印的时光 ゝ 提交于 2019-12-11 18:37:37
问题 This question already has an answer here : Python - HTTP post from stdin [closed] (1 answer) Closed 5 years ago . I have a python script accepting the output of a bash command 'ibeacon_scan'. I am getting this error when running the script. Traceback (most recent call last): file "./stdin.py", line 12, in <module> conn.request("POST", "post.php", params, headers) NameError: name 'params is not defined Here is the code for python #!/usr/bin/python import fileinput import httplib import urllib

Not able to get beacon attachment data using Nearby Google API on android

房东的猫 提交于 2019-12-11 17:14:28
问题 I am new to beacons and I'm having some troubles with Google Nearby Message API. I did as it was said on their page (https://developers.google.com/nearby/messages/android/get-beacon-messages) but it doesn't get any attachments from the beacons. It connects to the Google API client, it successfully subscribes but it never gets to "onFound" or "onLost". I am able to successfully register the beacon and sea it in "Beacon Tools" app. 来源: https://stackoverflow.com/questions/55088217/not-able-to

Android IBeaconManager not connecting from activity

旧时模样 提交于 2019-12-11 16:51:58
问题 I'm using the IBeacon SDK from radius networks on the android. Im currently using the IBeaconManager in one Activity and one Service. When the app first launches, The activity binds its iBeaconManager object however onIBeaconServiceConnect never gets called. Calling any ranging or monitoring functions ex startRangingBeaconsInRegion(region) is throwing a RemoteException: The IBeaconManager is not bound to the service. Call iBeaconManager.bind(IBeaconConsumer consumer) and wait for a callback