1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-24 16:21:16 +02:00

Xiaomi Protocol: Add userId auth command

This commit is contained in:
Andreas Shimokawa 2023-10-15 22:11:32 +02:00 committed by José Rebelo
parent 7803581922
commit d3fa3e2c05
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,8 @@ public class XiaomiAuthService extends AbstractXiaomiService {
public static final int COMMAND_TYPE = 1;
public static final int CMD_SEND_USERID = 5;
public static final int CMD_NONCE = 26;
public static final int CMD_AUTH = 27;

View File

@ -29,6 +29,7 @@ message Command {
//
message Auth {
optional string userId = 7;
// 1, 26
optional PhoneNonce phoneNonce = 30;
optional WatchNonce watchNonce = 31;