Capture a BLE characteristic and assign it to a variable in Flutter

I need to catch a specific value of a characteristic instantly onPress. So I wrote a function for this. The problem is, that I couldn't manage to assign the value to a...

how to send hexadecimal data packets using Bluetooth in flutter

It's my first time using Dart and Flutter. I want to send and receive data packets to some device. I tried a lot of things through google but failed. Please let me kno...

how to properly use flutter_reactive_ble writetocharacteristic and subscribetocharacteristic in flutter/dart

right now I have a bluetooth module that will send back a respond on each message receive so if I writetocharacteristic, I need to be able to wait before reading the c...

BLE not reading characteristic in reactive_ble

I'm using the flutter_reactive_ble package to communicate with a ble device. All is good until I try to read the characteristic which gives me the following error:...

Interacting with BLE Cycle Trainer

My current is on Flutter using Dart and working with Bluetooth low energy devices. I have the basics up using <a href="https://pub.dartlang.org/packages/flutter_blue"...

BLE support in Flutter

Is there any way to check if my device supports BLE through dart code? I am looking for something like this. <pre><code>switch ([_manager state]) { case CBCentral...

Flutter application freezing

I am working on a mobile application in Flutter to <ul> <li>create a Bluetooth connection</li> <li>receive data from this device</li> <li>plot them on the screen u...

How to get desired values from BLE manufacturer data flutter

I am new to flutter and I am working on an app that reads data from a BLE beacon. I have scanned the device and got the manufacturer data as <code>{256:[0,0,0,16,1,57,...

how to receive data from ESP32 to flutter app using bluetooth_serial

I am currently working on a project which is basically showing the Realtime readings from firebase database that are being uploaded by ESP32. I am plotting an ECG grap...

Flutter - Reactive BLE lib - random disconnects of connected devices

I am using a BLE reactive Flutter library to communicate between STM32WB and my Android phone app (Android 12). Multiple devices (STMs) can be connected to the app at...

Is it expected that a ble device might not advertise services?

I am using flutter reactive ble to connect to a bluetooth device with a specific serviceId. The library allows me to scan for devices with a specific service id...

how to send data using flutter_blue?

I am looking through the documentation at: <a href="https://pub.dev/documentation/flutter_blue/latest/" rel="nofollow noreferrer">https://pub.dev/documentation/flutter...

Convert string to Uint8Array in flutter

Im SOO very new to Flutter and I dont know where to begin. I need to convert a string like this 349caa523e0787003e0787033e053e08 to (what I assume is an array in flutt...

flutter_blue device connect hangs forever

I'm trying to open a Bluetooth LE connection with a device using the flutter_blue library. Everthing is working fine, except that the method connect always reaches tim...

How to know if my App is connected to a device using BLE in Flutter?.. when app is the beacon

So my android app is behaving as a <code>beacon</code>, means, it will be <code>advertising</code> and other <code>BLE devices</code> will be connecting to it. Well, t...