<?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>nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21217/nrf52840-mqtt-tls1-2</link><description>Dear Nordic, 
 What I want to do: 
 
 Battery powered sensor network 
 One gateway (BLE --&amp;gt; WLAN) with a serial-to-wifi chip connected to nRF52 
 MQTT (IBM Bluemix --&amp;gt; CoAP is not supported) 
 TLS1.2 (IBM Bluemix) 
 Long range (Bluetooth 5), indoor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Apr 2017 15:29:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21217/nrf52840-mqtt-tls1-2" /><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83027?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 15:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8b81bf7-518b-45f4-b8e5-cedbe1e4af41</guid><dc:creator>Reto</dc:creator><description>&lt;p&gt;Thread specification V1.1.1 says:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Thread-compliant device &lt;strong&gt;MUST&lt;/strong&gt; support &lt;strong&gt;UDP&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;The implementation of &lt;strong&gt;TCP&lt;/strong&gt; is &lt;strong&gt;OPTIONAL&lt;/strong&gt;; a Thread-compliant device MAY implement TCP&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Would be nice if Nordic supportS TCP in near future. I may contact the regional sales manager.&lt;/p&gt;
&lt;p&gt;Thank you Peter.
Reto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83025?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 15:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbd42d98-3553-48d4-b066-d07d1d17bbb7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;-We do not discuss future plans here, but you can contact the regional sales manager for your area, if you don&amp;#39;t know who it is, send me a PM with your location, and I&amp;#39;ll let you know.&lt;/p&gt;
&lt;p&gt;-As far as I know, Thread doesn&amp;#39;t use TCP, only UDP. Maybe &lt;a href="https://devzone.nordicsemi.com/question/122594/mqtt-sn-client-for-thread-sdk-udp-to-tcp-bridge/"&gt;this&lt;/a&gt; question is of help to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83026?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 12:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ca7497e-5c2c-47f8-a444-e7dcfae71091</guid><dc:creator>Reto</dc:creator><description>&lt;p&gt;Thank you Petter. I am thinking of leaving this path and going with nRF52840 and Thread SDK, as it seems more supported by Nordic. In this case: I would not build the border router by myself (I would buy a 802.15.4 / Wifi / LAN boarder router).
But &lt;strong&gt;Thread SDK does not support MQTT and I need MQTT&lt;/strong&gt; (as I want to connect do IBM Watson IoT).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;But how long will it take until you support &lt;strong&gt;MQTT-SN (UDP)&lt;/strong&gt; over Thread on nRF52840?&lt;/li&gt;
&lt;li&gt;I don&amp;#39;t think I can use &lt;strong&gt;MQTT/TCP&lt;/strong&gt; over Thread: right?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thank you Petter!
Reto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83022?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 11:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cfd0908-2d04-4a76-9f51-31da358b93c7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t know if ESP32 supports &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.iotsdk.v0.9.0/iot_getting_started.html?cp=4_2_0_2"&gt;IPv6/6LoWPAN over BLE&lt;/a&gt; and if it can act as a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.iotsdk.v0.9.0/iot_connectivity.html?cp=4_2_0_0_1"&gt;6LoWPAN boarder router&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You should still be able to do DFU OTA&lt;/li&gt;
&lt;li&gt;If you want to do IPv6 over BLE, yes, but the current &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.iotsdk.v0.9.0/iot_sdk_release_notes_000_009_000.html?cp=4_2_0_3_0"&gt;IoT SDK&lt;/a&gt; doesn&amp;#39;t support nRF52840&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83024?ContentTypeID=1</link><pubDate>Sun, 16 Apr 2017 19:59:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:033cd4f4-1eb4-4b93-afe7-8469aa6f8b75</guid><dc:creator>Reto</dc:creator><description>&lt;p&gt;Hi Petter&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s say I would use a &lt;strong&gt;ESP32&lt;/strong&gt; as IoT Gateway (running MQTT, TLS1.2, Wifi, Bluetooth 4.2) and nRF52840 as sensor nodes (running MQTT, TLS1.2, Bluetooth 4.2, TLS1.2).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Am I still able to update the nRF52840 &lt;strong&gt;over-the-air&lt;/strong&gt; (SoftDevice, application)?&lt;/li&gt;
&lt;li&gt;I guess I should use the nRF5 IoT SDK with MQTT clients on the nRF52840?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Drawback would be: BLE 4.2 (range) compared to BLE 5.&lt;/p&gt;
&lt;p&gt;Thank you Petter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83023?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2017 10:20:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be70e33e-2324-470d-8716-6c9ed50d8b7c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;No problem :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83020?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2017 09:24:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f98ec0e2-8110-4fe0-a6a0-c6ed70aaab8c</guid><dc:creator>Reto</dc:creator><description>&lt;p&gt;Sounds like a plan. Great. Thank you so much for your support Petter!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83019?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2017 08:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68f37a93-7e4a-4e9e-8982-c0bb3c7a0cba</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You are correct. Then I recommend starting off with the normal SDK, nRF5 SDK 13.0.0, more specifically the ble_app_uart and ble_app_uart_c examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83021?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 15:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff31ceb-724f-47cf-ad33-c6673b7c3523</guid><dc:creator>Reto</dc:creator><description>&lt;p&gt;Thank you Petter!
So, if I got this right, then it means the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;There is &lt;strong&gt;no way&lt;/strong&gt; running &lt;strong&gt;MQTT&lt;/strong&gt; (TLS1.2) on a nRF52 and having this nRF52 running as Bluetooth master (&lt;strong&gt;central role&lt;/strong&gt; / observer role)?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Alternative? Running &lt;strong&gt;MQTT on ESP8266&lt;/strong&gt;? ESP8266 communicate with nRF52-central-role-device over UART. Sensor devices (nRF52 peripheral role / broadcaster role) communicate to nRF52-central-role-device over Bluetooth.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If this is correct: With which &lt;strong&gt;SDK&lt;/strong&gt; should I start?&lt;/p&gt;
&lt;p&gt;Again: Thank you very much Petter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83018?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 14:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e8a5b0-51e8-4442-8cfc-e231dba0180c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Unfortunately, we do not have support for IPSP router role, which you would need in the gateway.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/43480/iot-sdk-ipsp-roles/"&gt;this&lt;/a&gt; for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83017?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 12:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d0dc6b4-7af3-4721-9f76-572d4d43b342</guid><dc:creator>Reto</dc:creator><description>&lt;p&gt;MQTT endpoint in every nRF52840 FW. That is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gateway (Bluetooth master)&lt;/li&gt;
&lt;li&gt;Sensors (Bluetooth slaves)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thank you for your question :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840, MQTT, TLS1.2</title><link>https://devzone.nordicsemi.com/thread/83016?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 10:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4869e5d0-722b-4a21-8dd1-eabe297472c9</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Where do you want the MQTT endpoint(s)? In each node or in the gateway?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>