ibeacon

How to get BLE advertising channel index number

萝らか妹 提交于 2021-01-28 02:16:56
问题 I would like to get the advertising channel index number when I read the advertisement packet. I can only see that the advertisement information consists of a header info, UUID, major number, minor number and RSSI value. does any of this information have the channel number embedded into it? Can I tell if I'm reading the packet on channel 37/38/39? 回答1: On all host platforms that use HCI to communicate with the Bluetooth controller, this is not possible since HCI does not expose the channel

Altbeacon stopped working on Android10 and didEnterRegion does not get called at all

痞子三分冷 提交于 2020-08-19 08:03:13
问题 altbeacon on Android 10 has simply stopped working. Are there any changes required especially to go to Android 10? I have added the following permissions to my AndroidManifest.xml <uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/> <uses-permission android:name=\"android.permission.BLUETOOTH\"/> <uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/> <uses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\"/> <uses-permission

Altbeacon stopped working on Android10 and didEnterRegion does not get called at all

我只是一个虾纸丫 提交于 2020-08-19 08:02:38
问题 altbeacon on Android 10 has simply stopped working. Are there any changes required especially to go to Android 10? I have added the following permissions to my AndroidManifest.xml <uses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\"/> <uses-permission android:name=\"android.permission.BLUETOOTH\"/> <uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/> <uses-permission android:name=\"android.permission.ACCESS_BACKGROUND_LOCATION\"/> <uses-permission

Beacon functionality in Flutter

本秂侑毒 提交于 2020-07-21 03:06:50
问题 I'm currently building an app that turns my device into a Beacon while simultaneously scanning for other Beacons. I've currently implemented 2 packages: flutter_beacon: https://pub.dev/packages/flutter_beacon beacon_broadcast: https://pub.dev/packages/beacon_broadcast Everything is working as intended except that I'm broadcasting an AltBeacon and scanning for iBeacon, so my app can't recognize the signal I'm broadcasting. Is there a package that either broadcasts iBeacon or monitors AltBeacon

Beacon functionality in Flutter

梦想与她 提交于 2020-07-21 03:06:09
问题 I'm currently building an app that turns my device into a Beacon while simultaneously scanning for other Beacons. I've currently implemented 2 packages: flutter_beacon: https://pub.dev/packages/flutter_beacon beacon_broadcast: https://pub.dev/packages/beacon_broadcast Everything is working as intended except that I'm broadcasting an AltBeacon and scanning for iBeacon, so my app can't recognize the signal I'm broadcasting. Is there a package that either broadcasts iBeacon or monitors AltBeacon

Beacon functionality in Flutter

瘦欲@ 提交于 2020-07-21 03:04:28
问题 I'm currently building an app that turns my device into a Beacon while simultaneously scanning for other Beacons. I've currently implemented 2 packages: flutter_beacon: https://pub.dev/packages/flutter_beacon beacon_broadcast: https://pub.dev/packages/beacon_broadcast Everything is working as intended except that I'm broadcasting an AltBeacon and scanning for iBeacon, so my app can't recognize the signal I'm broadcasting. Is there a package that either broadcasts iBeacon or monitors AltBeacon

How to measure the distance between an iPhone acting like an iBeacon and an Android device

混江龙づ霸主 提交于 2020-06-28 14:11:45
问题 I'm using my iPhone as an iBeacon device, and on the other side I have an Android 4.4.2 device scanning for the Bluetooth LE iBeacon signal from the iPhone. I searched for a good and easy way to calculate the distance between iBeacons and my Android phone, but I couldn't find anything that can help me with this. Could you help me on this matter? 回答1: We built a distance estimation formula into the Android Beacon Library of the form: d=A*(r/t)^B+C , where d is the distance in meters, r is the