Skip to content

Commit

Permalink
Change sequence number to uint32
Browse files Browse the repository at this point in the history
Some devices seem to use sequence numbers that are above the signed integer
maximum, so see if this works with a uint32.
  • Loading branch information
mjg59 committed Feb 16, 2019
1 parent 1b2fca3 commit c3f2fef
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 68 deletions.
6 changes: 3 additions & 3 deletions lakeside/lakeside.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ message BulbInfo {
}

message T1012Packet {
required int32 sequence = 1;
required uint32 sequence = 1;
required string code = 2;
optional Ping ping = 3;
optional BulbInfo bulbinfo = 5;
Expand Down Expand Up @@ -76,7 +76,7 @@ message T1013BulbInfo {
}

message T1013Packet {
required int32 sequence = 1;
required uint32 sequence = 1;
required string code = 2;
optional Ping ping = 3;
optional T1013BulbInfo bulbinfo = 5;
Expand Down Expand Up @@ -107,7 +107,7 @@ message SwitchInfo {
}

message T1201Packet {
required int32 sequence = 1;
required uint32 sequence = 1;
required string code = 2;
optional Ping ping = 3;
optional SwitchInfo switchinfo = 5;
Expand Down
Loading

0 comments on commit c3f2fef

Please sign in to comment.