Skip to content

LoopKit/CGMBLEKit

Repository files navigation

CGMBLEKit

CI Status Carthage compatible

A iOS framework providing an interface for communicating with the G5 and G6 glucose transmitters over Bluetooth.

Please note this project is neither created nor backed by Dexcom, Inc. This software is not intended for use in therapy.

Requirements

This framework connects to a G5 or G6 Mobile Transmitter via Bluetooth LE. It does not connect to the G4 Share Receiver or any earlier CGM products.

Frameworks Installation

Carthage

CGMBLEKit is available through Carthage. To install it, add the following line to your Cartfile:

github "LoopKit/CGMBLEKit"

Note that you'll need to confgure your target to link against CommonCrypto.framework in addition to CGMBLEKit.framework

Usage

If you plan to run your app alongside the G5 Mobile application, make sure to set passiveModeEnabled to true.

Examples

glucose-badge – Display the latest glucose values as an app icon badge

ResetTransmitter App Installation

Download the CGMBLEKit code by clicking on the green Clone or Download button (scroll up on this page and you'll find it), then select Download Zip

ResetTransmitter help

Then navigate to the CGMBLEKit folder that just downloaded to your computer. Double-click on the CGMBLEKit.xcodeproj file to open the project in Xcode.

ResetTransmitter help

To install the ResetTransmitter App on your iPhone, simply make sure to sign the ResetTransmitter target and then select just the ResetTransmitter scheme in the build area. Make sure your iPhone is plugged into the computer, select your iPhone from the top of the Devices in the 4th circled area, screenshot below. Note: You do not have to change bundle IDs or anything beyond the steps listed.

ResetTransmitter help

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License

CGMBLEKit is available under the MIT license. See the LICENSE file for more info.