Solaris Software
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1/**
2 * @file version.h
3 * @brief SPP library version constants.
4 *
5 * Naming conventions used in this file:
6 * - Constants/macros: K_SPP_VERSION_*
7 */
8
9#ifndef SPP_VERSION_H
10#define SPP_VERSION_H
11
12/** @brief SPP library major version number. */
13#define K_SPP_VERSION_MAJOR (2U)
14
15/** @brief SPP library minor version number. */
16#define K_SPP_VERSION_MINOR (0U)
17
18/** @brief SPP library patch version number. */
19#define K_SPP_VERSION_PATCH (0U)
20
21/** @brief Encoded version as a single 32-bit value (MAJOR<<16 | MINOR<<8 | PATCH). */
22#define K_SPP_VERSION \
23 ((K_SPP_VERSION_MAJOR << 16U) | (K_SPP_VERSION_MINOR << 8U) | K_SPP_VERSION_PATCH)
24
25#endif /* SPP_VERSION_H */