2019-02-13 20:43:30 +01:00
|
|
|
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
2017-09-16 00:20:33 +02: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-09-16 00:20:33 +02:00
|
|
|
|
|
|
|
|
2017-10-21 22:50:28 +02:00
|
|
|
public class HuamiDeviceEvent {
|
2017-09-16 12:33:33 +02:00
|
|
|
public static final byte FELL_ASLEEP = 0x01;
|
|
|
|
public static final byte WOKE_UP = 0x02;
|
2017-09-16 19:53:06 +02:00
|
|
|
public static final byte STEPSGOAL_REACHED = 0x03;
|
2017-09-16 00:20:33 +02:00
|
|
|
public static final byte BUTTON_PRESSED = 0x04;
|
|
|
|
public static final byte START_NONWEAR = 0x06;
|
|
|
|
public static final byte CALL_REJECT = 0x07;
|
2017-11-19 23:46:24 +01:00
|
|
|
public static final byte FIND_PHONE_START = 0x08;
|
|
|
|
public static final byte CALL_IGNORE = 0x09;
|
2017-09-16 00:20:33 +02:00
|
|
|
public static final byte ALARM_TOGGLED = 0x0a;
|
|
|
|
public static final byte BUTTON_PRESSED_LONG = 0x0b;
|
2017-09-16 12:33:33 +02:00
|
|
|
public static final byte TICK_30MIN = 0x0e; // unsure
|
2017-11-19 23:46:24 +01:00
|
|
|
public static final byte FIND_PHONE_STOP = 0x0f;
|
2018-08-02 22:35:02 +02:00
|
|
|
public static final byte MUSIC_CONTROL = (byte) 0xfe;
|
2017-09-16 00:20:33 +02:00
|
|
|
}
|