2021-01-10 23:37:09 +01:00
|
|
|
/* Copyright (C) 2017-2021 Andreas Shimokawa, Carsten Pfeiffer
|
2017-03-10 14:53:19 +01:00
|
|
|
|
|
|
|
This file is part of Gadgetbridge.
|
|
|
|
|
|
|
|
Gadgetbridge is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published
|
|
|
|
by the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Gadgetbridge is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
2017-10-21 22:50:28 +02:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.service.devices.huami;
|
2017-03-07 23:20:59 +01:00
|
|
|
|
2017-10-21 22:50:28 +02:00
|
|
|
public enum HuamiFirmwareType {
|
2017-03-07 23:20:59 +01:00
|
|
|
FIRMWARE((byte) 0),
|
|
|
|
FONT((byte) 1),
|
2017-08-25 00:21:47 +02:00
|
|
|
RES((byte) 2),
|
2018-01-27 21:51:34 +01:00
|
|
|
RES_COMPRESSED((byte)130),
|
2017-08-25 00:21:47 +02:00
|
|
|
GPS((byte) 3),
|
2017-09-15 11:44:24 +02:00
|
|
|
GPS_CEP((byte) 4),
|
|
|
|
GPS_ALMANAC((byte)5),
|
2017-11-09 21:59:41 +01:00
|
|
|
WATCHFACE((byte)8),
|
2018-01-27 21:41:35 +01:00
|
|
|
FONT_LATIN((byte)11),
|
2017-03-07 23:20:59 +01:00
|
|
|
INVALID(Byte.MIN_VALUE);
|
|
|
|
|
|
|
|
private final byte value;
|
|
|
|
|
2017-10-21 22:50:28 +02:00
|
|
|
HuamiFirmwareType(byte value) {
|
2017-03-07 23:20:59 +01:00
|
|
|
this.value = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
public byte getValue() {
|
|
|
|
return value;
|
|
|
|
}
|
|
|
|
}
|