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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With