mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Xiaomi Protocol: Add userId auth command
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user