<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MQTT Client on nRF52 device + Wifi module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54193/mqtt-client-on-nrf52-device-wifi-module</link><description>In a current project we have a nRF52 Bluetooth application where the Central communicates directly with a Peripheral (also nRF52). The nRF5 SKD V14.0.0 or newer is used for this. 
 The application is now extended with a cloud connection (Azure IoT). To</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2019 08:14:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54193/mqtt-client-on-nrf52-device-wifi-module" /><item><title>RE: MQTT Client on nRF52 device + Wifi module</title><link>https://devzone.nordicsemi.com/thread/219593?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 08:14:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a34027b0-2b5d-4199-9e3c-9a6953139f6f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;The only example I know of it the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/mqtt_simple/README.html#nrf9160-simple-mqtt"&gt;Simple MQTT&lt;/a&gt;&amp;nbsp;for the &lt;a href="https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160"&gt;nRF9160&lt;/a&gt;, a fully integrated SiP for cellular IoT&amp;nbsp;with built-in GPS. Have you considered this device instead?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Our forum does have some similar questions, e.g. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45238/using-nrf52840-over-mqtt-sn-gateway-with-basic-nordic-image"&gt;this thread&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT Client on nRF52 device + Wifi module</title><link>https://devzone.nordicsemi.com/thread/219531?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 16:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e171d023-0979-43ae-9418-3b5830e0f215</guid><dc:creator>Siebesiech</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/oys"&gt;&amp;Oslash;yvind&lt;/a&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/54193/mqtt-client-on-nrf52-device-wifi-module/219483"]Can you please elaborate on what&amp;nbsp;WiFi module you are using?[/quote]
&lt;p&gt;At the moment it is not defined which module is used. However to be more flexible (for example, when choosing the Wifi module) it is planned to use a module which has not implemented the MQTT layer.&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/54193/mqtt-client-on-nrf52-device-wifi-module/219483"]If the examples are sufficient for you, then I see no reason why your first approach can&amp;#39;t be used.[/quote]
&lt;p&gt;I have to take a closer look at this example. As I have seen, the communication is implemented via Bluetooth and thus via a Bluetooth router. Therefore I have to analyze which parts are not needed as they are made by the module (e.g. encryption).&lt;/p&gt;
&lt;p&gt;So it would help me and also save time if I could build on an example where this transport layer was adapted to a UART. This does not have to be complete, but can only be a small part of it. Do you know such an example?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT Client on nRF52 device + Wifi module</title><link>https://devzone.nordicsemi.com/thread/219483?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 13:26:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24c08946-b909-484e-af80-29c302bdd130</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/siebesiech"&gt;Siebesiech&lt;/a&gt;,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you please elaborate on what&amp;nbsp;WiFi module you are using? Usually, the nRF52 would send data to the WiFi module which handles the MQTT layer, of course, if you&amp;#39;re using e.g. ESP32. Have a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/iot_sdk_app_mqtt.html?resultof=%22%6d%71%74%74%22%20"&gt;MQTT chapter in our SDK&lt;/a&gt;, and the examples on &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/iot_sdk_app_mqtt_subscriber.html?resultof=%22%6d%71%74%74%22%20"&gt;MQTT subscriber&lt;/a&gt;&amp;nbsp;and &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/iot_sdk_app_mqtt_publisher.html?resultof=%22%6d%71%74%74%22%20"&gt;MQTT publisher&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user=""]use the MQTT libraries from Nordic and adapt the transport layer for AT commands over UART[/quote]
&lt;p&gt;If the examples are sufficient for you, then I see no reason why your first approach can&amp;#39;t be used.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>