File tree Expand file tree Collapse file tree 6 files changed +50
-9
lines changed
Expand file tree Collapse file tree 6 files changed +50
-9
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,23 @@ PACKAGECONFIG:append:pn-cc-mqttsn-libs = " cc_mqttsn_client_udp_apps cc_mqttsn_g
4949```
5050Note 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
6271When generating and using SDK for the external target application development add the following lines to the image recipe:
Original file line number Diff line number Diff line change 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/*"
Original file line number Diff line number Diff line change 1+ SRCREV = "f6cf9d0ee6c0042fd53fe885a284a00df7ce1aa5"
2+ require cc -mqtt311 -libs . inc
Original file line number Diff line number Diff line change 1- DESCRIPTION = "MQTT5 client library/applications."
1+ DESCRIPTION = "MQTT v5 client library/applications."
22LICENSE = "MPL-2.0"
33LIC_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"
1919PACKAGECONFIG [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 \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ SRCREV = "84e275f008f131fc0c9ec751f1bb63fa5c26f47a"
2+ require cc -mqtt5 -libs . inc
You can’t perform that action at this time.
0 commit comments