diff options
-rw-r--r-- | dexcom_reader/readdata.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dexcom_reader/readdata.py b/dexcom_reader/readdata.py index 9fa60a5..35d6318 100644 --- a/dexcom_reader/readdata.py +++ b/dexcom_reader/readdata.py | |||
@@ -192,6 +192,11 @@ class Dexcom(object): | |||
192 | # ??? | 192 | # ??? |
193 | return self.GenericReadCommand(constants.READ_SETUP_WIZARD_STATE).data | 193 | return self.GenericReadCommand(constants.READ_SETUP_WIZARD_STATE).data |
194 | 194 | ||
195 | def ReadChargerCurrentSetting (self): | ||
196 | MAP = ( 'Unknown', 'Power100mA', 'Power500mA', 'PowerMax', 'PowerSuspended' ) | ||
197 | raw = bytearray(self.GenericReadCommand(constants.READ_CHARGER_CURRENT_SETTING).data) | ||
198 | return MAP[raw[0]] | ||
199 | |||
195 | 200 | ||
196 | def ReadManufacturingData(self): | 201 | def ReadManufacturingData(self): |
197 | data = self.ReadRecords('MANUFACTURING_DATA')[0].xmldata | 202 | data = self.ReadRecords('MANUFACTURING_DATA')[0].xmldata |