From 69ddead8fbdfc5f19324f6ff19343366226d0c09 Mon Sep 17 00:00:00 2001 From: Daniele Gobbetti Date: Fri, 31 Jul 2015 13:33:28 +0200 Subject: [PATCH] Reorder the COMMAND_ constants so that they are in numerical order --- .../gadgetbridge/miband/MiBandService.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/miband/MiBandService.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/miband/MiBandService.java index 54025feb2..c376c10ce 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/miband/MiBandService.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/miband/MiBandService.java @@ -125,23 +125,23 @@ public class MiBandService { public static final byte MSG_BATTERY_STATUS_CHANGED = 0x7; - public static final byte COMMAND_REBOOT = 0xc; + public static final byte COMMAND_SET_TIMER = 0x4; - public static final byte COMMAND_SEND_NOTIFICATION = 0x8; - - public static final byte COMMAND_STOP_MOTOR_VIBRATE = 0x13; - - public static final byte COMMAND_CONFIRM_ACTIVITY_DATA_TRANSFER_COMPLETE = 0xa; + public static final byte COMMAND_SET_FITNESS_GOAL = 0x5; public static final byte COMMAND_FETCH_DATA = 0x6; - public static final byte COMMAND_SET_TIMER = 0x4; - public static final byte COMMAND_SEND_FIRMWARE_INFO = 0x7; + public static final byte COMMAND_SEND_NOTIFICATION = 0x8; + + public static final byte COMMAND_CONFIRM_ACTIVITY_DATA_TRANSFER_COMPLETE = 0xa; + public static final byte COMMAND_SYNC = 0xb; - public static final byte COMMAND_SET_FITNESS_GOAL = 0x5; + public static final byte COMMAND_REBOOT = 0xc; + + public static final byte COMMAND_STOP_MOTOR_VIBRATE = 0x13; /*