Questions tagged [web-bluetooth]

The experimental W3C Web Bluetooth API allows websites to communicate with Bluetooth LE devices over the GATT protocol.

See the draft specification, the Intro article, the Google Plus community, the W3C Community Group page and Mozila Community Group page.

202 questions
12
votes
1 answer

Can I use web-bluetooth to connect with devices with regular BT, NOT BLE?

I want to build a PWA with capability to connect with "regular" bluetooth, not with Bluetooth Low Energy (BLE). Is that possible ?
tessarini
  • 142
  • 1
  • 10
6
votes
1 answer

Web Bluetooth - Can I retrieve a list of all services within a device?

I've been basing my project on the discover services and characteristics sample project: https://googlechrome.github.io/samples/web-bluetooth/discover-services-and-characteristics.html I'm trying to log a list of all available services within a…
Luc
  • 61
  • 1
  • 3
6
votes
3 answers

Property bluetooth does not exist on type ‘Navigator'

I integrated sample code into my Angular 6 project. But there some compile errors. One of these errors is: Property 'bluetooth' does not exist on type 'Navigator'. Why this error happens and how can I solve it?
affeto
  • 351
  • 6
  • 15
5
votes
1 answer

How to pair with a Bluetooth device from an iOS web application?

When I look at https://caniuse.com/mdn-api_bluetooth it indicates that neither Safari not iOS Safari supports Web Bluetooth, and due to Apple policy all iOS browsers basically Safaris as well, so this means none of the browsers could come to rescue…
5
votes
2 answers

Web-Bluetooth error "GATT operation not authorized" occurs on Windows only

I have been working with web-bluetooth for the past several months on iOS and ChromeOS without any problems. But today, I tried to run some of my examples on Windows for the first time, and to my surprise, most of the things I had implemented didn't…
5
votes
1 answer

Web Bluetooth bypass Pairing Screen for a known device id

Is it possible to connect a bluetooth device whose ID I know without the pairing screen? classic: navigator.bluetooth.requestDevice ({filters: [{services: ['heart_rate']}]}) .then (device => { this.device = device; return…
pigobyte
  • 95
  • 7
5
votes
1 answer

Can I try Web Bluetooth on Chrome for Android Lollipop?

The experimental Web Bluetooth API works quite well in the Dev version of Chrome for Android Marshmallow. I can simply enable the experimental flag at chrome://flags/#enable-web-bluetooth and I'm good to go. Sadly the Web Bluetooth API doesn't work…
François Beaufort
  • 4,843
  • 3
  • 29
  • 38
4
votes
3 answers

Offline PWA communication between clients

I was wondering if there are any possibilities to efficiently communicate and share data between devices using an offline progressive web app without being able to access the internet. The first things that came into my mind are the Web Bluetooth…
4
votes
0 answers

20 byte MTU for web-bluetooth on Windows Chrome?

Does web-bluetooth run into a 20 byte MTU on Windows Chrome? I am seeing writes to a characteristic value of the same 25 bytes succeed in Chrome on mac OS and fail in Chrome on Windows. As I whittle down the bytes, the error continues occurring…
ktusznio
  • 3,585
  • 3
  • 22
  • 21
4
votes
1 answer

Can we use Web-bluetooth between two browsers on different devices be able to chat or exchange data?

i want to make two browsers in two different devices be able to chat via web bluetooth. Lets say i load a website on both devices and if in the case internet is lost i still want both the devices be able to chat?
Ravi Teja
  • 182
  • 1
  • 9
4
votes
1 answer

Can I send files over web-bluetooth?

I am currently developing an embedded system who count the number of cars and saved theirs speed and time. All these data are stored in a simple logs file (thanks to rsyslog). In parallel, I develop an web-API (in Typescript/Angular with Electron…
4
votes
2 answers

Web Bluetooth Bypass Pairing Screen

The BLE Peripheral Simulator app, combined with the Web Bluetooth Samples, is a tremendous resource for developers. Once a device is paired, is there any way through Web Bluetooth to bypass the pairing screen and go straight to the app?
user2782
  • 358
  • 2
  • 18
4
votes
0 answers

Can a Google Chrome extension access the Web Bluetooth API?

I've searched the Web Bluetooth docs and the chrome.bluetooth docs but it seems like they only mention Chrome Apps being able to access the API, it doesn't say anything about extensions.
RayB
  • 2,096
  • 3
  • 24
  • 42
4
votes
1 answer

How can users use Web Bluetooth apps on iOS?

Is Web Bluetooth implemented in Safari? How can web apps that use Web Bluetooth on their pages work on Apple iphones and ipads?
Vincent Scheib
  • 17,142
  • 9
  • 61
  • 77
4
votes
2 answers

Progressive web app beacon search

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
2 3
13 14