miband-android | Unofficial SDK for Xiaomi Mi Band | SDK library
kandi X-RAY | miband-android Summary
kandi X-RAY | miband-android Summary
This is unofficial SDK for Mi Band. This repository contains 2 modules:. The app was not tested with Mi Band 2 or newer bands. In case some of the method returns incorrect data or works wrong, pleare report an issue. The idea came from this project. However, due to reactive vision of SDK it was reimplemented. Most of methods are implemented using RxJava library. Therefore the basic knowledge of reactive streams is required.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of miband-android
miband-android Key Features
miband-android Examples and Code Snippets
Community Discussions
Trending Discussions on miband-android
QUESTION
Can not connect to the mi band 2 using pangliang/miband-sdk-android lib. I unpaired the band and removed mifit app.
Here is code sample.
...ANSWER
Answered 2017-Mar-13 at 14:36I've discovered two things: first - my question wasn't clear enough, and second - mi band 2 has another сonnection sequence and another service uuids.
When we start scanning for a BT devices, we use ScanCallback. When we get something in onScanResult method, we can try to connect to that device and we need to use GattCallback in this case.
Now we need to find a characteristic for auth with UUID "00000009-0000-3512-2118-0009af100700".
When we found it, we need to enable notifications on it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install miband-android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page