Monday, September 30, 2019

Joys of iPhone Updates

The recent iPhone update really screwed with my iPhone app.  Have to renew my Dev license and see what's up.

App works if I leave it open, and close the phone.  
Sometimes, it appears that is goes to sleep, no glucose readings are evaluated, until I open the phone, then it instantly reconnects and pulls in a value.  Maybe I backgrounded the app in this case.

It's really bad at discovering the bluetooth device now.  It will scan for about a minute and then shut down.  I don't think it will connect at all from the background.

And all of this behavior varies.  Best bet is to keep it wide open, with the screen on, if I need to use it.

Thursday, September 19, 2019

Wahoo Elemnt as a CGMS

Or really, any BLE compatible HR Monitor.


Was doing a mountain bike race this weekend, and was once again reminded of how I'd like glucose on a display I could easily see.  The watches, fitness bands etc.  don't show up very well in bright daylight.

This is something I'd wanted to do with ANT+ years ago, but there wasn't any convenient dev board, and I'm not sure if I ever worked out how to appear as a HR Sensor.

This is much easier to do with bluetooth.  Since I'm using the Adafruit NRF Feather, it was easy to lift their sample code for the custom_hrm.  And you see it above.  I can now track my blood sugar from my handlebars, 169 in this case.

9/30/2019 This is good up to 229, then it wraps around and/or doesn't reliably show a number.