Connect Stack Version#

Macros to determine the stack version.

Note that the Connect Stack version might not match the version of Flex SDK.

See config.h for source code.

Macros#

#define

The major version of the release. First digit of A.B.C.D.

#define

The minor version of the release. Second digit of A.B.C.D.

#define

The patch version of the release. Third digit of A.B.C.D.

#define

Special version of the release. Fourth digit of A.B.C.D.

#define

Build number of the release. Should be stored on 2 bytes.

#define

Full version number stored on 2 bytes, with each of the four digits stored on 4 bits.

#define
EMBER_VERSION_TYPE EMBER_VERSION_TYPE_GA

Version type of the release. EMBER_VERSION_TYPE_GA means generally available.

#define
SOFTWARE_VERSION EMBER_FULL_VERSION

Full version number stored on 2 bytes, with each of the four digits stored on 4 bits.

Macro Definition Documentation#

EMBER_MAJOR_VERSION#

#define EMBER_MAJOR_VERSION
Value:
4

The major version of the release. First digit of A.B.C.D.


EMBER_MINOR_VERSION#

#define EMBER_MINOR_VERSION
Value:
1

The minor version of the release. Second digit of A.B.C.D.


EMBER_PATCH_VERSION#

#define EMBER_PATCH_VERSION
Value:
0

The patch version of the release. Third digit of A.B.C.D.

Patch versions are fully backwards compatible as long as the major and minor version matches.


EMBER_SPECIAL_VERSION#

#define EMBER_SPECIAL_VERSION
Value:
0

Special version of the release. Fourth digit of A.B.C.D.


EMBER_BUILD_NUMBER#

#define EMBER_BUILD_NUMBER
Value:
0

Build number of the release. Should be stored on 2 bytes.


EMBER_FULL_VERSION#

#define EMBER_FULL_VERSION
Value:
( ((uint16_t)EMBER_MAJOR_VERSION << 12) \
| ((uint16_t)EMBER_MINOR_VERSION << 8) \
| ((uint16_t)EMBER_PATCH_VERSION << 4) \
| ((uint16_t)EMBER_SPECIAL_VERSION))

Full version number stored on 2 bytes, with each of the four digits stored on 4 bits.


EMBER_VERSION_TYPE#

#define EMBER_VERSION_TYPE
Value:
EMBER_VERSION_TYPE_GA

Version type of the release. EMBER_VERSION_TYPE_GA means generally available.


SOFTWARE_VERSION#

#define SOFTWARE_VERSION
Value:
EMBER_FULL_VERSION

Full version number stored on 2 bytes, with each of the four digits stored on 4 bits.