Giter Site home page Giter Site logo

g4sharespy's Introduction

G4ShareSpy

Carthage compatible

An iOS framework to read data from a Dexcom G4 Share receiver over Bluetooth.

Motivation

The Dexcom Share app interacts with a G4 Share receiver via BLE to read continuous blood glucose data. The app displays that data in real-time, and uploads it to the Dexcom Share servers immediately.

Dexcom, in an absurd nod to obsolete FDA device classification rules, does not add the data to HealthKit until 3 hours later. For another iOS app to access the data in real-time, one option is to add unnecessary network hops and poll the Dexcom Share servers using ShareClient. Another option, presented here, is to spy on the Bluetooth communications between the Dexcom Share app and the G4 Share receiver.

Usage

This project is designed to be used concurrently with the official Dexcom Share app. It does not pair with the receiver nor send commands to read data. Rather, it passively listens to the Share app's Bluetooth communications with the receiver.

To use, instantiate a Receiver and assign it a delegate which adopts the ReceiverDelegate protocol.

To see its use in a real app, see Loop, an iOS app template for building an artificial pancreas.

Credits

This project leverages the hard work of many others, particularly:

Disclaimer

This project is neither created nor endorsed by Dexcom, Inc. This software is not intended for use in therapy.

g4sharespy's People

Contributors

loudnate avatar mddub avatar ps2 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.