chipweinberger / flutter_blue_plus

Flutter plugin for connecting and communicationg with Bluetooth Low Energy devices, on Android, iOS, macOS
Other
791 stars 479 forks source link

[Help]: How to calculate the distance between two devices? #687

Closed luan-coelho closed 1 year ago

luan-coelho commented 1 year ago

Requirements

Have you checked this problem on the example app?

No

FlutterBluePlus Version

1.28.14

Flutter Version

3.16.0

What OS?

All

OS Version

latest versions

Bluetooth Module

I don't know how to inform

What is your problem?

I'm working on developing a mobile application to control student and teacher attendance. At a certain point it is necessary to validate the student's presence by checking the distance between their device and the teacher's device. I would like to know if the current library offers adequate resources to perform this distance calculation between devices. Any guidance or recommendations on methods or best practices for this implementation would be greatly appreciated.

In summary, does this library have enough features to calculate the distance between devices?

Logs

I don't know how to inform
chipweinberger commented 1 year ago

sure.

scan and use scanResult.rssi