yanshouwang / bluetooth_low_energy

A Flutter plugin for controlling the bluetooth low energy.
https://pub.dev/packages/bluetooth_low_energy
MIT License
50 stars 16 forks source link

StartAdvertising doesn't have a status callback for success or failure. #89

Open 15972078884 opened 4 months ago

15972078884 commented 4 months ago

Can it be added?

yanshouwang commented 4 months ago

The startAdvertising method returns a Future, this future will complete when the status is success or throws an error when the status is failed. You can try catch this method and await it to know the status.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.