gioui-plugins / gio-plugins

Gio-Plugins offers new plugins to extend and enhance your Gio app. Inspired by flutter/plugins repository,
Other
45 stars 6 forks source link

Bluetooth #67

Open inkeliz opened 1 month ago

inkeliz commented 1 month ago

Why that plugin should be added? It's common for IoT devices to use Bluetooth for the initial bootstrap, or use hotspot-WiFi, which seems to be less reliable. In that case, the Bluetooth is used as a serial for data exchange.

What features this plugin should have and how it should work? That is complex, since BLE can be used for many reasons. Including for only advertise, but also for HID-device (mouse/keyboard). This flexibility makes harder to use, and we must assume some basic cases.

What alternatives you've considered? None.

Is this plugin implementable on all OSes (Android, iOS, macOS, WASM, Windows...)? Some devices may not have Bluetooth, some OSes (WASM) can be very limited.

Did you known any particular limitation for specific OS? Javascript doesn't fully supports and/or needs Experimental Features.

ddkwork commented 3 weeks ago

Combined with the wifi hotspot function, this can be used to implement a LAN file transfer tool for file transfer, directory transfer and clipboard sharing in real time. In addition, you need to implement QR code scanning and install the package by entering the password or fingerprint verification to install the apk.

gedw99 commented 1 week ago

This would really be useful for that and a ton of other scenarios where a developer needs to talk to some hardware over Bluetooth.

audio hardware uses Bluetooth. Credit card readers.