ibeacon

Scanning for beacons on iOS thru' web browser

十年热恋 提交于 2021-02-19 05:57:06
问题 Is there any way to make a web page scan for beacons on iOS ? I know that no iOS web browser supports Web Bluetooth at the present. I even could not find any information about if Chrome team is planning to add support for Web Bluetooth for Chrome on iOS. Is there any other way to scan for the beacons on iOS thru' web browsers (be it Safari or Chrome) ? Thanks 回答1: Unfortunately, Google can't add Web Bluetooth to Chrome for iOS without Apple's participation , and Apple has given no indication

How do I catch an error in Flutter (`beacon_broadcast` library)? Conventional methods don't work for this library

两盒软妹~` 提交于 2021-02-11 12:41:21
问题 I am using a library called beacon_broadcast when I start the beacon broadcast, it outputs an error in the console, but I'm not able to catch it ( try , .catchError , and using .then doesn't work). Console Output: D/BeaconParser( 7318): Parsing beacon layout: blah_blah_blah D/BluetoothAdapter( 7318): isLeEnabled(): ON D/BluetoothAdapter( 7318): isLeEnabled(): ON E/BeaconTransmitter( 7318): Advertisement start failed, code: 2 Error code 2 means advertising slot not available. I do not think

How do I catch an error in Flutter (`beacon_broadcast` library)? Conventional methods don't work for this library

杀马特。学长 韩版系。学妹 提交于 2021-02-11 12:39:11
问题 I am using a library called beacon_broadcast when I start the beacon broadcast, it outputs an error in the console, but I'm not able to catch it ( try , .catchError , and using .then doesn't work). Console Output: D/BeaconParser( 7318): Parsing beacon layout: blah_blah_blah D/BluetoothAdapter( 7318): isLeEnabled(): ON D/BluetoothAdapter( 7318): isLeEnabled(): ON E/BeaconTransmitter( 7318): Advertisement start failed, code: 2 Error code 2 means advertising slot not available. I do not think

IBeacon background monitoring [closed]

牧云@^-^@ 提交于 2021-02-08 10:14:50
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 10 months ago . Improve this question I'm building an app which's core functionality requires beacon monitoring. To be exact I need to add the payload (min range) value of every beacon with a specific UUID to a Core Data list(it would be even better if I could set a certain threshold of time in

Multiliteration implementation with inaccurate distance data

烂漫一生 提交于 2021-02-07 10:20:36
问题 I am trying to create an android smartphone application which uses Apples iBeacon technology to determine the current indoor location of itself. I already managed to get all available beacons and calculate the distance to them via the rssi signal. Currently I face the problem, that I am not able to find any library or implementation of an algorithm, which calculates the estimated location in 2D by using 3 (or more) distances of fixed points with the condition, that these distances are not

Advertising with iBeacon when app is in background

我的未来我决定 提交于 2021-02-04 12:48:25
问题 I have been digging all forums and tutorials about transmitting in background mode with iBeacon. Until now, I couldn't find something solid which can help me. My app can successfully receive and transmit but when I press home button, transmitting stops and connection on other device/devices disappear. In myApp.plist, I added required keys but still nothing works. The question is, how can I make my app keep transmitting in background mode? 回答1: iBeacon will not advertise (transmit) in the

android beacon library not start detecting beacons

≡放荡痞女 提交于 2021-01-29 18:52:57
问题 I don't know where is the problem with my code, I'm trying to detect beacon using https://altbeacon.github.io/android-beacon-library sorry for bad English and I'm new in mobile application development. AndroidManifiets.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.isleem.hospital"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.BLUETOOTH"/> <uses

What does error code 2 in beacon_broadcast flutter package mean?

佐手、 提交于 2021-01-29 18:42:09
问题 I am making a beacon broadcast app using Flutter. The library I am using is "beacon_broadcast" at pub.dev. When I try to start it, the console says: D/BeaconParser( 7318): Parsing beacon layout: m:2-3=beac,i:4-19,i:20-21,i:22-23,p:24-24,d:25-25 D/BluetoothAdapter( 7318): isLeEnabled(): ON D/BluetoothAdapter( 7318): isLeEnabled(): ON E/BeaconTransmitter( 7318): Advertisement start failed, code: 2 What does error code 2 mean? I don't need any other help, I just want the meaning, so I think I

Theory behind ARMA and Running Average filter and are there any alternative algorithms for calculating distance from RSSI of signal?

99封情书 提交于 2021-01-29 04:55:27
问题 I can see that the Android Bacon Library features two algorithms for measuring distance: the running average filter and the ARMA filter. How are these related to the library's implementation (apart from using the filter's formula)? Where can I find some background information about these that explains the theory behind it? Are there any known alternative algorithms that can be studied and tried out for measuring the distance? 回答1: There are two basic steps to giving a distance estimate on BLE

How to get BLE advertising channel index number

谁说胖子不能爱 提交于 2021-01-28 03:33:20
问题 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