Skip to content

Commit ba7e299

Browse files
committed
Release 2024-04-30
2 parents fc98ab4 + 1ac1d54 commit ba7e299

File tree

6 files changed

+50
-9
lines changed

6 files changed

+50
-9
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,23 @@ PACKAGECONFIG:append:pn-cc-mqttsn-libs = " cc_mqttsn_client_udp_apps cc_mqttsn_g
4949
```
5050
Note that it will bring up `qt5base` package as a dependency.
5151

52+
# PACKAGECONFIG of cc-mqtt311-libs
53+
By default the `cc-mqtt311-libs` recipe produces static mqtt v3.1.1 client library. The recipe also allows
54+
adding example applications. To enable them use appropriate **PACKAGECONFIG** assignment in the
55+
`local.conf` or machine configuration file.
56+
```
57+
PACKAGECONFIG:append:pn-cc-mqtt311-libs = " cc_mqtt311_client_lib cc_mqtt311_client_apps"
58+
```
59+
Note that applications will bring up `boost` package as a dependency.
60+
5261
# PACKAGECONFIG of cc-mqtt5-libs
53-
By default the `cc-mqtt5-libs` recipe produces static mqtt5 client library as well as application tools. The recipe also allows
54-
adding / removing features using **PACKAGECONFIG** assignment in the
62+
By default the `cc-mqtt5-libs` recipe produces static mqtt v5 client library. The recipe also allows
63+
adding example applications. To enable them use appropriate **PACKAGECONFIG** assignment in the
5564
`local.conf` or machine configuration file.
5665
```
57-
PACKAGECONFIG:append:pn-cc-mqtt5-libs = " cc_mqtt5_client_lib"
66+
PACKAGECONFIG:append:pn-cc-mqtt5-libs = " cc_mqtt5_client_lib cc_mqtt5_client_apps"
5867
```
59-
Note that application tools it will bring up `boost` package as a dependency.
68+
Note that applications will bring up `boost` package as a dependency.
6069

6170
# Extra Tips
6271
When generating and using SDK for the external target application development add the following lines to the image recipe:
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
DESCRIPTION = "MQTT v3.1.1 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.mqtt311.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-mqtt311 \
16+
"
17+
18+
PACKAGECONFIG ??= "cc_mqtt311_client_lib"
19+
PACKAGECONFIG[cc_mqtt311_client_lib] = "-DCC_MQTT311_CLIENT_DEFAULT_LIB=ON, -DCC_MQTT311_CLIENT_DEFAULT_LIB=OFF"
20+
PACKAGECONFIG[cc_mqtt311_client_apps] = "\
21+
-DCC_MQTT311_CLIENT_DEFAULT_LIB=ON -DCC_MQTT311_CLIENT_APPS=ON, \
22+
-DCC_MQTT311_CLIENT_APPS=OFF, \
23+
boost \
24+
"
25+
26+
EXTRA_OECMAKE += "\
27+
-DCC_MQTT311_WARN_AS_ERR=OFF \
28+
"
29+
30+
FILES:${PN}-dev += "${libdir}/cc_mqtt311_client/*"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "f6cf9d0ee6c0042fd53fe885a284a00df7ce1aa5"
2+
require cc-mqtt311-libs.inc

recipes-support/cc-mqtt5-libs/cc-mqtt5-libs.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DESCRIPTION = "MQTT5 client library/applications."
1+
DESCRIPTION = "MQTT v5 client library/applications."
22
LICENSE = "MPL-2.0"
33
LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
44

@@ -15,9 +15,9 @@ DEPENDS = "\
1515
cc-mqtt5 \
1616
"
1717

18-
PACKAGECONFIG ??= "cc_mqtt5_client_lib cc_mqtt5_client_tools"
18+
PACKAGECONFIG ??= "cc_mqtt5_client_lib"
1919
PACKAGECONFIG[cc_mqtt5_client_lib] = "-DCC_MQTT5_CLIENT_DEFAULT_LIB=ON, -DCC_MQTT5_CLIENT_DEFAULT_LIB=OFF"
20-
PACKAGECONFIG[cc_mqtt5_client_tools] = "\
20+
PACKAGECONFIG[cc_mqtt5_client_apps] = "\
2121
-DCC_MQTT5_CLIENT_DEFAULT_LIB=ON -DCC_MQTT5_CLIENT_APPS=ON, \
2222
-DCC_MQTT5_CLIENT_APPS=OFF, \
2323
boost \

recipes-support/cc-mqtt5-libs/cc-mqtt5-libs_0.4.bb

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SRCREV = "84e275f008f131fc0c9ec751f1bb63fa5c26f47a"
2+
require cc-mqtt5-libs.inc

0 commit comments

Comments
 (0)