bluetoothadapter: Bluetooth Based Client-Server Apps
source link: https://blog.geekyants.com/bluetoothadapter-bluetooth-based-client-server-apps-281d05fdb927
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
bluetoothadapter: Bluetooth Based Client-Server Apps
Facilitating Bluetooth server sockets for Flutter apps using bluetoothadapter plugin.
We came across a scenario where we were to communicate with a Raspberry Pi using Bluetooth. For this, we needed to implement a full-duplex type connection with the RPI.
We looked for some quick solutions over the internet, but unfortunately, we found none. There were very few Bluetooth based libraries that were well written and almost none/very few had an implementation for creating Bluetooth server sockets.
That’s when we decided to come up with a simple and elegant approach to our problem.
bluetoothadapter
is a package which enables a Flutter application to communicate with other devices/programs through Bluetooth. It does so using Bluetooth based server sockets, which allows the Flutter app to establish a full-duplex connection with the other Bluetooth based devices which act as its counterpart.
Continue this article and read more about
bluetoothadapter
here.
The spoils for this innovation go to Aditya Soni, who came up with the idea to build such a solution and make lives easier. Leave some claps and comments for him if you like his article.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK