App created as an example for Medium article: Introduction to Bluetooth LE on iOS : Mi Band 2 case study. It enables some basic interaction between an iOS device and a Xiaomi Mi Band 2.
- Device with iOS 11.1
- Xiaomi Mi Band 2
- Xcode 10.2
- Swift 5.0
- Open inFullBand project in Xcode and set correct development team in General section of project file.
- Make sure that:
a) Bluetooth is active on your iOS device,
b) Mi Band 2 is paired with your iOS device,
c) Mi Band 2 is "Discoverable" (details in aforementioned article). - Run project on your iOS device
- After brief moment you should see information "🌎 Discovered: MI Band 2" - press it to connect to your Mi Band.
- Have fun playing with heart rate monitoring, alerts and other functionalities available 😉
Released under the MIT license. See the LICENSE file for more info.