-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Current Queue encode/decode support for TM2 (#97)
Add queue encoding and decoding for active programs for TM2, tested with examples. Issue #40
- Loading branch information
1 parent
d9ed08e
commit 665d1d8
Showing
4 changed files
with
125 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
data: | ||
- "3800" | ||
- 3B00 | ||
- BB00050005D0000001000001 | ||
- 3B01 | ||
- BB012105D02204B02301A42404B0250258000000000000000000000000000000000000 | ||
- 3B00 | ||
- BB00050005C1000001000001 | ||
- 3B01 | ||
- BB012105C12204B02301A42404B0250258000000000000000000000000000000000000 | ||
- 3B00 | ||
- BB00050005A3000001000001 | ||
- 3B01 | ||
- BB012105A32204B02301A42404B0250258000000000000000000000000000000000000 | ||
decoded_data: | ||
- type: ManuallyRunProgramRequest | ||
program: 0 | ||
- type: CurrentQueueRequest | ||
page: 0 | ||
- type: CurrentQueueResponse | ||
program: | ||
program: 0 | ||
zone: 1 | ||
seconds: 1488 | ||
active: true | ||
- type: CurrentQueueRequest | ||
page: 1 | ||
- type: CurrentQueueResponse | ||
zones: | ||
- zone: 1 | ||
seconds: 1488 | ||
- zone: 2 | ||
seconds: 1200 | ||
- zone: 3 | ||
seconds: 420 | ||
- zone: 4 | ||
seconds: 1200 | ||
- zone: 5 | ||
seconds: 600 | ||
- type: CurrentQueueRequest | ||
page: 0 | ||
- type: CurrentQueueResponse | ||
program: | ||
program: 0 | ||
zone: 1 | ||
seconds: 1473 | ||
active: true | ||
- type: CurrentQueueRequest | ||
page: 1 | ||
- type: CurrentQueueResponse | ||
zones: | ||
- zone: 1 | ||
seconds: 1473 | ||
- zone: 2 | ||
seconds: 1200 | ||
- zone: 3 | ||
seconds: 420 | ||
- zone: 4 | ||
seconds: 1200 | ||
- zone: 5 | ||
seconds: 600 | ||
- type: CurrentQueueRequest | ||
page: 0 | ||
- type: CurrentQueueResponse | ||
program: | ||
program: 0 | ||
zone: 1 | ||
seconds: 1443 | ||
active: true | ||
- type: CurrentQueueRequest | ||
page: 1 | ||
- type: CurrentQueueResponse | ||
zones: | ||
- zone: 1 | ||
seconds: 1443 | ||
- zone: 2 | ||
seconds: 1200 | ||
- zone: 3 | ||
seconds: 420 | ||
- zone: 4 | ||
seconds: 1200 | ||
- zone: 5 | ||
seconds: 600 |