Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Testing Dexcom g4 Platinum w/ Share Receiver Records
import readdata
dd = readdata.Dexcom.FindDevice()
dr = readdata.Dexcom(dd)
meter_records = dr.ReadRecords('METER_DATA')
print meter_records[0]
print meter_records[-1]
insertion_records = dr.ReadRecords('INSERTION_TIME')
print insertion_records[0]
print insertion_records[-1]
Christophers-MacBook-Air:dexcom_reader Chris$ python insertion_record_test.py
RAWHEX 76e7890c2977890ca80058e7890c6a9b3e2b8a0cf2ba890c7f00202b8a0c445575088b0c28988a0c750057088b0ce1bfe2bb8b0c954b8b0c7a00c4bb8b0cce3871688c0c25f88b0c830053688c0c2aded66b8c0c8afb8b0c7600b86b8c0cec1caf1e8d0c62ae8c0c5700911e8d0c1533febd8d0cb24d8d0c6500e0bd8d0c28a9f51f8e0ca8af8d0c7800d71f8e0c7af6f4908e0ca7208e0c8900d6908e0c08f5d41a8f0c87aa8e0c6200b61a8f0c4be8e8cc8f0c9b5c8f0c8b00cacc8f0c61b0e96b900c9cfb8f0c8600cb6b900cda1b2c0d910ce09c900c98000e0d910c420075c3910c2953910c800057c3910cf1361d2b920cd0ba910c6c00ff2a920c5ab82584920cd813920cb9000784920c9952b720930c6bb0920c51009920930c7ad6c320930c77b0920c4e00a520930cec946db4930c2044930ca9004fb4930c0a266b52940c1fe2930c67004d52940c4489df07950c9397940c7600c107950c1c2477a1950c2a31950c640059a1950c75a6763a960c29ca950cba00583a960c4591dd6f960c90ff950c9200bf6f960c4a86ba05970c6e95960c8d009c05970c6a74972d970c4abd960c7600792d970cd5fde24f980c96df970c6200c44f980c1b482de3980ce172980c55000fe3980cc7e7151c990cc8ab980ccb00f71b990c1e015baf990c0f3f990c50003daf990ce6c2ffffffff
RAWHEX 5f309a0c12c0990c650041309a0c9ba8536e9a0c06fe990c5700356e9a0c51a1b9359b0c6dc59a0ceb009b359b0c2a7baa3b9b0c5dcb9a0cb5008c3b9b0c1fcb50cf9b0c045f9b0c7b0032cf9b0c3686735b9c0c26eb9b0cad00555b9c0cb4147f5b9c0c33eb9b0cae00615b9c0c647c68d49c0c1c649c0c6d004ad49c0ccf7f218c9d0cd41b9d0c9100038c9d0ce2eb6f499e0c22d99d0cfd0051499e0c8ab017d99e0ccb689e0c8b00f9d89e0c7882a73e9f0c5ace9e0c6500893e9f0c34b0a7b29f0c5b429f0cc80089b29f0c07c8fe33a00cb2c39f0c8000e033a00c1f0585b5a00c3945a00c5b0067b5a00cf62e3168a10ce4f7a00c91001368a10c26cd949ca10c472ca10cd000769ca10cec39c04ca20c74dca10c7500a24ca20c7b2d6ce3a20c1f73a20c6e004ee3a20c31d3e46fa30c97ffa20cc200c66fa30ce1bcba3ba40c6dcba30cf2009c3ba40ce859ca3ba40c7dcba30c0401ac3ba40c1c2761efa40c147fa40c460043efa40c03ab457ca50cf90ba50c8400277ca50c59477aa6a50c2d36a50c41005ca6a50ce6f947bba60cfb4aa60c6b0029bba60c2c292e2ca70ce2bba60c7900102ca70c2fabe497a70c9827a70c7500c697a70c7c5fc61ea80c7aaea70c6f00a81ea80c370207bea80cbb4da80c6400e9bda80c63e85857a90c0be7a80ca3003a57a90c04beffffffff
RAWHEX 9506aa0c4996a90c58007706aa0ce031cac0aa0c7e50aa0c7700acc0aa0c6936a98eab0c5c1eab0cb6008b8eab0cbaf4662dac0c19bdab0c9d00482dac0cd96af9d5ac0cac65ac0c9400dbd5ac0c3436db71ad0c8e01ad0c7300bd71ad0ce868e471ad0c9701ad0c7100c671ad0c0fceb4e1ad0c6771ad0c700096e1ad0c9f58b5b6ae0c6846ae0c610097b6ae0cfddcd57eaf0c880eaf0c6000b77eaf0c8ddd0dfeaf0cc08daf0c5c00effdaf0c4a255386b00c0716b00c97003586b00c30666b58b10c1fe8b00c93004d58b10c939d6d2db20c21bdb10cc8004f2db20c0b222badb20cde3cb20c85000dadb20c6edaa375b30c5605b30c86008575b30cfd21f409b40ca799b30c7a00d609b40ce996b7bbb40c6a4bb40cd40099bbb40cd6d32058b50cd4e7b40c6c000258b50caa053fdab50cf269b50cd90021dab50cf7e7af00b60c6390b50cde009100b60c7d0cd4abb60c883bb60c7000b6abb60ca78cddabb60c913bb60c7100bfabb60ce21be41ab70c97aab60c8b00c61ab70c2830296db70cdcfcb60cb5000b6db70ce62d3bf0b70cef7fb70c8e001df0b70c5ad6cf2fb80c82bfb70cc600b12fb80cb99f4632b80cfac1b70cd8002832b80c76e6bb58b80c6ee8b70c49009d58b80c8978c558b80c78e8b70c4900a758b80c694b57aeb80c0b3eb80c760039aeb80cccf6ffffffff
2015-09-01 10:32:09: Meter BG:168
2015-10-06 22:04:59: Meter BG:118
RAWHEX 2505150ca494140cffffffff015c232b05150cab94140c2b05150c079f3731351e0cb0c41d0cffffffff01789c37351e0cb7c41d0c37351e0c0777f9fcaa230c7c3a230cffffffff01ab8f5dac230cdc3b230c5dac230c0702b0e8a22c0c68322c0cffffffff010b57efa22c0c6e322c0cefa22c0c07fc9512d6350c9265350cffffffff019f4f1ad6350c9965350c1ad6350c077e5bbff5390c3e85390cffffffff01398bbcfb390c3c8b390cbcfb390c07348b3d36430cbcc5420cffffffff02a60f4f36430ccfc5420c4f36430c07b7917b5d4c0cfaec4b0cffffffff0166c0815d4c0c00ed4b0c815d4c0c07bf7d6fd14d0cef604d0cffffffff01cade4e764e0ccd054e0c4e764e0c07d53b0aab570c8a3a570cffffffff018a3611ab570c903a570c11ab570c07a021474a600cc6d95f0cffffffff01282a474b600cc6da5f0c474b600c0747844889620cc818620cffffffff01c5b54f89620ccf18620c4f89620c078899d0c36b0c4f536b0cffffffff028792d7c36b0c56536b0cd7c36b0c07211257fe740cd78d740cffffffff020daf6912750ce9a1740c6912750c07f196ee47770c6dd7760cffffffff018e52b04c770c2fdc760cb04c770c07ce613087800ce416800cffffffff022dcca487800c5717800ca487800c07c69724c2890cd751890cffffffff0250b5ffffffffff
2015-06-04 18:42:44: state=REMOVED
2015-09-01 07:52:55: state=EXPIRED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment