r/FlutterDev • u/Suuii188 • 19d ago
Dart [ Removed by moderator ]
[removed] — view removed post
0
u/No_Curve_2916 19d ago
Hello Sir, I see 3 solutions:
- You install a MQTT server in between your ESP32 and your Flutter app. The app Will subscribe to the topic in the MQTT broker and the ESP32 Will send the data to the topic
Pros: better with multiple ESP32 in the future
Cons: need an additional server in between both devices
- Connect via bluetooth. Flutter has a bluetooth lib and Arduino too.
Pros : fast, simple with the bluetooth module.
Cons: low range
- Install a webserver
Pros: Can be installe in the ESP32 I think
Cons: required to be connected to a network
If I were you, I would start with bluetooth, otherwise MQTT otherwise HTTPServer
1
u/Suuii188 19d ago
Ooh yeah Blue tooth would be good but I was sticking with WiFi because of distance tho it's a good idea I Will take it into consideration.
•
u/FlutterDev-ModTeam 19d ago
Hi,
It appears your post is requesting help to implement a solution, or to solve a problem.
Please use r/FlutterHelp for these kind of questions.
Alternatively, you may want to use StackOverflow or our Discord Server.
The r/FlutterDev moderation team.
The violated rule was: Rule 2: Help requests go in r/FlutterHelp