Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 260
Ravi Teja Avatar asked Sep 18 '25 19:09

Ravi Teja


1 Answers

I'm afraid that's not possible. At least not in the general sense. Web Bluetooth Draft Community Group Report states:

The first version of this specification allows web pages, running on a UA in the Central role, to connect to GATT Servers over either a BR/EDR or LE connection.

Both browsers will be GATT Clients and needs a GATT Server to connect to. You can't provide a GATT Server via the Web Bluetooth API.

like image 135
Sven Avatar answered Sep 21 '25 08:09

Sven