We have to create a flutter app how connect to other bluetooth motherboard. Our work is similar to an application for connected light bulbs.
We tried to creat emulator bluetooth app on phone to try to communicate between two phone. But it’s impossible.
So we have few questons :
- Which library is best for ?
- How can I test it without raspberry pi or something like that ?
- How to make sure we can only connect to devices through my app
Thank you, have a great day
2
Answers
i been working with flutter and ble for a while now.
I personally recommend flutter_blue_plus, it works pretty great for bluetooth low energy.
Second, i don’t think you can’t test it without a dev module. The ESP32 works great and generally it’s not so expensive. NimBle works for the bluetooth of the board.
At least, i recommend you use a "password" when you tried to connect, and the app is the only one who send it, idk.
I have also created the same kind of demo using blufi_plugin for scanning and connecting with ble devices.
}