<p>This PR adds additional examples from the wolfmqtt package. For the examples <code>aws</code> and <code>azure</code> the package <code>wolfssl</code> is required.</p>
<h4>Dependencies</h4>
<ul>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="804763378" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/15969" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/15969/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/15969">#15969</a></li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/16600'>https://github.com/RIOT-OS/RIOT/pull/16600</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>sys/posix/socket: fix tcp member access</li>
  <li>sys/posix: add flag definitions</li>
  <li>sys/posix/select: don't abort search for socket</li>
  <li>sys/posix/socket: implement MSG_PEEK for recvfrom</li>
  <li>sys/posix/socket: use explicit bind</li>
  <li>pkg/lwip: make netdb accessible</li>
  <li>sys/posix: add module posix_netdb</li>
  <li>sys/net/application_layer/dns: add posix socket</li>
  <li>pkg/wolfmqtt: add wolfmqtt</li>
  <li>examples/wolfmqtt_mqttclient: add example from wolfmqtt pkg</li>
  <li>examples/wolfmqtt_snclient: add example from wolfmqtt pkg</li>
  <li>examples/wolfmqtt_nbclient: add example from wolfmqtt pkg</li>
  <li>examples/wolfmqtt_multithread: add example from wolfmqtt pkg</li>
  <li>examples/wolfmqtt_aws: add example from wolfmqtt pkg</li>
  <li>examples/wolfmqtt_azure: add example from wolfmqtt pkg</li>
  <li>pkg/wolfssl: move user_settings.h</li>
  <li>pkg/wolfssl: dont define NO_MAIN_DRIVER when using wolfmqtt</li>
  <li>pkg/wolfssl: define NO_ASN_TIME</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-cf84de96711656ffff8775e780866295b1363b7dbc1157c78f259ebc86f4ee2a">examples/wolfmqtt_aws/Makefile</a>
    (67)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-fc7b28835915b1df39b8255dfa2d720f5d73fba0262c2737c94eb04d53292424">examples/wolfmqtt_aws/Makefile.board.dep</a>
    (9)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-f34bc3de14e28862679eac03cbd7916ad6169c7dc1efa1bf2d89b12b65693e7f">examples/wolfmqtt_aws/user_settings.h</a>
    (54)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-13b8174786c111034c8d9a52834b52c00077cc671b731604ae110b4639a6e5f6">examples/wolfmqtt_azure/Makefile</a>
    (58)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-cecc25ab22bed23df18d86cde8f7430ca4fb2fd0fa75ea72aa5a6c2d9e216e91">examples/wolfmqtt_azure/Makefile.board.dep</a>
    (9)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-2b7b8da0046f36733857f8ac56ffc7d79eff311d891e487f1e864bcb3bd14a80">examples/wolfmqtt_azure/user_settings.h</a>
    (51)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-106c95faddcd9e711ebfbe6f6e49688947c0dc1a93805618e8569e3dc495d4bb">examples/wolfmqtt_mqttclient/Makefile</a>
    (58)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-fcbb1be69bb4bb92d1ad4dd17d9fd045994308328e2d451d12191d83569dd5f2">examples/wolfmqtt_mqttclient/Makefile.board.dep</a>
    (9)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-5dc503008697cdb9b08ff50f0792a62d8db3edeb4b076e1204d022291dba7b32">examples/wolfmqtt_mqttclient/user_settings.h</a>
    (51)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-d08bedaf6848db63f7d325b8a078287072b63053dafa59efab9b4cfe9294065a">examples/wolfmqtt_multithread/Makefile</a>
    (58)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-5aaa60f38893a4b34c1302b01f7f7a6873e7db866b092b7bd02cac2108710191">examples/wolfmqtt_multithread/Makefile.board.dep</a>
    (9)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-9ecf8037dd374a4dde8d3d801ccd69737ca5fbe35b4f0039ca2f137f3496c9ce">examples/wolfmqtt_multithread/user_settings.h</a>
    (54)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-c1d7f8d8358c34f685398e5fabc80dcacce3777edb7de39211406d155b30a751">examples/wolfmqtt_nbclient/Makefile</a>
    (58)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-769c02e29681e072f56c208cb87bcdac74004fe2d4b4c046bbeb89983b0b2644">examples/wolfmqtt_nbclient/Makefile.board.dep</a>
    (9)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-3e9f36680954b25b270b9c07821b766eaf5ef3524947e95adc8e1e4a91c4d591">examples/wolfmqtt_nbclient/user_settings.h</a>
    (58)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-15fb9002957dec9739ae7b231b8278f6cc5699c6b69a692195f575c69bde5391">examples/wolfmqtt_snclient/Makefile</a>
    (58)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-28f03c014fa8698c47a9fa24cd1b02d2083fceb42005e6ea2b8e1a25029752ff">examples/wolfmqtt_snclient/Makefile.board.dep</a>
    (9)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-bc10bcc33780fcd3e4c6443a6e1c1f7a09b9940478957edcfff385b928f72207">examples/wolfmqtt_snclient/user_settings.h</a>
    (54)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-49276c88d7c5caffcf1fa56ac2794cacce61e494eb3dbbeacb1c660677a61244">pkg/lwip/Makefile.include</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-736023c9c916006420fe67b335373893560d4af735cb79ed5d279fe25c06c514">pkg/lwip/contrib/sock/udp/lwip_sock_udp.c</a>
    (58)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-f42063fedadd1fd6425c8e0744bfd25a639ead95fcac9dad6a6172005b7d5685">pkg/lwip/include/lwipopts.h</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-1e456df14be531135a59c153fb75fc164be97488c3c7ccdfcc84282e6ba69309">pkg/lwip/include/sock_types.h</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-5f22d54551e6f3a55c8c04e074fdcdf6ca170a544f6f022c3d927f7e351a5ff3">pkg/lwip/patches/0002-adapt-netdb-functions-for-RIOT.patch</a>
    (249)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-8cec5c6dc31e38c228920b850cd7d135a1d727677f19cbf9d18fc1ffb60c55ec">pkg/wolfmqtt/Makefile</a>
    (43)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-33a4fe376040087b02024465ac9679706eb7666a6323a2c01dbfa421c220fe02">pkg/wolfmqtt/Makefile.dep</a>
    (11)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-16a44adbabc4df4a27753589a617a527ffa4c81a88d926f24c494db4ef79bf6d">pkg/wolfmqtt/Makefile.include</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-cdc7ef62b5b2269ae60538e578b3d65914120fb242a7708e6a6744a58c052095">pkg/wolfmqtt/Makefile.wolfmqtt</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-5bf8fa09e16039692429c7c608c64f12d374ddbd7b23a3f127de1ef8bc9f9aea">pkg/wolfmqtt/Makefile.wolfmqtt.examples</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-5fab620a08d325d614ae3677b2daea76c9e900e4ebf6964077d8bfc612b6a06b">pkg/wolfmqtt/Makefile.wolfmqtt.examples.aws</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-77c9ca3f93c4908eda7a3e667e62988782895937529fff6b3bea07fbb21ae490">pkg/wolfmqtt/Makefile.wolfmqtt.examples.azure</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-42380b1b4f5831b150fe973e1953c82cb1509b1349db6360f0a3f9610499df1f">pkg/wolfmqtt/Makefile.wolfmqtt.examples.mqttclient</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-df2dc3a64a5161e97eb99496739053fa0fb9b090e2d11d1ba5eda5c34190e598">pkg/wolfmqtt/Makefile.wolfmqtt.examples.multithread</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-3febbfd4f13f78b7c5273f32d1ed56926ae35365891b4b7734821c8da890fdf5">pkg/wolfmqtt/Makefile.wolfmqtt.examples.nbclient</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-2d9a80f4de32dd5baf5dc44ce32731b9ca8760956d51bbe8d4333df15bfba2e9">pkg/wolfmqtt/Makefile.wolfmqtt.examples.snclient</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-42b08467e53d4506f4439fddd2a89f715d3268f1280bcee33d6f346264d548c5">pkg/wolfmqtt/doc.txt</a>
    (70)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-73137cf44b7a5749d3b19777e6bc7d618a45dee8baf4d8e0ed682aeed8f41856">pkg/wolfmqtt/patches/0001-examples-prepend-examples-directory-by-wolfmqtt_.patch</a>
    (526)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-fa456c40f5655361aa89308e39be7a5b2ecc1d1305ae28610c8885c2b9c432db">pkg/wolfmqtt/patches/0002-adapt-network-code-to-RIOT.patch</a>
    (492)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-dc18d6c99da3131e742d68da5875105b06d8c955e71028927872b7227134d7d0">pkg/wolfmqtt/patches/0003-fix-linking-error.patch</a>
    (32)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-9076599db74b74ba3a4d648b2cf19093ea7c099a65d7f0a44e6a5958ab0946c1">pkg/wolfmqtt/patches/0004-mqttclient-enable-overriding-of-TEST_MESSAGE.patch</a>
    (27)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-655444adfc833d307c4530b71ef28f38e55eaaafe7d6005f16976a1292db6205">pkg/wolfmqtt/patches/0005-sn-client-enable-overriding-of-TEST_MESSAGE.patch</a>
    (46)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-08786067cd6c00d0e5dfe17442be3fc9edac421f1296180c1ebd5823dc1ad50e">pkg/wolfmqtt/patches/0006-nbclient-enable-overriding-of-TEST_MESSAGE.patch</a>
    (27)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-65eda349829e33f6b72ce1dccadd96976dc3b02358526b39541ff5fc64fd6cca">pkg/wolfmqtt/patches/0007-multithread-enable-overriding-of-TEST_MESSAGE.patch</a>
    (28)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-5fb13f98fce39643fba8b5a1dc7749199aa2b211bb210d50a18abbee69df0a10">pkg/wolfmqtt/patches/0008-aws-enable-overriding-of-AWSIOT_HOST.patch</a>
    (27)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-76e4b88cc6c882742dcdb8d60a3a726468c1eb06404601b4414deb4e7828bb27">pkg/wolfssl/include/wolfssl/user_settings.h</a>
    (9)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-7b6888a7d5be39cf79719d5a9b81fcff1fc88d4c15a9d5d1660660548ff8060f">pkg/wolfssl/patches/0001-prefix-include-of-user_settings.h.patch</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-b267080875517cc7cad981894a20c8ab2075cd8ff291c1e0d0c34f01fb65f0ec">sys/Makefile</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-df69fd2c7840fcaca7dae211c7df24745d202e8482f8d5f0957cc15ef90b948f">sys/Makefile.dep</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-94926bdd91f2f388b53ae5ac6d2414c952ae6b7e2b5bdbf3ab6b287bfca5e82c">sys/include/net/sock/dns.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-96da84ec1654308c94ab4b627e66f10adc9ac57e43fbc2e521326df7097e0e88">sys/net/application_layer/dns/dns.c</a>
    (61)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-131a2c8582a95ed60e4d78947ed5ff2123fe21ccbea91d7de694251594f78655">sys/posix/include/netdb.h</a>
    (117)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-a4869583d429098f59529dbd24912b496f20e2ee2ea97d6ef39a239908738650">sys/posix/include/sys/socket.h</a>
    (20)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-f7e39a56cb2a03a3cfd15d8dbac31bab0caf3ad286aed9f803c0216ce8c62e05">sys/posix/netdb/Makefile</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-3d6d4bdba4d0fa021722425e58060c3deaa6abbe2a661bd6e8bc6c5cbc8df423">sys/posix/netdb/netdb.c</a>
    (55)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-8b53729cdeb91b08a2987b0cef500e74fe002c88605e483d479fbf317285ecd3">sys/posix/select/posix_select.c</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16600/files#diff-6cb14fea619423e8978308f433216814dca6d5adcd11dbb60cffbfc2e799eb70">sys/posix/sockets/posix_sockets.c</a>
    (57)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16600.patch'>https://github.com/RIOT-OS/RIOT/pull/16600.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16600.diff'>https://github.com/RIOT-OS/RIOT/pull/16600.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16600">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBCL5IZTXD6V4VHMIDTVN2QHANCNFSM47TBK4JQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYBRSBN4OMOE7UKA3G3TVN2QHA5CNFSM47TBK4J2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4N5NAILQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16600",
"url": "https://github.com/RIOT-OS/RIOT/pull/16600",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>