|
ReduxLib C++ 2026.1.2
|
#include <CanandFirmwareVersion.h>
Public Member Functions | |
| constexpr | CanandFirmwareVersion (uint16_t year, uint8_t minor, uint8_t patch) |
| constexpr uint64_t | ToSettingData () |
Static Public Member Functions | |
| static constexpr CanandFirmwareVersion | FromSettingData (uint64_t value) |
Public Attributes | |
| uint16_t | year |
| uint8_t | minor |
| uint8_t | patch |
Represents a firmware version associated with a Redux product.
| year | the year associated with the firmware version. Within a year/season, the message API is expected to remain the same until the postseason. |
| minor | the minor number associated with the firmware version |
| patch | the patch number associated with the firmware version |
|
inlineconstexpr |
Constructor.
| year | the year associated with the firmware version. Within a year/season, the message API is expected to remain the same until the postseason. |
| minor | the minor number associated with the firmware version |
| patch | the patch number associated with the firmware version |
|
inlinestaticconstexpr |
Returns a new CanandFirmwareVersion generated from setting data.
| value | setting data, as a 48-bit long |
|
inlineconstexpr |
Serializes the firmware version record into a wire-formattable Long.
| uint8_t redux::canand::CanandFirmwareVersion::minor |
Firmware minor version.
| uint8_t redux::canand::CanandFirmwareVersion::patch |
Firmware patch version.
| uint16_t redux::canand::CanandFirmwareVersion::year |
Firmware year.