![]() |
Morse Micro IoT SDK
2.11.2
|
API defining the MM-IoT-SDK version.
Macros | |
| #define | MM_VERSION_BUILDID "2.11.2" |
| Build identifier string. More... | |
| #define | MM_VERSION_MAJOR (2) |
| Semantic version number major component. More... | |
| #define | MM_VERSION_MINOR (11) |
| Semantic version number minor component. More... | |
| #define | MM_VERSION_PATCH (2) |
| Semantic version number patch component . More... | |
| #define | MM_VERSION_NUMBER(_major, _minor, _patch) (((_major) << 24) | ((_minor) << 16) | (_patch)) |
Construct a single integer containing a semantic version number with the value 0xMMmmpppp where: More... | |
| #define | MM_VERSION MM_VERSION_NUMBER(MM_VERSION_MAJOR, MM_VERSION_MINOR, MM_VERSION_PATCH) |
| Semantic version number. More... | |
| #define MM_VERSION MM_VERSION_NUMBER(MM_VERSION_MAJOR, MM_VERSION_MINOR, MM_VERSION_PATCH) |
Semantic version number.
This can be used along with MM_VERSION_NUMBER to implement version checking using the preprocessor. For example:
Definition at line 63 of file mmversion.h.
| #define MM_VERSION_BUILDID "2.11.2" |
Build identifier string.
Definition at line 32 of file mmversion.h.
| #define MM_VERSION_MAJOR (2) |
Semantic version number major component.
Definition at line 35 of file mmversion.h.
| #define MM_VERSION_MINOR (11) |
Semantic version number minor component.
Definition at line 37 of file mmversion.h.
| #define MM_VERSION_NUMBER | ( | _major, | |
| _minor, | |||
| _patch | |||
| ) | (((_major) << 24) | ((_minor) << 16) | (_patch)) |
Construct a single integer containing a semantic version number with the value 0xMMmmpppp where:
Definition at line 49 of file mmversion.h.
| #define MM_VERSION_PATCH (2) |
Semantic version number patch component .
Definition at line 39 of file mmversion.h.