MQTT-SN Gateway Library
Library that allows implementation of MQTT-SN gateway.
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1//
2// Copyright 2020 - 2024 (C). Alex Robenko. All rights reserved.
3//
4// This Source Code Form is subject to the terms of the Mozilla Public
5// License, v. 2.0. If a copy of the MPL was not distributed with this
6// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
10
11#pragma once
12
14#define CC_MQTTSN_GW_MAJOR_VERSION 2U
15
17#define CC_MQTTSN_GW_MINOR_VERSION 0U
18
20#define CC_MQTTSN_GW_PATCH_VERSION 5U
21
23#define CC_MQTTSN_GW_MAKE_VERSION(major_, minor_, patch_) \
24 ((static_cast<unsigned>(major_) << 24) | \
25 (static_cast<unsigned>(minor_) << 8) | \
26 (static_cast<unsigned>(patch_)))
27
29#define CC_MQTTSN_GW_VERSION CC_MQTTSN_GW_MAKE_VERSION(CC_MQTTSN_GW_MAJOR_VERSION, CC_MQTTSN_GW_MINOR_VERSION, CC_MQTTSN_GW_PATCH_VERSION)