Rate limiting state of one signal.
More...
#include <user_signals.h>
|
|
constexpr | Slot (const char *signalName, const uint8_t valueCount, const bool skipRepeats) |
| |
|
|
const char * | name |
| |
|
uint8_t | count |
| |
|
bool | dedupe |
| | Do not send a value equal to the latest sent one.
|
| |
|
bool | pending = false |
| | A value is waiting to be sent.
|
| |
|
bool | force = false |
| | The pending value must be sent even if equal to the latest sent one.
|
| |
|
bool | hasSent = false |
| | At least one value was sent.
|
| |
|
uint32_t | sent [maxValues] = {0, 0} |
| | Latest sent values.
|
| |
|
uint32_t | pendingValues [maxValues] = {0, 0} |
| | Latest requested values.
|
| |
|
uint32_t | sentTimeMs = 0 |
| | Time of the latest send.
|
| |
Rate limiting state of one signal.
The documentation for this struct was generated from the following file: