<?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 over Wi-Fi (nRF7002DK) - can not connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103182/mqtt-over-wi-fi-nrf7002dk---can-not-connect</link><description>Hello 
 I am trying to connect to an MQTT broker over wi-fi using the nRF7002-DK. The code that I wrote is based on the mqtt_over_wifi_nrf7002DK example ( https://github.com/AliNordic/mqtt_over_wifi_nrf7002DK ), so the functions and the basic operation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Sep 2023 11:52:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103182/mqtt-over-wi-fi-nrf7002dk---can-not-connect" /><item><title>RE: MQTT over Wi-Fi (nRF7002DK) - can not connect</title><link>https://devzone.nordicsemi.com/thread/447461?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 11:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b0b7f2-4530-48b2-9e44-fab8971d4108</guid><dc:creator>HashiR</dc:creator><description>&lt;p&gt;can you share ur main.c file , facing same problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT over Wi-Fi (nRF7002DK) - can not connect</title><link>https://devzone.nordicsemi.com/thread/444916?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2023 12:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4fddeac-cc26-4673-bd07-37f67bcd2350</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello Marte&lt;/p&gt;
&lt;p&gt;I manage to make it work, using the MQTT HELPER library, and the same prj.conf file (except I included the CONFIG_MQTT_HELPER=y).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT over Wi-Fi (nRF7002DK) - can not connect</title><link>https://devzone.nordicsemi.com/thread/443578?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 13:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:367d924b-267a-4b06-ba37-e73abb78efbc</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I cannot see anything missing or wrong in prj.conf. Can you upload the entire project so I can test it on my side?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT over Wi-Fi (nRF7002DK) - can not connect</title><link>https://devzone.nordicsemi.com/thread/443388?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 13:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a5cca6f-a9bc-4d23-844e-87ac91934376</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Yes, I have tried to connect to&amp;nbsp;&lt;span&gt;test.mosquitto.org without username and password and I have the same results.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is something wrong with my&amp;nbsp;prj.conf?&amp;nbsp; How can I establish MQTT connection instead of TCP?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the support&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT over Wi-Fi (nRF7002DK) - can not connect</title><link>https://devzone.nordicsemi.com/thread/443386?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 13:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41084a62-82c6-4cc3-8d1a-f83048e9bd79</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on the state in your log, you have established TCP connection, but not MQTT connection (&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/** TCP Connection successfully established. */&lt;/code&gt;&lt;br /&gt;&lt;code&gt; MQTT_STATE_TCP_CONNECTED = 0x00000002&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/** MQTT Connection successful. */&lt;/code&gt;&lt;br /&gt;&lt;code&gt; MQTT_STATE_CONNECTED = 0x00000004&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Have you tried connecting to a public MQTT broker (e.g. test.mosquitto.org or broker.hivemq.com) without MQTT username and password?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>