<?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>Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109560/implementing-mqtt-on-nrf52840dk-and-nrf7002ek</link><description>Hi, 
 I&amp;#39;ve been trying to test the &amp;quot;wififund_less4_exer1_solution&amp;quot; on my nrf52840dk + nrf7002ek but i keep getting these results 
 
 I tried creating a &amp;quot;nrf52840dk_nrf52840_cpuapp_ns.conf&amp;quot; and &amp;quot;nrf52840dk_nrf52840_cpuapp.conf&amp;quot; as follows 
 
 But then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2024 06:23:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109560/implementing-mqtt-on-nrf52840dk-and-nrf7002ek" /><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/476263?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 06:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b642beb-8fbe-47bb-92f3-764e138c1d90</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Hi Saiff&lt;/p&gt;
&lt;p&gt;Sorry don&amp;#39;t have an official email, is gmail will work ?&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="mailto:iamcalledusman@gmail.com"&gt;iamcalledusman@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/476134?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 12:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24eff3d6-fcd5-41a8-9709-3d1f4b4be53a</guid><dc:creator>saiff</dc:creator><description>&lt;p&gt;hi, ofc send me your email.&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/476109?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 10:48:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5bba1e7-f68d-489d-b070-6a510ed03758</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Hi Saiff&lt;/p&gt;
&lt;p&gt;Thank you much again for your time and concern, I followed your instructions, and when I set&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_SIZE&lt;/span&gt;&lt;span&gt;=&lt;strong&gt;129023&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in Cmakelist.txt &lt;strong&gt;set(SHIELD nrf7002ek)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This time error message is different, Multiple &lt;strong&gt;OK and err=-22&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1711537833122v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;it makes no difference in the output, whether I add .conf file or not as mentioned in the below image.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1711537984010v4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is it possible for you to share your project with me without building conf ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;or Further Help regarding that&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Again Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Muhammad Usman&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/476059?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 08:08:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ff29286-3b6f-42fd-94ad-72c45d088677</guid><dc:creator>saiff</dc:creator><description>&lt;p&gt;Hi Muhammad,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;wififund_less2_exer2_solution&lt;/strong&gt;&lt;span&gt;&amp;nbsp;is working perfectly fine at my end, in steps 12.2 and 12.3 try doing what i told you in my first reply, and set&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_SIZE&lt;/span&gt;&lt;span&gt;=129023 (in the memory section, in your prj.conf file, change it from the original value 153600 to 129023) .&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;that way it should be working good.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Saif&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/476043?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 06:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:291ef116-a098-4163-9ade-cc8b749df449</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Hi Saiff!&lt;/p&gt;
&lt;p&gt;Thank you so much for your time and support!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry,&amp;nbsp; I am unable to connect (&lt;strong&gt;wififund_less2_exer3_solution&amp;nbsp;&lt;/strong&gt;)with the AP when trying to connect via Android app.&lt;/p&gt;
&lt;p&gt;For simplicity, I tried&amp;nbsp;&lt;span&gt;&lt;strong&gt;wififund_less2_exer2_solution&lt;/strong&gt; to bypass the android app&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but still, the output is the same i tested with static CREDENTIALS as well as via command shell but same error -134&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1711519159893v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is it possible for you to test&amp;nbsp;&lt;strong&gt;wififund_less2_exer2_solution&lt;/strong&gt;&amp;nbsp; at your end?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, I am using nrf52840dk + nrf7002ek&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Muhammad Usman&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/475817?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 07:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6649dc6-43e7-4d3c-83b9-5be12b7a9d7d</guid><dc:creator>saiff</dc:creator><description>&lt;p&gt;Hi muhammad,&lt;/p&gt;
&lt;p&gt;i haven&amp;#39;t tried that exemple yet, but if you&amp;#39;re working on an nrf52840dk and faced this same error, create a folder named &amp;quot;boards&amp;quot;, create a file and name it &amp;quot;nrf52840dk_nrf52840.conf&amp;quot;. in this file copy and paste this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_WIFI_CREDENTIALS_BACKEND_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_SETTINGS_NVS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;then don&amp;#39;t forget to add it as a kconfig fragment in the build page like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:90px;max-width:411px;" alt=" " height="90" src="https://devzone.nordicsemi.com/resized-image/__size/822x180/__key/communityserver-discussions-components-files/4/Capture-d_1920E900_cran-2024_2D00_03_2D00_26-083933.png" width="410" /&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this sloves your problem,&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/475498?ContentTypeID=1</link><pubDate>Sun, 24 Mar 2024 10:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b0f59e7-8ca1-4e42-9773-d6e513cbd602</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Hi Saiff&lt;/p&gt;
&lt;p&gt;How you solved that?&lt;/p&gt;
&lt;p&gt;have you tried&amp;nbsp;&lt;span&gt;wififund_less2_exer3_solution? I am facing the same issue that you mentioned!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing MQTT on nrf52840DK and nrf7002ek</title><link>https://devzone.nordicsemi.com/thread/475364?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 11:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:951671bc-ca06-4795-8aff-a30f3aaae986</guid><dc:creator>saiff</dc:creator><description>&lt;p&gt;Turns out i was using TF-M functions while my board don&amp;#39;t support it, it&amp;#39;s working now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>