The offsets are different, as mine include the 'head' and '_date' positions.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28258343-carb-ratio-on-bolus-wizard-history-records?utm_campaign=plugin&utm_content=tracker%2F522759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F522759&utm_medium=issues&utm_source=github).
The carb_ratio attribute is being decoded wrong, I believe.
https://github.com/bewest/decoding-carelink/blob/master/decocare/records/bolus.py#L98
The carb ratio in my pump is 12, not 8.
I noticed this when comparing decoding results from my minimed_rf and decocare. Here is how I do it: https://github.com/ps2/minimed_rf/blob/master/lib/minimed_rf/log_entries/bolus_wizard.rb#L111
The offsets are different, as mine include the 'head' and '_date' positions.