diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-01-19 01:32:47 +0100 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-01-19 01:32:47 +0100 |
| commit | 56955287bf7ac92e044c3172de925cb80fa1e5eb (patch) | |
| tree | 16a292fc3a4a87df2ea1e8369285b74fcbd37bd1 /daemon/watchconnector.h | |
| parent | f3f8309c1c01f555f47721e0be345dc8f11c8b99 (diff) | |
Added HardwareRevision enum and mapping to firmware version
Diffstat (limited to 'daemon/watchconnector.h')
| -rw-r--r-- | daemon/watchconnector.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h index 6c28e88..2ed4996 100644 --- a/daemon/watchconnector.h +++ b/daemon/watchconnector.h @@ -173,6 +173,19 @@ public: putbytesCOMPLETE = 5 }; + enum HardwareRevision { + UNKNOWN = 0, + PEBBLE_ONE_EV1 = 1, + PEBBLE_ONE_EV2 = 2, + PEBBLE_ONE_EV2_3 = 3, + PEBBLE_ONE_EV2_4 = 4, + PEBBLE_ONE_POINT_FIVE = 5, + PEBBLE_TWO_POINT_ZERO = 6, + PEBBLE_ONE_BIGBOARD_2 = 254, + PEBBLE_ONE_BIGBOARD = 255 + }; + QMap<HardwareRevision, QString> firmwareMapping; + typedef QMap<int, QVariant> Dict; enum DictItemType { typeBYTES, |
