Home > Software design >  Web Bluetooth send text from phone to browser
Web Bluetooth send text from phone to browser

Time:07-13

I've been doing a lot of reading and research on Web Bluetooth.

I just want to send some text from a BLE Server (in this case a web app running on iOS WebBLE app)...and have the text appear on another web app running on Chrome on my Mac.

I just want a textarea and a send button for the Server and a dynamically updatable span on the client.

Seems like all tutorials assume Server is some kind of peripheral (monitor, light bulb, etc)..and that you just have to write Client code to interact with it.

Is it possible to do this? Seems like it should be simple. Thanks

I guess I'm asking how to turn desktop Chrome into peripheral device using Web BT

How can I get my Mac browser to advertise using Web BT?

CodePudding user response:

The Web Bluetooth API does not include APIs for acting in the peripheral role. A page using the API can only take on the role of the central.

  • Related