Code from the video
https://github.com/Frezyx/flutter_tut...
Follow us:
💬 Telegram https://t.me/frezycode
🚀 Exclusive content on Boosty https://boosty.to/frezycode
👨💻 Tons of code on GitHub https://github.com/Frezyx
📸 Instagram / frezycode
Electronix Hub ovr4k channel:
https://t.me/electronix4k
In this video, you'll see a detailed breakdown of scanning and connecting to devices via Bluetooth in Flutter using the flutter_blue_plus package.
Interacting with the Arduino esp32 board, changing the LED color in real time and directly, instead of through a server. Let's try something new, not just churn out the 500th lesson about blocking. For that, you need to like and comment.
Be sure to watch to the end to see my emotions when everything works!
Enjoy!
00:00 - Introduction
01:07 - How do we send data?
01:57 - The flutter_blue_plus library
02:32 - Creating and maturing a new project
03:16 - Installing the flutter_blue_plus package
04:29 - Setting up the Android project
06:37 - Writing the Bluetooth connection code
10:34 - Checking if the device supports Bluetooth
11:56 - Bluetooth subscription on/off
13:47 - How do I know if Bluetooth is enabled on my device?
15:15 - Getting a list of devices
24:55 - Testing the device on a real device
25:47 - How do we connect to the device?
27:10 - Cleaning up the project code
29:48 - Creating a device screen with sliders
34:17 - Adding controls (slider)
41:10 - Connecting to a device
46:37 - Reading device characteristics and services
49:32 - Connecting to a Bluetooth device service
51:52 - Reading the device characteristics list
53:43 - What can be done with ESP/Arduino boards?
54:19 - Getting the characteristic value
59:40 - Parsing the characteristic bytes
01:01:09 - Displaying the characteristic value on the screen
01:01:26 - Sending data to the board
01:06:28 - Testing data transfer on the device
01:08:21 - What will happen in part 2?