/DiaBLE-1

Diabetes: test the Bluetooth Low Energy devices available for the FreeStyle Libre glucose sensor

Primary LanguageSwift

Experimenting with the Bluetooth BLE devices I bought for the Abbott FreeStyle Libre sensor (mainly the Bubble and MiaoMiao transmitters, M5Stack and the Mi Band and Watlaa watches) and trying something new compared to the traditional apps:

  • a universal SwiftUI application for iPhone, iPad and Mac Catalyst;
  • scanning the Libre directly via NFC;
  • using online servers for calibrating just like Abbott’s algorithm;
  • varying the reading interval (the Bubble firmware allows to set it from 1 to 15 minutes while the MiaoMiao one to reduce it to 1 or 3 minutes);
  • a detailed log to check the traffic from/to the BLE devices and remote servers.

Still too early to decide the final design (but I really like already the evil logo 😈), here there are the first rough screenshots:

    

    

    

The project started as a single script for the iPad Swift Playgrounds and was quickly converted to an app by using a standard Xcode template (the Core Data layer and the Watch Extension are not actually implemented): it should compile finely without dependencies just after changing the Bundle Identifier in the General panel and the Team in the Signing and Capabilities tab of Xcode (Spike users know already very well what that means... ;) ).

Please refer to the TODOs list for the up-to-date status of all the current limitations and known bugs of this prototype.


Credits: bubbledevteam, dabear, LibreMonitor, Loop, Marek Macner, Nightguard, RileyLink iOS, WoofWoof, xDrip for iOS.