Morse Micro IoT SDK  2.11.2
Morse Micro Version API

Detailed Description

API defining the MM-IoT-SDK version.

See also
mmwlan_get_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...
 

Macro Definition Documentation

◆ MM_VERSION

Semantic version number.

This can be used along with MM_VERSION_NUMBER to implement version checking using the preprocessor. For example:

#if MM_VERSION > MM_VERSION_NUMBER(2, 10, 2)
// Do something
#endif

Definition at line 63 of file mmversion.h.

◆ MM_VERSION_BUILDID

#define MM_VERSION_BUILDID   "2.11.2"

Build identifier string.

Note
In general, this should not be used directly. Instead use mmwlan_get_version().

Definition at line 32 of file mmversion.h.

◆ MM_VERSION_MAJOR

#define MM_VERSION_MAJOR   (2)

Semantic version number major component.

Definition at line 35 of file mmversion.h.

◆ MM_VERSION_MINOR

#define MM_VERSION_MINOR   (11)

Semantic version number minor component.

Definition at line 37 of file mmversion.h.

◆ MM_VERSION_NUMBER

#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:

  • MM is the major number (8 bits)
  • mm is the minor number (8 bits)
  • pppp is the patch number (16 bits)

Definition at line 49 of file mmversion.h.

◆ MM_VERSION_PATCH

#define MM_VERSION_PATCH   (2)

Semantic version number patch component .

Definition at line 39 of file mmversion.h.