mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 22:02:17 +01:00
refactor: name radio jobs as GLOSSARY.md does
The repeater-frame flag was called raw and the ticket was seq, jobSeq, stopSeq or mySeq depending on the file. They are now repeater and ticket (stopTicket, myTicket, lastTicket) throughout, matching the glossary. Renames only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
29d642b6f4
commit
bb6c929bf8
10 changed files with 92 additions and 92 deletions
|
|
@ -57,11 +57,11 @@ struct somfy_tx_job_t {
|
|||
somfy_frame_t frame;
|
||||
uint8_t repeats = 0; // Number of repeat frames after the first frame.
|
||||
uint8_t firstRepeat = 1; // 80-bit repeat counter used for the first repeat frame.
|
||||
bool raw = false; // Repeater frame. Waits for the receiver to be idle.
|
||||
bool repeater = false; // Repeater frame. Waits for the receiver to be idle.
|
||||
// Set by RadioScheduler::submit().
|
||||
bool priority = false; // May use the reserved slots.
|
||||
bool front = false; // Queued ahead of the back. Only for priority jobs.
|
||||
uint32_t seq = 0; // Ticket the job's events are matched up by.
|
||||
uint32_t ticket = 0; // Matches the job's events up with it.
|
||||
uint32_t queuedAt = 0; // millis() when it was submitted.
|
||||
uint16_t delayMs = 0; // How long it waits after it was queued and after the job ahead of it ended.
|
||||
};
|
||||
|
|
@ -76,7 +76,7 @@ struct somfy_tx_event_t {
|
|||
tx_event_t type = tx_event_t::started;
|
||||
somfy_commands cmd = somfy_commands::My;
|
||||
uint32_t remoteAddress = 0;
|
||||
uint32_t seq = 0;
|
||||
uint32_t ticket = 0;
|
||||
uint32_t at = 0; // millis() when the job started or was dropped.
|
||||
};
|
||||
// Encodes the first frame of a transmission into the job. Encoding here keeps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue