mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Change some required fields to optional in Xiaomi protobuf specs
The Xiaomi Watch S1 Active does not send some fields that have been declared as `required`, which results in those messages not being processed at all.
This commit is contained in:
parent
6933b8a793
commit
20cdef5283
@ -56,7 +56,7 @@ message AuthStep3 {
|
||||
|
||||
message AuthStep4 {
|
||||
required uint32 unknown1 = 1;
|
||||
required uint32 unknown2 = 2;
|
||||
optional uint32 unknown2 = 2;
|
||||
}
|
||||
|
||||
message AuthDeviceInfo {
|
||||
@ -415,7 +415,7 @@ message HeartRate {
|
||||
optional AdvancedMonitoring advancedMonitoring = 5;
|
||||
optional uint32 unknown7 = 7; // 1
|
||||
optional HeartRateAlarmLow heartRateAlarmLow = 8;
|
||||
required uint32 breathingScore = 9; // 1 on, 2 off
|
||||
optional uint32 breathingScore = 9; // 1 on, 2 off
|
||||
}
|
||||
|
||||
message AdvancedMonitoring {
|
||||
|
Loading…
Reference in New Issue
Block a user