Skip to content

Commit 7451ec1

Browse files
committed
Release 2023-12-13
2 parents 36994cc + eacd3bf commit 7451ec1

File tree

11 files changed

+61
-2
lines changed

11 files changed

+61
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ when building embedded Linux distribution.
88
- [cc-comms](recipes-support/cc-comms) - Recipe(s) for the [COMMS Library](https://github.com/commschamp/comms).
99
- [cc-commsdsl](recipes-applications/cc-commsdsl) - Recipe(s) for the [commsdsl](https://github.com/commschamp/commscommsdsl) code generators.
1010
- [cc-mqtt311](recipes-support/cc-mqtt311) - Recipe(s) for the [cc.mqtt311.generated](https://github.com/commschamp/cc.mqtt311.generated).
11+
- [cc-mqtt5-libs](recipes-support/cc-mqtt5-libs) - Recipe(s) for the [cc.mqtt5.libs](https://github.com/commschamp/cc.mqtt5.libs).
1112
- [cc-mqtt5](recipes-support/cc-mqtt5) - Recipe(s) for the [cc.mqtt5.generated](https://github.com/commschamp/cc.mqtt5.generated).
1213
- [cc-mqttsn](recipes-support/cc-mqttsn) - Recipe(s) for the [cc.mqttsn.generated](https://github.com/commschamp/cc.mqttsn.generated).
1314
- [cc-mqttsn-libs](recipes-support/cc-mqttsn-libs) - Recipe(s) for the [cc.mqttsn.libs](https://github.com/commschamp/cc.mqttsn.libs).
@@ -37,13 +38,22 @@ PACKAGECONFIG:pn-cc-commsdsl = "commsdsl2swig commsdsl2emscripten"
3738
```
3839

3940
# PACKAGECONFIG of cc-mqttsn-libs
40-
By default the `cc-mqttsn-libs` recipe produces static libraries for both client and gateway. However, the recipe also allows
41+
By default the `cc-mqttsn-libs` recipe produces static libraries for both client and gateway. The recipe also allows
4142
adding Qt5 based applications for UDP I/O link. To enable them use appropriate **PACKAGECONFIG** assignment in the
4243
`local.conf` or machine configuration file.
4344
```
4445
PACKAGECONFIG:append:pn-cc-mqttsn-libs = " cc_mqttsn_client_udp_apps cc_mqttsn_gateway_udp_apps"
4546
```
46-
Note that it will bring up `qt5base` package as the dependency.
47+
Note that it will bring up `qt5base` package as a dependency.
48+
49+
# PACKAGECONFIG of cc-mqtt5-libs
50+
By default the `cc-mqtt5-libs` recipe produces static mqtt5 client library as well as application tools. The recipe also allows
51+
adding / removing features using **PACKAGECONFIG** assignment in the
52+
`local.conf` or machine configuration file.
53+
```
54+
PACKAGECONFIG:append:pn-cc-mqtt5-libs = " cc_mqtt5_client_lib"
55+
```
56+
Note that application tools it will bring up `boost` package as a dependency.
4757

4858
# Extra Tips
4959
When generating and using SDK for the external target application development add the following lines to the image recipe:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "7a79211f5f5313b6b12719829feffd2c6b02a643"
2+
require cc-commsdsl.inc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "d2aaffcaecd089b548f71db9c615730b57f7364a"
2+
require cc-comms.inc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "d02dfc69d1a14a57bcfec101d24a51eef6face55"
2+
require cc-mqtt311.inc
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
DESCRIPTION = "MQTT5 client library/applications."
2+
LICENSE = "MPL-2.0"
3+
LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
4+
5+
SRC_URI = "git://github.com/commschamp/cc.mqtt5.libs.git;protocol=https;branch=master"
6+
7+
S = "${WORKDIR}/git"
8+
9+
PR = "r1"
10+
11+
inherit cmake
12+
13+
DEPENDS = "\
14+
cc-comms \
15+
cc-mqtt5 \
16+
"
17+
18+
PACKAGECONFIG ??= "cc_mqtt5_client_lib cc_mqtt5_client_tools"
19+
PACKAGECONFIG[cc_mqtt5_client_lib] = "-DCC_MQTT5_CLIENT_DEFAULT_LIB=ON, -DCC_MQTT5_CLIENT_DEFAULT_LIB=OFF"
20+
PACKAGECONFIG[cc_mqtt5_client_tools] = "\
21+
-DCC_MQTT5_CLIENT_DEFAULT_LIB=ON -DCC_MQTT5_CLIENT_APPS=ON, \
22+
-DCC_MQTT5_CLIENT_APPS=OFF, \
23+
boost \
24+
"
25+
26+
EXTRA_OECMAKE += "\
27+
-DCC_MQTT5_WARN_AS_ERR=OFF \
28+
"
29+
30+
FILES:${PN}-dev += "${libdir}/cc_mqtt5_client/*"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "69bae7782e68568b65e70023679f02bacaf1d34f"
2+
require cc-mqtt5-libs.inc
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SRCREV = "5a3b2d59b71ada5272e6c3c7d4857fa1cfffe496"
2+
require cc-mqtt5.inc
3+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "e2864440003626991d480d29ae0ad6b11bdd6991"
2+
require cc-mqttsn-libs.inc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "d59ac1efe1ae0ba9cb5283888cdfdfb4c9a6f952"
2+
require cc-mqttsn.inc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "1bf9afb49d4cfa2df5c5690b058d944ce23e05ba"
2+
require cc-ublox.inc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "a229c0481aedb86156943a7a62213ed27c51a866"
2+
require cc-x509.inc

0 commit comments

Comments
 (0)