web-bluetooth

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 does one create a Terminal I/O connection to a Telit BLE module?

可紊 提交于 2021-01-01 04:12:36
问题 I'm writing a progressive web app for an android tablet which should be able to read and write to a device with an embedded Telit BLE module via a BLE connection. I am able to open a BLE connection and discover services and characteristics. I am unable to establish a connection over BLE using Telit's Terminal I/O (TIO) protocol. My remote (server) device is a Falcom Fox3 tracker unit. A notification event can be read from the Fox3 serial port when a connection is established. This has been

Progressive web app beacon search

試著忘記壹切 提交于 2020-08-08 13:52:29
问题 Is it possible to search for beacon data (uuid, url, ...) with a progressive web application using just web technologies that is without using native mobile technologies (Android, ios, ...)? Thanks in advance. 回答1: Unfortunately, this is not possible as of July 2020. While Google has been working on the WebBluetooth project to bring support for many bluetooth operations to the browser, at least in Google Chrome implementations on Android 6+, Mac or ChromeOS. Scanning for beacons is not yet

Is it possible to persist a Bluetooth LE connection on browser refresh

狂风中的少年 提交于 2019-12-24 19:38:39
问题 Is it possible to persist a Bluetooth LE connection on browser refresh? Or at least minimize the pairing time? 回答1: Eventually navigator.permissions.query would support this. Sample code from Web Bluetooth Specification navigator.permissions.query({ name: "bluetooth", deviceId: sessionStorage.lastDevice, }).then(result => { if (result.devices.length == 1) { return result.devices[0]; } else { throw new DOMException("Lost permission", "NotFoundError"); } }).then(...); However, no browser

Web bluetooth with promises

﹥>﹥吖頭↗ 提交于 2019-12-13 03:48:08
问题 I'm working on a project where a want to use web bluetooth to connect to a BLE device. I looked trough multiple tutorials and tried to make those work. In the code below i get the characteristic of the device. The code works but I don't know why. I want my promise to activate when a device is found and connected to. But when I put the connect .then in the promise the other .then already activates when I launch the application. function read() { let prom = new Promise(function (resolve, reject