mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Xiaomi Protocol: Add userId auth command
This commit is contained in:
committed by
José Rebelo
parent
7803581922
commit
d3fa3e2c05
@@ -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;
|
||||
|
||||
|
@@ -29,6 +29,7 @@ message Command {
|
||||
//
|
||||
|
||||
message Auth {
|
||||
optional string userId = 7;
|
||||
// 1, 26
|
||||
optional PhoneNonce phoneNonce = 30;
|
||||
optional WatchNonce watchNonce = 31;
|
||||
|
Reference in New Issue
Block a user