flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

(iOS) Connect to device by id

Open cdfq152313 opened this issue 5 years ago • 6 comments

cdfq152313 avatar Sep 08 '20 05:09 cdfq152313

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 08 '20 05:09 CLAassistant

No description provided.

Hey @cdfq152313 I need this PR, do you have an example how to use it on a flutter project? I do it in Android with protos from the package but it's not working on iOS. If you have some example, I would appreciate it.

Many thanks

Luiggi13 avatar Oct 20 '20 14:10 Luiggi13

Same as Android. But be careful iOS use uuid instead of mac address. So you need to scan and get uuid first.

By the way, due to this package isn't updated for a long time, I suggest you to switch to flutter_ble_lib .

cdfq152313 avatar Oct 20 '20 15:10 cdfq152313

Same as Android. But be careful iOS use uuid instead of mac address. So you need to scan and get uuid first.

By the way, due to this package isn't updated for a long time, I suggest you to switch to flutter_ble_lib .

Thanks man, replace the exist file for yours? Is it possible to convert UUID to Mac address?? 'Cause my backend send me the mac address

Thanks man

Luiggi13 avatar Oct 20 '20 15:10 Luiggi13

If you just want to use this commit. Merge, rebase, cherry-pick or copy-paste, too many way to apply it. Or maybe you just forget to read this?

For privacy reason, there are no way to convert a MAC address to iOS uuid.

cdfq152313 avatar Oct 20 '20 15:10 cdfq152313

Hi @cdfq152313 , is it possible to convert a MAC ADDRESS to UUID or vice-versa?

zeeem avatar Nov 06 '20 17:11 zeeem