Giter Site home page Giter Site logo

dexcom-esp32-reader's People

Contributors

theepicbigboss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dexcom-esp32-reader's Issues

Sleep and reliable pairing

Awesome app saved me allot of time on my project, which might have been impossible without it.
A couple things for anyone else stumbling on this:

  1. I don't think sleep works. I think "esp_deep_sleep_start();" only works from setup. I got around this by setting a flag and putting it to sleep for a second(sleepHibernation), which causes a reboot, then I can read the flag and shut it down for 490 seconds from setup.
  2. Since this doesn't attempt to stay paired, I had issues with getting it to connect every time, too many missed readings. Always set force_rebonding = true;, and it works really well.

Edit. 1&2, I'm full of shit, nmd.

  1. Still pulls glucose from an 8MM, you can also get the predicted glucose in readGlucose() with
    uint16_t glucoseEstBytes = (uint16_t)(glucoseRxMessage[14] + glucoseRxMessage[15]*0x100);
    uint16_t glucoseEst = glucoseEstBytes & 0xfff;
    Make sure you are calling ControlSendValue(glucoseTxMessageG6); though.

Failing to connect to g6

I'm using a g6 with firmware 2.18.2.98 and software version SW11818.

I repeatedly get

Forming a connection to xx:xx:xx:xx:xx:xx
 - Created client
onDisconnect
We have failed to connect to the transmitter!
Going to hibernation sleep mode now.

I set transmitterID appropriately and toggled both force_rebonding and useAlternativeChannel in the hope that would help me, but alas, no. I'd greatly appreciate your advice.

(And I want to say thank you emphatically for working on such a noble thesis project! This will make a big difference in our family life.)

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.