Skip to content

Commit

Permalink
feat(vt-client): refine replacement of already queued commands
Browse files Browse the repository at this point in the history
  • Loading branch information
GwnDaan committed Jan 14, 2025
1 parent ffd6bb9 commit 0e7cc8b
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1582,6 +1582,12 @@ namespace isobus
/// @returns true if the message was replaced successfully
bool replace_command(const std::vector<std::uint8_t> &data);

/// @brief Tests whether two VT commands focus on changing/requesting the same thing
/// @param[in] first The first command to compare
/// @param[in] second The second command to compare
/// @returns true if the two commands are similar
static bool are_commands_similar(const std::vector<std::uint8_t> &first, const std::vector<std::uint8_t> &second);

/// @brief Tries to send all messages in the queue
void process_command_queue();

Expand Down
Loading

0 comments on commit 0e7cc8b

Please sign in to comment.