Skip to content

Commit

Permalink
Release v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Jun 20, 2023
2 parents 8dec387 + 995b1ec commit 796af13
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ configuration:
- Release

environment:
COMMS_BRANCH: master
CC_MQTTSN_BRANCH: master
CC_MQTT311_BRANCH: master
COMMS_BRANCH: v5.2.1
CC_MQTTSN_BRANCH: v2.3
CC_MQTT311_BRANCH: v2.3.1

matrix:
- CPP_STD: 11
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/actions_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Github Actions Build
on: [push]

env:
COMMS_BRANCH: master
CC_MQTTSN_BRANCH: master
CC_MQTT311_BRANCH: master
COMMS_BRANCH: v5.2.1
CC_MQTTSN_BRANCH: v2.3
CC_MQTT311_BRANCH: v2.3.1

jobs:
build_gcc_old_ubuntu_20_04:
Expand Down
2 changes: 1 addition & 1 deletion client/include/cc_mqttsn_client/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ extern "C" {
#define CC_MQTTSN_CLIENT_MINOR_VERSION 0U

/// @brief Patch level of the library
#define CC_MQTTSN_CLIENT_PATCH_VERSION 2U
#define CC_MQTTSN_CLIENT_PATCH_VERSION 3U

/// @brief Macro to create numeric version as single unsigned number
#define CC_MQTTSN_CLIENT_MAKE_VERSION(major_, minor_, patch_) \
Expand Down
4 changes: 3 additions & 1 deletion client/src/basic/BasicClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@

#include "comms/comms.h"
#include "comms/util/ScopeGuard.h"
#include "cc_mqttsn/Version.h"
#include "cc_mqttsn/Message.h"
#include "cc_mqttsn/frame/Frame.h"
#include "cc_mqttsn/input/ClientInputMessages.h"
#include "cc_mqttsn/options/ClientDefaultOptions.h"
#include "cc_mqttsn_client/common.h"
#include "details/WriteBufStorageType.h"

//#include <iostream>
static_assert(COMMS_MAKE_VERSION(2, 3, 0) <= cc_mqttsn::version(),
"The version of cc.mqttsn.generated library is too old");

namespace cc_mqttsn_client
{
Expand Down
2 changes: 1 addition & 1 deletion gateway/include/cc_mqttsn_gateway/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define CC_MQTTSN_GW_MINOR_VERSION 0U

/// @brief Patch level of the library
#define CC_MQTTSN_GW_PATCH_VERSION 2U
#define CC_MQTTSN_GW_PATCH_VERSION 3U

/// @brief Macro to create numeric version as single unsigned number
#define CC_MQTTSN_GW_MAKE_VERSION(major_, minor_, patch_) \
Expand Down
8 changes: 8 additions & 0 deletions gateway/src/lib/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@
#include <memory>
#include <limits>

#include "cc_mqttsn/Version.h"
#include "cc_mqttsn/field/QosCommon.h"
#include "cc_mqtt311/Version.h"
#include "cc_mqtt311/field/QosCommon.h"

#include "RegMgr.h"

static_assert(COMMS_MAKE_VERSION(2, 3, 0) <= cc_mqttsn::version(),
"The version of cc.mqttsn.generated library is too old");

static_assert(COMMS_MAKE_VERSION(2, 3, 1) <= cc_mqtt311::version(),
"The version of cc.mqtt311.generated library is too old");

namespace cc_mqttsn_gateway
{

Expand Down

0 comments on commit 796af13

Please sign in to comment.