Skip to content

Conversation

@jasoncalabrese
Copy link
Member

detect api version:

  • if > v1 use sgv field instead of bg to be compatable to direct mongo upload
  • if not v1 assume legacy and send data the way project-glu expects it

unknown and others added 30 commits March 5, 2014 00:03
…d instead of being hardcoded. The preferences menu is accessible from the main activity, depending on the device via the top right settings icon or the bottom left settings button. Tested on Nexus 5 v4.4. and Galaxy S3 v4.3.
…e the right choice; enable WiFiHack by default to match the previous uploader versions
I used this for 2 weeks, it's simple workaround till we get the api in place and can do a smart sync
…e to direct mongo upload, if not v1 assume legacy and send data the way project-glu expects it
…ext expected record received from transmitter instead of being hardcoded to 45 seconds.
@jasoncalabrese
Copy link
Member Author

Planning to test this tonight, code complies so it must work!

@jasoncalabrese
Copy link
Member Author

Test that does post to the v1 api using the hashed secret correctly, but nightscout/cgm-remote-monitor#35 doesn't like the data we post (date vs timestamp)

Looking like we'll need to bring conversion in scope for the new api

@jasoncalabrese jasoncalabrese merged commit a86d2a2 into master Jul 29, 2014
@jasoncalabrese jasoncalabrese deleted the wip/api-detect branch August 5, 2014 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants