flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

Connection Xiaomi MiBand with Dart Language (Flutter)

Open claytonsands opened this issue 5 years ago • 7 comments
trafficstars

Good afternoon, I need to integrate the xiaomi smart bracelet (miband 3) in the Dart language (Flutter), but I am having difficulty, there is very little support material regarding this integration specifically.

I found only one repository on GitHub that makes this call, I was able to connect via bluetooth with the bracelet but I can't receive and send alert data for example. The services are listed, but when I click on read or write nothing happens. Can anyone help me with this?

I used the plugin flutter_blue and the code of the example is here: https://github.com/pauldemarco/flutter_blue/blob/master/example/lib/main.dart

claytonsands avatar Sep 25 '20 19:09 claytonsands

I was able to read some service codes. But no meaningfull data yet. Did you make any progress ?

Dema323 avatar Oct 04 '20 13:10 Dema323

I would suggest it's probably easier to use something like NRF Connect to figure out how to use the services and characteristics on the device and then move onto using Flutter Blue to communicate with it.

Doing even the most basic research finds theres already documentation regarding the need to do authentication with the miband over BLE so I would suggest closing this issue @claytonsands unless there is something specific regarding flutter blue that does not work with that device.

maks avatar Feb 07 '21 23:02 maks

Have you finished this app??

Sherif-2001 avatar Dec 25 '22 15:12 Sherif-2001

hi guys , i created a app for read a data from mi band ,i m getting the services but i cant able to read the heart and stepcount , is anyone worked on this can you help me

Refaydeen avatar Mar 17 '23 11:03 Refaydeen

Have anyone sort it out?

prineth avatar Apr 02 '23 13:04 prineth

@Refaydeen could you tell me how did u buit the app where you getting data from the mi band .

VishalVinayRam avatar Dec 30 '23 17:12 VishalVinayRam

Hi guys any update on getting data from mi band

kan15hka avatar Mar 31 '24 06:03 kan15hka