<?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>nrf9160 as ble lte gateway with private mqtt server and bi-directional communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74489/nrf9160-as-ble-lte-gateway-with-private-mqtt-server-and-bi-directional-communication</link><description>Hi, 
 I am planning to buy a nrf9160-DK to build a BLE LTE-M gateway. I would like to ask if the gateway is able to communicate with a private MQTT broker/server instead of nrf Cloud using LTE-M (of course the MQTT broker of my private server will be</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Apr 2021 10:27:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74489/nrf9160-as-ble-lte-gateway-with-private-mqtt-server-and-bi-directional-communication" /><item><title>RE: nrf9160 as ble lte gateway with private mqtt server and bi-directional communication</title><link>https://devzone.nordicsemi.com/thread/307639?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 10:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b0d7a0f-60f6-4fab-aaae-70f8e61e28d6</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]If yes, can you point me to useful documents , samples or tutorials able to do that?[/quote]
&lt;p&gt;It depends what kind of cloud backend you are using for your endpoint. If you are using AWS or Azure, there are dedicated samples for that in the SDK. Here are some links;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/aws_iot"&gt;https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/aws_iot&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/azure_iot_hub"&gt;https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/azure_iot_hub&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/cloud_client"&gt;https://github.com/nrfconnect/sdk-nrf/tree/master/samples/nrf9160/cloud_client&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you want to host the broker yourself without using any of those services, you can change CONFIG_NRF_CLOUD_HOST_NAME to use a custom endpoint instead and change CONFIG_NRF_CLOUD_SEC_TAG to point to your own certificates. If you want to read more about it, there is some information &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/nrf_cloud.html#use-nrfcloud-cloudapi"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>