<?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>ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118043/enotsup-when-trying-to-connect-to-wifi-using-t91x</link><description>Hello, 
 I am attempting to connect to a Wi-Fi network using Exercise 2 from Lesson 2 of the Wi-Fi training in Nordic Academy. However, when I try to connect to the network, I encounter a -134 error while executing the following function: 
 
 Here&amp;#39;s my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Feb 2025 16:43:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118043/enotsup-when-trying-to-connect-to-wifi-using-t91x" /><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/523756?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 16:43:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9556e457-03a2-484e-b271-e73c4725d824</guid><dc:creator>hasheddan</dc:creator><description>&lt;p&gt;This issue stems from&amp;nbsp;&lt;strong&gt;nrf_modem_lib&lt;/strong&gt; being used for socket creation, causing&amp;nbsp;&lt;strong&gt;wpa_supplicant&lt;/strong&gt; to fail to add the interface. I wrote up a deep-dive here:&amp;nbsp;&lt;a id="" href="https://danielmangum.com/posts/nrf9151-wifi-station/"&gt;https://danielmangum.com/posts/nrf9151-wifi-station/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Issue can be addressed with setting&amp;nbsp;&lt;strong&gt;&lt;span&gt;CONFIG_NRF_MODEM_LIB=n&lt;/span&gt;&lt;/strong&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/522556?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 03:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e143d56-7416-48c0-984a-c81cd8f24a49</guid><dc:creator>hasheddan</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/youssef-elbattah"&gt;Youssef Elbattah&lt;/a&gt;&amp;nbsp;I was also interested in using the nRF9151 as the host for the nRF7002 on the Thingy:91 X. I hit the same issue as you did (&lt;strong&gt;-134 / ENOTSUP&lt;/strong&gt;), and did some debugging to determine that it is due to the the nRF9151 defaulting to using the modem lib socket implementation. You can get the the Thingy:91 X working station mode with the nRF9151 as host by setting&amp;nbsp;&lt;strong&gt;CONFIG_NRF_MODEM_LIB=n&lt;/strong&gt;. I have added support in the&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;wifi/sta&lt;/strong&gt; example here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/20303"&gt;github.com/.../20303&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/519989?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2025 14:09:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc50a5dc-4c02-4567-a2a5-b6be1a1e312a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Youssef,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Youssef Elbattah"]&lt;p&gt;Yes the scan sample works very well, but how can i connect my thingy91x/nrf9151/ns or thingy91x/nrf5340/cpuapp to Wi-Fi?&lt;/p&gt;
&lt;p&gt;Unfortunately, I cannot purchase the nRF7002-DK, as I’m currently working on a project using the Thingy91 with LTE-M as the protocol to send data to the cloud. Now, I want to transition to the Thingy91x and add Wi-Fi as a protocol alongside LTE-M.&lt;/p&gt;[/quote]
&lt;p&gt;nRF91-series does not have enough RAM available to do other functions than wifi scanning.&lt;/p&gt;
&lt;p&gt;nRF5340 has enough RAM and flash to do more advanced functions such as wifi STA and/or SoftAP, but the thingy91x board in general is only intended to show wifi scanning for location purposes, so there is not much support for the board itself in NCS. I see that you have a on-going thread with a colleague of mine to get wifi/shell up and running, so I suggest you follow up with any issues in that case.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/519342?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 14:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a9bb01-9fe1-4c99-a570-25e240e272a9</guid><dc:creator>Youssef Elbattah</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes the scan sample works very well, but how can i connect my thingy91x/nrf9151/ns or thingy91x/nrf5340/cpuapp to Wi-Fi?&lt;/p&gt;
&lt;p&gt;Unfortunately, I cannot purchase the nRF7002-DK, as I&amp;rsquo;m currently working on a project using the Thingy91 with LTE-M as the protocol to send data to the cloud. Now, I want to transition to the Thingy91x and add Wi-Fi as a protocol alongside LTE-M.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Youssef&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/518889?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 15:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b46d99-6d6e-4e36-ae48-dd860915a8d6</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nRF91-series devices isn&amp;#39;t directly supported for RAM hungry features like STA/AP mode. I would recommend that you obtain a nRF7002-DK to test all features.&lt;/p&gt;
&lt;p&gt;Could you try the scan sample and see if that works?&lt;/p&gt;
&lt;p&gt;Note the added CMAKE arguments here:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1737127001237v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/518817?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 10:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95157d82-c497-4477-a2c0-faed0d18ee6e</guid><dc:creator>Youssef Elbattah</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;No, I&amp;#39;m the only one, and i am using thingy91x_nrf9151_ns.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Youssef&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/518698?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 16:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e65ac7-b428-40db-8c01-d8fd53330499</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Youssef,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do any of the stock wifi-samples work at your end?&lt;/p&gt;
&lt;p&gt;What hardware are you using?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/518565?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 09:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81715474-f5c7-40db-9a62-34ae24ad771d</guid><dc:creator>Youssef Elbattah</dc:creator><description>&lt;p&gt;Hi Dejan&lt;/p&gt;
&lt;p&gt;I retried to flash it and here&amp;#39;s the whole log from boot.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.257,293] &amp;lt;inf&amp;gt; spi_nor: GD25LE255E@0: 32 MiBy flash
[00:00:00.296,813] &amp;lt;inf&amp;gt; wifi_nrf_bus: SPIM spi@b000: freq = 8 MHz
[00:00:00.296,844] &amp;lt;inf&amp;gt; wifi_nrf_bus: SPIM spi@b000: latency = 0
[00:00:02.361,816] &amp;lt;inf&amp;gt; fs_nvs: 2 Sectors of 4096 bytes
[00:00:02.361,846] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
[00:00:02.361,846] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
[00:00:02.369,171] &amp;lt;inf&amp;gt; Lesson2_Exercise2: Hello this is connect wifi sample
[00:00:03.369,293] &amp;lt;inf&amp;gt; Lesson2_Exercise2: Connecting to Wi-Fi
[00:00:03.369,323] &amp;lt;err&amp;gt; Lesson2_Exercise2: Failed to connect to Wi-Fi, err: -134
[00:00:03.369,323] &amp;lt;inf&amp;gt; Lesson2_Exercise2: Trying again in 1 second...
[00:00:04.369,445] &amp;lt;err&amp;gt; Lesson2_Exercise2: Failed to connect to Wi-Fi, err: -134
[00:00:04.369,476] &amp;lt;inf&amp;gt; Lesson2_Exercise2: Trying again in 1 second...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Youssef&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/518471?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 15:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96dc2c5b-07d1-4db2-8471-ebb0128c2702</guid><dc:creator>Youssef Elbattah</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now when I attempt to reflash it I get only this.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
Attempting to boot slot 0.
Attempting to boot from address 0x8200.
Verifying signature against key 0.
Hash: 0x3e...f9
Firmware signature verified.
Firmware version 1
Booting (0x8200).&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ENOTSUP when trying to connect to wifi using T91X</title><link>https://devzone.nordicsemi.com/thread/518467?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 14:33:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b925737-eba9-4fa5-bb5a-f2050727ee27</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share the whole log from boot?&lt;/p&gt;
&lt;p&gt;I suspect -134 return is a following error due to a previous failed init/call.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>