beacon

Can I read an iPhone beacon with Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData

匿名 (未验证) 提交于 2019-12-03 00:59:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: According to the Bluetooth Advertisement sample , I need to set the CompanyID ( UInt16 ) and the Data ( IBuffer , a UInt16 in the sample) to start watching for advertisers. In the iPhone, I can set the beacon UUID to 4B503F1B-C09C-4AEE-972F-750E9D346784 . And reading on the internet, I found Apple's company id is 0x004C , so I tried 0x004C and 0x4C00 . So, this is the code I have so far, but of course, it is not working. var manufacturerData = new BluetoothLEManufacturerData(); // Then, set the company ID for the manufacturer data. Here we

Does MAC ID broadcasted in Eddystone Beacon change?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 13:18:34
I'll describe my setup : I have made an android application that simulates Eddystone beacon. I was able to detect the Eddystone beacon on my phone using Beacon Toy app from PlayStore. But the thing is , from the last time I checked , the MAC ID displayed has changed. I can identify its the same beacon because of the namespace and instance id being the same but under different MacID. Could someone suggest what is happening here ? I was under the impression that MacID stays constant. Yes, Android transmitters randomize their bluetooth MAC address. This is nothing specific to Eddystone, but to

Background monitoring of Eddystone beacon using altbeacon library on android platform

两盒软妹~` 提交于 2019-12-01 22:31:25
问题 Is background monitoring of Eddystone beacon using altbeacon library on android platform possible? How can I achieve it? Following is the code by which I can detect beacons with a specified UUID when the app is launched, but I want to achieve the same when the app is not running. public class MainActivity extends ActionBarActivity implements BeaconConsumer,MonitorNotifier { private BeaconManager beaconManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

Beacon monitoring after reboot with iOS10

可紊 提交于 2019-12-01 15:01:22
With iOS9, my app was able to detect beacons even iPhone was restarting. With iOS10 this feature is no more working. It seems that with iOS10 "monitored beacon list" is not restarted agter a phone reboot. Any idea ? There have been a number of reports of failing to monitor beacons in the background after an upgrade to iOS 10. Try this: Setting -> General -> Reset -> Reset Network Settings Launch your app, verifying beacon detection in the foreground Turn off your beacon or leave range to verify region exit in the foreground Put the app to the background (hit home or kill the app) Turn on the

Android iBeacon App not working in the background

我们两清 提交于 2019-12-01 14:45:57
I have developed Android app to detect the beacon if the customer is near to 1 mt distance . I am using Android Beacon Library to develop the application.When we are in foreground the I get the notification but as soon as the application goes into background .. notification stooped working . Could you help me where am I wrong ? Below is the code for BeaconApp and MainActivity. BeaconApp.java public class BeaconApp extends Application implements BootstrapNotifier { private static final String TAG = "BeaconApp"; private RegionBootstrap regionBootstrap; private Region allbeaconsregions; private

Android iBeacon App not working in the background

折月煮酒 提交于 2019-12-01 12:53:10
问题 I have developed Android app to detect the beacon if the customer is near to 1 mt distance . I am using Android Beacon Library to develop the application.When we are in foreground the I get the notification but as soon as the application goes into background .. notification stooped working . Could you help me where am I wrong ? Below is the code for BeaconApp and MainActivity. BeaconApp.java public class BeaconApp extends Application implements BootstrapNotifier { private static final String

how to connect with bluetooth low energy in ios swift?

我与影子孤独终老i 提交于 2019-12-01 06:36:48
I want to connect with ble peripheral. But my code doesn't call didConect function this is my code : func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber) { let device = (advertisementData as NSDictionary) .object(forKey: CBAdvertisementDataLocalNameKey) as? NSString if device?.contains(BEAN_NAME) == true { print("Did discover peripheral", peripheral) self.bluetoothManager.stopScan() self._peripheral = peripheral self._peripheral.delegate = self central.connect(peripheral, options: nil) } } func

how to connect with bluetooth low energy in ios swift?

时光怂恿深爱的人放手 提交于 2019-12-01 05:04:43
问题 I want to connect with ble peripheral. But my code doesn't call didConect function this is my code : func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber) { let device = (advertisementData as NSDictionary) .object(forKey: CBAdvertisementDataLocalNameKey) as? NSString if device?.contains(BEAN_NAME) == true { print("Did discover peripheral", peripheral) self.bluetoothManager.stopScan() self._peripheral =

Google nearby API background scan doesn´t work after application kill

為{幸葍}努か 提交于 2019-11-30 22:01:27
I have kontakt.io beacon and I try to write application for background scanning with nearby API. I use this method to subscribe messages: SubscribeOptions options = new SubscribeOptions.Builder() // Finds messages attached to BLE beacons. See // https://developers.google.com/beacons/ .setStrategy(Strategy.BLE_ONLY) .build(); Nearby.Messages.subscribe(mGoogleApiClient, getPendingIntent(), options) .setResultCallback(new ResultCallback<Status>() { @Override public void onResult(@NonNull Status status) { if (status.isSuccess()) { Log.i(TAG, "subscribed successfully"); mSubState = SubState

Import Objective-c framework into Swift framework project

∥☆過路亽.° 提交于 2019-11-30 13:14:33
问题 I am building a framework in which I need to import some objective-c frameworks for now I need to import "Beaconstac.framework" but as we can not add a bridging header in a swift framework project so my question is how can I use this framework in my project this is not directly accessible in my project I tried import Beaconstac but its giving error "No Such Module" is there any alternative to do this? 回答1: You need to import the Beaconstac framework in your umbrella header. That is, if you'd