Toglefritz / flutter_splendid_ble

A comprehensive Flutter plugin for interacting with Bluetooth Low Energy (BLE) devices.
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

BLE peripheral support #1

Open ekuleshov opened 7 months ago

ekuleshov commented 7 months ago

It is amazing to see so much progress just in a few months! Great stuff!

I wonder if BLE peripheral support (aka BLE server) is being considered. It would allow external devices to initiate connection with a Flutter app running on host devices (Android, iOS or MacOS).

Toglefritz commented 7 months ago

Hey @ekuleshov. Thanks very much for checking out the plugin and for the suggestion to create some BLE peripheral support. I am working on adding this functionality now. I've gone back and forth on how to integrate the BLE peripheral features while keeping the overall plugin architecture clean. The direction I am going now is to basically split the plugin into two modules, each with its own method channel, one for central mode and one for peripheral mode. I am hoping to get a new plugin version published with BLE peripheral support added to iOS over the weekend (by 1/29/24 or so). Then, after that, I'll work on the Android and MacOS platform sides.

ekuleshov commented 7 months ago

@Toglefritz thank you for considering it. Having a separate module for peripherals makes total sense