<?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 sample problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112827/mqtt-sample-problem</link><description>I&amp;#39; m using custom board of nrf5340 with nrf7002, and the SDK version is ncs v2.5.2. 
 I&amp;#39;ve tried to build and run, but the log in RTT viewer is only print the line &amp;quot;Bringing network interface up and connecting to the network&amp;quot;, It seems the program is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Aug 2024 12:10:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112827/mqtt-sample-problem" /><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/497332?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 12:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4266904d-7e34-4359-80d6-217bb26db324</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Allen,&lt;/p&gt;
&lt;p&gt;Dejan is out of office, and I have been assigned to your ticket.&lt;/p&gt;
&lt;p&gt;If you want to be able to set this in the code, can you try the attached patch, mqtt_set_mac_fix.patch? It is based on &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/wifi/scan/src/main.c#L333"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/samples/wifi/scan/src/main.c#L333&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please note the code does not compile with nRF7002DK as it has custom changes, so you get build errors that you will have to fix.&lt;/p&gt;
[quote user="allenyang"]&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I know that it can set mac address with OTP by using the command in&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/wifi/radio_test/sample_description.html"&gt;radio_test sample&lt;/a&gt;&amp;nbsp;with UART interface.&amp;nbsp;Is there any api to use for calling in program?&lt;/p&gt;[/quote]
&lt;p&gt;You can see the implementation of the otp_write_params shell command for setting MAC address here: &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.5.2/samples/wifi/radio_test/src/nrf_wifi_radio_ficr_shell.c#L290-L317"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.5.2/samples/wifi/radio_test/src/nrf_wifi_radio_ficr_shell.c#L290-L317&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mqtt_5F00_set_5F00_mac_5F00_fix.patch"&gt;devzone.nordicsemi.com/.../mqtt_5F00_set_5F00_mac_5F00_fix.patch&lt;/a&gt;&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 sample problem</title><link>https://devzone.nordicsemi.com/thread/496795?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 11:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4af22c0-dcd2-4cf9-b5c3-68fb7646583a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;Thank you for sharing your project. We will look into it internally. Please note that I will be out of the office for around two weeks and replies might get delayed.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/496773?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 08:14:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:994f2874-8f7f-4fb0-8f39-eb0d989551a2</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I just tested on MQTT sample, so there is no private information,&amp;nbsp;I can send my full&amp;nbsp;project. Thanks for the help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mqtt_5F00_2.rar"&gt;devzone.nordicsemi.com/.../mqtt_5F00_2.rar&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I want to use for product. Users need to set mac address by themself when first time use. If the &amp;quot;&lt;span&gt;set mac address&amp;quot; function is success, then I choose this way, or I can use the way of OTP.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I know that it can set mac address with OTP by using the command in&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/wifi/radio_test/sample_description.html"&gt;radio_test sample&lt;/a&gt;&amp;nbsp;with UART interface.&amp;nbsp;Is there any api to use for calling in program?&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;What is shown in your last log? Which configuration did you use in that case?&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;It&amp;nbsp;is successful running program of Custom board by using&amp;nbsp; this&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_WIFI_FIXED_MAC_ADDRESS"&gt;CONFIG_WIFI_FIXED_MAC_ADDRESS&lt;/a&gt;, compared to failed program, it continued the log after 39th line.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/496572?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 09:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9bf007d-79a1-46fc-abbf-a742d8ef71ea</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;/p&gt;
[quote user="allenyang"]But if I want to use for formal purposes, how can I set mac address correctly?[/quote]
&lt;p&gt;What do you refer to as formal purposes? If you mean non-testing purposes, you could send us your full project and we could further look into it. Please let me know if you have any private information inside your project which you do not want to be publicly visible. If this is the case, I can make this case private.&lt;br /&gt;&lt;br /&gt;What is shown in your last log? Which configuration did you use in that case?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/496326?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 06:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27b5fb91-b590-407d-923d-5e27950852ed</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/112827/mqtt-sample-problem/496165"]For testing purposes, you could try to use&amp;nbsp;&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_WIFI_FIXED_MAC_ADDRESS"&gt;CONFIG_WIFI_FIXED_MAC_ADDRESS&lt;/a&gt;&amp;nbsp;Kconfig option.[/quote]
&lt;p&gt;After setting &amp;quot;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_WIFI_FIXED_MAC_ADDRESS"&gt;CONFIG_WIFI_FIXED_MAC_ADDRESS&lt;/a&gt;&amp;quot;, the application works fine.&lt;/p&gt;
&lt;p&gt;But if I want to use for formal purposes, how can I set mac address correctly?&lt;/p&gt;
&lt;p&gt;Custom Board log message&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.468,872] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.469,177] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.469,482] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; *** Booting nRF Connect SDK v2.5.2 ***
00&amp;gt; [00:00:00.470,214] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wpa_supplicant v2.11-devel
00&amp;gt; [00:00:00.471,710] &amp;lt;inf&amp;gt; wpa_supp: Successfully initialized wpa_supplicant
00&amp;gt; [00:00:00.473,358] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
00&amp;gt; [00:00:00.473,815] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.474,517] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Adding interface wlan0
00&amp;gt; 
00&amp;gt; [00:00:00.475,036] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: interface_add, argc: 5
00&amp;gt; 
00&amp;gt; [00:00:00.475,494] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: interface_add
00&amp;gt; 
00&amp;gt; [00:00:00.475,891] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: wlan0
00&amp;gt; 
00&amp;gt; [00:00:00.476,287] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: zephyr
00&amp;gt; 
00&amp;gt; [00:00:00.476,684] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: zephyr
00&amp;gt; 
00&amp;gt; [00:00:00.477,081] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[4]: zephyr
00&amp;gt; 
00&amp;gt; [00:00:00.478,057] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RX global ctrl_iface - hexdump_ascii(len=44):
00&amp;gt; [00:00:00.478,515] &amp;lt;dbg&amp;gt; wpa_supp: _wpa_hexdump_ascii: 
00&amp;gt;                                    49 4e 54 45 52 46 41 43  45 5f 41 44 44 20 77 6c |INTERFAC E_ADD wl
00&amp;gt;                                    61 6e 30 09 7a 65 70 68  79 72 09 7a 65 70 68 79 |an0.zeph yr.zephy
00&amp;gt;                                    72 09 7a 65 70 68 79 72  09 09 09 09             |r.zephyr ....    
00&amp;gt; [00:00:00.480,804] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE GLOBAL INTERFACE_ADD &amp;#39;wlan0  zephyr  zephyr  zephyr        &amp;#39;
00&amp;gt; [00:00:00.481,933] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Initializing interface &amp;#39;wlan0&amp;#39; conf &amp;#39;zephyr&amp;#39; driver &amp;#39;zephyr&amp;#39; ctrl_interface &amp;#39;zephyr&amp;#39; bridge &amp;#39;N/A&amp;#39;
00&amp;gt; [00:00:00.483,215] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem
00&amp;gt; [00:00:00.486,907] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Add interface wlan0 to a new radio N/A
00&amp;gt; [00:00:00.491,882] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wpa_supp: Added 802.11b mode based on 802.11g information
00&amp;gt; [00:00:00.492,645] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: l2_packet_init: iface wlan0 ifindex 1
00&amp;gt; [00:00:00.493,286] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Own MAC address: f0:ce:36:00:00:4a
00&amp;gt; [00:00:00.493,865] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RSN: flushing PMKID list in the driver
00&amp;gt; [00:00:00.494,598] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: DISCONNECTED -&amp;gt; INACTIVE
00&amp;gt; [00:00:00.496,185] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: MBO: Update non-preferred channels, non_pref_chan=N/A
00&amp;gt; [00:00:00.496,948] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Added interface wlan0
00&amp;gt; [00:00:00.497,467] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: INACTIVE -&amp;gt; DISCONNECTED
00&amp;gt; OK
00&amp;gt; [00:00:00.505,950] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: remove_network, argc: 2
00&amp;gt; 
00&amp;gt; [00:00:00.506,408] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: remove_network
00&amp;gt; 
00&amp;gt; [00:00:00.506,835] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: all
00&amp;gt; 
00&amp;gt; [00:00:00.508,178] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;REMOVE_NETWORK all&amp;#39;
00&amp;gt; [00:00:00.508,728] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: REMOVE_NETWORK all
00&amp;gt; OK
00&amp;gt; [00:00:00.510,314] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;ADD_NETWORK&amp;#39;
00&amp;gt; [00:00:00.510,833] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: ADD_NETWORK
00&amp;gt; [00:00:00.511,657] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: NET added: 0
00&amp;gt; 
00&amp;gt; [00:00:00.512,084] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: set_network, argc: 4
00&amp;gt; 
00&amp;gt; [00:00:00.512,542] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: set_network
00&amp;gt; 
00&amp;gt; [00:00:00.512,939] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:00.513,336] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: ssid
00&amp;gt; 
00&amp;gt; [00:00:00.513,732] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: &amp;quot;allen&amp;quot;
00&amp;gt; 
00&amp;gt; [00:00:00.515,258] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SET_NETWORK [REMOVED]&amp;#39;
00&amp;gt; [00:00:00.515,838] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SET_NETWORK id=0 name=&amp;#39;ssid&amp;#39;
00&amp;gt; [00:00:00.516,326] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: value - hexdump_ascii(len=7): [REMOVED]
00&amp;gt; [00:00:00.516,845] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: ssid - hexdump_ascii(len=5):
00&amp;gt; [00:00:00.517,242] &amp;lt;dbg&amp;gt; wpa_supp: _wpa_hexdump_ascii: 
00&amp;gt;                                    61 6c 6c 65 6e                                   |allen            
00&amp;gt; OK
00&amp;gt; [00:00:00.518,280] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: set_network, argc: 4
00&amp;gt; 
00&amp;gt; [00:00:00.518,768] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: set_network
00&amp;gt; 
00&amp;gt; [00:00:00.519,165] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:00.519,531] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: scan_ssid
00&amp;gt; 
00&amp;gt; [00:00:00.519,927] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: 1
00&amp;gt; 
00&amp;gt; [00:00:00.521,087] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Received event: CTRL-EVENT-NETWORK-ADDED 0&#x5;
00&amp;gt; 
00&amp;gt; [00:00:00.522,338] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SET_NETWORK [REMOVED]&amp;#39;
00&amp;gt; [00:00:00.522,949] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SET_NETWORK id=0 name=&amp;#39;scan_ssid&amp;#39;
00&amp;gt; [00:00:00.523,437] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: value - hexdump_ascii(len=1): [REMOVED]
00&amp;gt; [00:00:00.523,925] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: scan_ssid=1 (0x1)
00&amp;gt; OK
00&amp;gt; [00:00:00.524,597] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: set_network, argc: 4
00&amp;gt; 
00&amp;gt; [00:00:00.525,054] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: set_network
00&amp;gt; 
00&amp;gt; [00:00:00.525,451] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:00.525,848] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: key_mgmt
00&amp;gt; 
00&amp;gt; [00:00:00.526,245] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: NONE
00&amp;gt; 
00&amp;gt; [00:00:00.527,770] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SET_NETWORK [REMOVED]&amp;#39;
00&amp;gt; [00:00:00.528,350] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SET_NETWORK id=0 name=&amp;#39;key_mgmt&amp;#39;
00&amp;gt; [00:00:00.528,839] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: value - hexdump_ascii(len=4): [REMOVED]
00&amp;gt; [00:00:00.529,357] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: key_mgmt: 0x4
00&amp;gt; OK
00&amp;gt; [00:00:00.529,998] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: set_network, argc: 4
00&amp;gt; 
00&amp;gt; [00:00:00.530,456] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: set_network
00&amp;gt; 
00&amp;gt; [00:00:00.530,853] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:00.531,250] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: ieee80211w
00&amp;gt; 
00&amp;gt; [00:00:00.531,646] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: 0
00&amp;gt; 
00&amp;gt; [00:00:00.533,172] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SET_NETWORK [REMOVED]&amp;#39;
00&amp;gt; [00:00:00.533,752] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SET_NETWORK id=0 name=&amp;#39;ieee80211w&amp;#39;
00&amp;gt; [00:00:00.534,240] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: value - hexdump_ascii(len=1): [REMOVED]
00&amp;gt; [00:00:00.534,759] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: ieee80211w=0 (0x0)
00&amp;gt; OK
00&amp;gt; [00:00:00.535,461] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: set_network, argc: 4
00&amp;gt; 
00&amp;gt; [00:00:00.535,919] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: set_network
00&amp;gt; 
00&amp;gt; [00:00:00.536,315] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:00.536,682] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: psk
00&amp;gt; 
00&amp;gt; [00:00:00.537,078] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: &amp;quot;allen0424&amp;quot;
00&amp;gt; 
00&amp;gt; [00:00:00.538,604] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SET_NETWORK [REMOVED]&amp;#39;
00&amp;gt; [00:00:00.539,215] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SET_NETWORK id=0 name=&amp;#39;psk&amp;#39;
00&amp;gt; [00:00:00.539,703] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: value - hexdump_ascii(len=11): [REMOVED]
00&amp;gt; [00:00:00.540,222] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: PSK (ASCII passphrase) - hexdump_ascii(len=9): [REMOVED]
00&amp;gt; [00:00:02.431,243] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: PSK (from passphrase) - hexdump(len=32): [REMOVED]
00&amp;gt; OK
00&amp;gt; [00:00:02.431,976] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: set_network, argc: 4
00&amp;gt; 
00&amp;gt; [00:00:02.432,434] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: set_network
00&amp;gt; 
00&amp;gt; [00:00:02.432,830] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:02.433,227] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: key_mgmt
00&amp;gt; 
00&amp;gt; [00:00:02.433,624] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: WPA-PSK
00&amp;gt; 
00&amp;gt; [00:00:02.435,150] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SET_NETWORK [REMOVED]&amp;#39;
00&amp;gt; [00:00:02.435,760] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SET_NETWORK id=0 name=&amp;#39;key_mgmt&amp;#39;
00&amp;gt; [00:00:02.436,248] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: value - hexdump_ascii(len=7): [REMOVED]
00&amp;gt; [00:00:02.436,737] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: key_mgmt: 0x2
00&amp;gt; OK
00&amp;gt; [00:00:02.437,408] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: set_network, argc: 4
00&amp;gt; 
00&amp;gt; [00:00:02.437,866] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: set_network
00&amp;gt; 
00&amp;gt; [00:00:02.438,262] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:02.438,659] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: ieee80211w
00&amp;gt; 
00&amp;gt; [00:00:02.439,056] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: 1
00&amp;gt; 
00&amp;gt; [00:00:02.440,582] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SET_NETWORK [REMOVED]&amp;#39;
00&amp;gt; [00:00:02.441,162] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SET_NETWORK id=0 name=&amp;#39;ieee80211w&amp;#39;
00&amp;gt; [00:00:02.441,650] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: value - hexdump_ascii(len=1): [REMOVED]
00&amp;gt; [00:00:02.442,169] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: ieee80211w=1 (0x1)
00&amp;gt; OK
00&amp;gt; [00:00:02.442,840] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: enable_network, argc: 2
00&amp;gt; 
00&amp;gt; [00:00:02.443,298] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: enable_network
00&amp;gt; 
00&amp;gt; [00:00:02.443,725] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:02.445,220] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;ENABLE_NETWORK 0&amp;#39;
00&amp;gt; [00:00:02.445,770] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: ENABLE_NETWORK id=0
00&amp;gt; [00:00:02.446,319] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting scan request: 0.000000 sec
00&amp;gt; OK
00&amp;gt; [00:00:02.447,082] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: select_network, argc: 2
00&amp;gt; 
00&amp;gt; [00:00:02.447,540] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: select_network
00&amp;gt; 
00&amp;gt; [00:00:02.447,967] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: 0
00&amp;gt; 
00&amp;gt; [00:00:02.449,279] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: DISCONNECTED -&amp;gt; SCANNING
00&amp;gt; [00:00:02.449,798] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Scan SSID - hexdump_ascii(len=5):
00&amp;gt; [00:00:02.450,195] &amp;lt;dbg&amp;gt; wpa_supp: _wpa_hexdump_ascii: 
00&amp;gt;                                    61 6c 6c 65 6e                                   |allen            
00&amp;gt; [00:00:02.451,019] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Include wildcard SSID in the scan request
00&amp;gt; [00:00:02.451,812] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Add radio work &amp;#39;scan&amp;#39;@0x20042110
00&amp;gt; [00:00:02.452,392] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: First radio work item in the queue - schedule start immediately
00&amp;gt; [00:00:02.453,308] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Control interface command &amp;#39;SELECT_NETWORK 0&amp;#39;
00&amp;gt; [00:00:02.453,857] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE: SELECT_NETWORK id=0
00&amp;gt; [00:00:02.454,406] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting scan request: 0.000000 sec
00&amp;gt; OK
00&amp;gt; [00:00:02.455,139] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested
00&amp;gt; [00:00:02.456,024] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Starting radio work &amp;#39;scan&amp;#39;@0x20042110 after ld.00000ld second wait
00&amp;gt; [00:00:02.468,994] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wpa_drv_zep_scan2: Scan requested - scan timeout 35 seconds
00&amp;gt; 
00&amp;gt; [00:00:02.469,818] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Already scanning - Reschedule the incoming scan req
00&amp;gt; [00:00:02.470,458] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting scan request: 1.000000 sec
00&amp;gt; [00:00:02.471,405] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Passing message 47 to wpa_supplicant
00&amp;gt; [00:00:02.471,954] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Event SCAN_STARTED (47) received
00&amp;gt; [00:00:02.472,595] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Own scan request started a scan in ld.00000ld seconds
00&amp;gt; [00:00:02.473,571] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Received event: CTRL-EVENT-SCAN-STARTED 3&#x19;&#x5;
00&amp;gt; 
00&amp;gt; [00:00:03.471,191] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Already scanning - Reschedule the incoming scan req
00&amp;gt; [00:00:03.471,832] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting scan request: 1.000000 sec
00&amp;gt; [00:00:04.472,625] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Already scanning - Reschedule the incoming scan req
00&amp;gt; [00:00:04.473,266] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting scan request: 1.000000 sec
00&amp;gt; [00:00:05.474,060] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Already scanning - Reschedule the incoming scan req
00&amp;gt; [00:00:05.474,700] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting scan request: 1.000000 sec
00&amp;gt; [00:00:06.358,551] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Passing message 3 to wpa_supplicant
00&amp;gt; [00:00:06.359,100] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Event SCAN_RESULTS (3) received
00&amp;gt; [00:00:06.359,710] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Scan completed in ld.00000ld seconds
00&amp;gt; [00:00:06.363,861] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Sorted scan results
00&amp;gt; [00:00:06.364,440] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: aa:03:6f:e0:cd:78 freq=2437 qual=0 noise=-89~ level=-74 snr=15 flags=0xb age=3636 est=39000
00&amp;gt; [00:00:06.368,316] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: IEs - hexdump(len=205): 00 05 61 6c 6c 65 6e 01 08 82 84 8b 96 24 30 48 6c 03 01 06 07 06 54 57 20 01 0d 1e 20 01 00 23 02 15 00 2a 01 00 32 04 0c 12 18 60 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 2d 1a 2d 00 1b ff ff 00 00 00 00 
00&amp;gt; [00:00:06.369,445] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: BSS: Start scan result update 1
00&amp;gt; [00:00:06.370,330] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: BSS: Add new id 0 BSSID aa:03:6f:e0:cd:78 SSID &amp;#39;allen&amp;#39; freq 2437
00&amp;gt; [00:00:06.371,215] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: BSS: last_scan_res_used=zu/zu
00&amp;gt; [00:00:06.371,734] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: New scan results available (own=1 ext=0)
00&amp;gt; [00:00:06.372,589] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Radio work &amp;#39;scan&amp;#39;@0x20042110 done in ld.00000ld seconds
00&amp;gt; [00:00:06.373,260] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: radio_work_free(&amp;#39;scan&amp;#39;@0x20042110): num_active_works --&amp;gt; 0
00&amp;gt; [00:00:06.373,901] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Scan results matching the currently selected network
00&amp;gt; [00:00:06.374,877] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: 0: aa:03:6f:e0:cd:78 freq=2437 level=-74 snr=15 est_throughput=39000
00&amp;gt; [00:00:06.375,518] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Selecting BSS from priority group 0
00&amp;gt; [00:00:06.376,464] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: 0: aa:03:6f:e0:cd:78 ssid=&amp;#39;allen&amp;#39; wpa_ie_len=0 rsn_ie_len=20 caps=0x1511 level=-74 freq=2437 
00&amp;gt; [00:00:06.377,227] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:    selected based on RSN IE
00&amp;gt; [00:00:06.377,990] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:    selected BSS aa:03:6f:e0:cd:78 ssid=&amp;#39;allen&amp;#39;
00&amp;gt; [00:00:06.379,211] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Considering connect request: reassociate: 1  selected: aa:03:6f:e0:cd:78  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0x20044e80  current_ssid=0x20044e80
00&amp;gt; [00:00:06.380,279] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Request association with aa:03:6f:e0:cd:78
00&amp;gt; [00:00:06.380,889] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: No ongoing scan/p2p-scan found to abort
00&amp;gt; [00:00:06.381,500] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Add radio work &amp;#39;sme-connect&amp;#39;@0x20042150
00&amp;gt; [00:00:06.382,080] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: First radio work item in the queue - schedule start immediately
00&amp;gt; [00:00:06.383,117] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Starting radio work &amp;#39;sme-connect&amp;#39;@0x20042150 after ld.00000ld second wait
00&amp;gt; [00:00:06.383,758] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: clearing own WPA/RSN IE
00&amp;gt; [00:00:06.384,277] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RSN: clearing own RSNXE
00&amp;gt; [00:00:06.384,826] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Automatic auth_alg selection: 0x1
00&amp;gt; [00:00:06.385,406] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RSN: using IEEE 802.11i/D9.0
00&amp;gt; [00:00:06.386,047] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
00&amp;gt; [00:00:06.386,688] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Selected mgmt group cipher 32
00&amp;gt; [00:00:06.387,237] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: clearing AP WPA IE
00&amp;gt; [00:00:06.388,092] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00
00&amp;gt; [00:00:06.388,763] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: clearing AP RSNXE
00&amp;gt; [00:00:06.389,373] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: AP group 0x10 network profile group 0x18; available group 0x10
00&amp;gt; [00:00:06.390,014] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: using GTK CCMP
00&amp;gt; [00:00:06.390,594] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: AP pairwise 0x10 network profile pairwise 0x18; available pairwise 0x10
00&amp;gt; [00:00:06.391,265] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: using PTK CCMP
00&amp;gt; [00:00:06.391,845] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: AP key_mgmt 0x2 network profile key_mgmt 0x2; available key_mgmt 0x2
00&amp;gt; [00:00:06.392,486] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: using KEY_MGMT WPA-PSK
00&amp;gt; [00:00:06.393,127] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: AP mgmt_group_cipher 0x20 network profile mgmt_group_cipher 0x0; available mgmt_group_cipher 0x0
00&amp;gt; [00:00:06.393,829] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: not using MGMT group cipher
00&amp;gt; [00:00:06.394,714] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 80 00
00&amp;gt; [00:00:06.395,385] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RSN: Set own RSNXE default - hexdump(len=0):
00&amp;gt; [00:00:06.395,904] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: PSK (set in config) - hexdump(len=32): [REMOVED]
00&amp;gt; [00:00:06.396,392] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Set PMK based on external data - hexdump(len=32): [REMOVED]
00&amp;gt; [00:00:06.396,942] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RRM: Determining whether RRM can be used - device support: 0x50
00&amp;gt; [00:00:06.397,460] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RRM: No RRM in network
00&amp;gt; [00:00:06.398,986] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Added supported operating classes IE - hexdump(len=10): 3b 08 51 51 52 73 76 79 7c 7d
00&amp;gt; [00:00:06.399,688] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Cancelling scan request
00&amp;gt; [00:00:06.400,421] &amp;lt;inf&amp;gt; wpa_supp: wlan0: SME: Trying to authenticate with aa:03:6f:e0:cd:78 (SSID=&amp;#39;allen&amp;#39; freq=2437 MHz)
00&amp;gt; [00:00:06.401,153] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: SCANNING -&amp;gt; AUTHENTICATING
00&amp;gt; [00:00:06.408,508] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Received event: CTRL-EVENT-BSS-ADDED 0 aa:03:6f:e0:cd:78
00&amp;gt; 
00&amp;gt; [00:00:08.739,044] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Passing message 10 to wpa_supplicant
00&amp;gt; [00:00:08.739,593] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Event AUTH (10) received
00&amp;gt; [00:00:08.740,417] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: SME: Authentication response: peer=aa:03:6f:e0:cd:78 auth_type=0 auth_transaction=2 status_code=0
00&amp;gt; [00:00:08.741,271] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: SME: Authentication response IEs - hexdump(len=12): dd 0a 00 10 18 02 00 00 1c 00 00 02
00&amp;gt; [00:00:08.742,645] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: SME: Association Request IEs - hexdump(len=45): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 80 00 7f 0b 04 00 4a 02 00 40 40 40 00 20 20 3b 08 51 51 52 73 76 79 7c 7d
00&amp;gt; [00:00:08.743,743] &amp;lt;inf&amp;gt; wpa_supp: wlan0: Trying to associate with aa:03:6f:e0:cd:78 (SSID=&amp;#39;allen&amp;#39; freq=2437 MHz)
00&amp;gt; [00:00:08.744,445] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: AUTHENTICATING -&amp;gt; ASSOCIATING
00&amp;gt; [00:00:08.751,525] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: set own WPA/RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 80 00
00&amp;gt; [00:00:08.752,197] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RSN: clearing own RSNXE
00&amp;gt; [00:00:08.774,566] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Event: -805240830
00&amp;gt; [00:00:08.779,510] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Passing message 0 to wpa_supplicant
00&amp;gt; [00:00:08.780,059] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Event ASSOC (0) received
00&amp;gt; [00:00:08.780,578] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Association info event
00&amp;gt; [00:00:08.783,691] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: req_ies - hexdump(len=169): 00 05 61 6c 6c 65 6e 01 08 02 04 0b 16 0c 12 18 24 32 04 30 48 60 6c 21 02 00 1e 5a 03 24 01 00 24 1c 01 01 02 01 03 01 04 01 05 01 06 01 07 01 08 01 09 01 0a 01 0b 01 0c 01 0d 01 0e 01 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04
00&amp;gt; [00:00:08.787,109] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: resp_ies - hexdump(len=155): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 2d 1a 2d 00 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 06 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 08 04 00 00 00 00 0
00&amp;gt; [00:00:08.788,269] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:17:f2 len=10)
00&amp;gt; [00:00:08.788,879] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:17:f2 len=25)
00&amp;gt; [00:00:08.789,459] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:10:18 len=10)
00&amp;gt; [00:00:08.790,130] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:17:f2 len=10)
00&amp;gt; [00:00:08.790,740] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:17:f2 len=25)
00&amp;gt; [00:00:08.791,320] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:10:18 len=10)
00&amp;gt; [00:00:08.791,931] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: freq=2437 MHz
00&amp;gt; [00:00:08.792,572] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:17:f2 len=10)
00&amp;gt; [00:00:08.793,182] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:17:f2 len=25)
00&amp;gt; [00:00:08.793,792] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: unknown vendor specific information element ignored (vendor OUI 00:10:18 len=10)
00&amp;gt; [00:00:08.794,738] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: set own WPA/RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 80 00
00&amp;gt; [00:00:08.795,440] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RSN: clearing own RSNXE
00&amp;gt; [00:00:08.796,020] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: ASSOCIATING -&amp;gt; ASSOCIATED
00&amp;gt; [00:00:08.803,558] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Associated to a new BSS: BSSID=aa:03:6f:e0:cd:78
00&amp;gt; [00:00:08.804,107] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wpa_drv_zep_get_ssid: SSID size: 5
00&amp;gt; 
00&amp;gt; [00:00:08.804,748] &amp;lt;inf&amp;gt; wpa_supp: wlan0: Associated with aa:03:6f:e0:cd:78
00&amp;gt; [00:00:08.805,297] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Association event - clear replay counter
00&amp;gt; [00:00:08.805,847] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Clear old PTK
00&amp;gt; [00:00:08.806,518] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting authentication timeout: 10 sec 0 usec
00&amp;gt; [00:00:08.807,098] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Cancelling scan request
00&amp;gt; [00:00:08.807,647] &amp;lt;inf&amp;gt; wpa_supp: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
00&amp;gt; [00:00:08.811,889] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RX EAPOL from aa:03:6f:e0:cd:78
00&amp;gt; [00:00:08.813,964] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 dd 27 9f 80 de 0c 4b 04 05 a1 61 53 d6 b3 e3 7e c0 31 66 cc 88 12 a7 cb 3c d2 34 de 6e cb 0d a5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.815,093] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Setting authentication timeout: 10 sec 0 usec
00&amp;gt; [00:00:08.815,765] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: IEEE 802.1X RX: version=2 type=3 length=95
00&amp;gt; [00:00:08.817,840] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: RX EAPOL-Key - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 dd 27 9f 80 de 0c 4b 04 05 a1 61 53 d6 b3 e3 7e c0 31 66 cc 88 12 a7 cb 3c d2 34 de 6e cb 0d a5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.818,939] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:   EAPOL-Key type=2
00&amp;gt; [00:00:08.819,671] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:   key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
00&amp;gt; [00:00:08.820,343] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:   key_length=16 key_data_length=0
00&amp;gt; [00:00:08.821,075] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
00&amp;gt; [00:00:08.822,113] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_nonce - hexdump(len=32): dd 27 9f 80 de 0c 4b 04 05 a1 61 53 d6 b3 e3 7e c0 31 66 cc 88 12 a7 cb 3c d2 34 de 6e cb 0d a5
00&amp;gt; [00:00:08.823,059] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.823,760] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.824,432] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.825,225] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.825,805] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wpa_drv_zep_get_ssid: SSID size: 5
00&amp;gt; 
00&amp;gt; [00:00:08.826,324] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: ASSOCIATED -&amp;gt; 4WAY_HANDSHAKE
00&amp;gt; [00:00:08.827,087] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: RX message 1 of 4-Way Handshake from aa:03:6f:e0:cd:78 (ver=2)
00&amp;gt; [00:00:08.827,697] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RSN: msg 1/4 key data - hexdump(len=0):
00&amp;gt; [00:00:08.828,918] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Renewed SNonce - hexdump(len=32): 90 19 e1 49 13 28 35 31 a0 4a 4e a6 39 59 45 da fc f2 2c db b2 85 7e 88 8c 35 71 54 8f 78 b0 68
00&amp;gt; [00:00:08.829,589] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: PTK derivation using PRF(SHA1)
00&amp;gt; [00:00:08.831,573] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: PTK derivation - A1=f0:ce:36:00:00:4a A2=aa:03:6f:e0:cd:78
00&amp;gt; [00:00:08.832,611] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Nonce1 - hexdump(len=32): 90 19 e1 49 13 28 35 31 a0 4a 4e a6 39 59 45 da fc f2 2c db b2 85 7e 88 8c 35 71 54 8f 78 b0 68
00&amp;gt; [00:00:08.833,801] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Nonce2 - hexdump(len=32): dd 27 9f 80 de 0c 4b 04 05 a1 61 53 d6 b3 e3 7e c0 31 66 cc 88 12 a7 cb 3c d2 34 de 6e cb 0d a5
00&amp;gt; [00:00:08.834,503] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: PMK - hexdump(len=32): [REMOVED]
00&amp;gt; [00:00:08.834,960] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: PTK - hexdump(len=48): [REMOVED]
00&amp;gt; [00:00:08.835,418] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: KCK - hexdump(len=16): [REMOVED]
00&amp;gt; [00:00:08.835,906] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: KEK - hexdump(len=16): [REMOVED]
00&amp;gt; [00:00:08.836,364] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: TK - hexdump(len=16): [REMOVED]
00&amp;gt; [00:00:08.837,188] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 80 00
00&amp;gt; [00:00:08.838,012] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
00&amp;gt; [00:00:08.838,592] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Sending EAPOL-Key 2/4
00&amp;gt; [00:00:08.839,172] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Send EAPOL-Key frame to aa:03:6f:e0:cd:78 ver=2 mic_len=16 key_mgmt=0x2
00&amp;gt; [00:00:08.839,691] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: EAPOL-Key MIC using HMAC-SHA1
00&amp;gt; [00:00:08.840,667] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: KCK - hexdump(len=16): [REMOVED]
00&amp;gt; [00:00:08.841,400] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Derived Key MIC - hexdump(len=16): 9b 7d 72 2b a6 1c d1 18 df a7 86 8e 49 45 17 d9
00&amp;gt; [00:00:08.843,872] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: TX EAPOL-Key - hexdump(len=121): 01 03 00 75 02 01 0a 00 00 00 00 00 00 00 00 00 01 90 19 e1 49 13 28 35 31 a0 4a 4e a6 39 59 45 da fc f2 2c db b2 85 7e 88 8c 35 71 54 8f 78 b0 68 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0
00&amp;gt; [00:00:08.875,213] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RX EAPOL from aa:03:6f:e0:cd:78
00&amp;gt; [00:00:08.878,051] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RX EAPOL - hexdump(len=155): 02 03 00 97 02 13 ca 00 10 00 00 00 00 00 00 00 02 dd 27 9f 80 de 0c 4b 04 05 a1 61 53 d6 b3 e3 7e c0 31 66 cc 88 12 a7 cb 3c d2 34 de 6e cb 0d a5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1d 00 00 00 00 00 00 00 00 00 0
00&amp;gt; [00:00:08.879,211] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: IEEE 802.1X RX: version=2 type=3 length=151
00&amp;gt; [00:00:08.882,141] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: RX EAPOL-Key - hexdump(len=155): 02 03 00 97 02 13 ca 00 10 00 00 00 00 00 00 00 02 dd 27 9f 80 de 0c 4b 04 05 a1 61 53 d6 b3 e3 7e c0 31 66 cc 88 12 a7 cb 3c d2 34 de 6e cb 0d a5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1d 00 00 00 00 00 00 0
00&amp;gt; [00:00:08.883,270] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:   EAPOL-Key type=2
00&amp;gt; [00:00:08.884,033] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:   key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
00&amp;gt; [00:00:08.884,704] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0:   key_length=16 key_data_length=56
00&amp;gt; [00:00:08.885,375] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
00&amp;gt; [00:00:08.886,383] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_nonce - hexdump(len=32): dd 27 9f 80 de 0c 4b 04 05 a1 61 53 d6 b3 e3 7e c0 31 66 cc 88 12 a7 cb 3c d2 34 de 6e cb 0d a5
00&amp;gt; [00:00:08.887,359] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.888,061] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_rsc - hexdump(len=8): 1d 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.888,702] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.889,495] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl:   key_mic - hexdump(len=16): 50 7f da 1c fc af 17 2f 46 7e ef 9f cd 41 05 59
00&amp;gt; [00:00:08.890,045] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: EAPOL-Key MIC using HMAC-SHA1
00&amp;gt; [00:00:08.891,967] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RSN: encrypted key data - hexdump(len=56): 32 9c c3 6d 29 6d 90 1e 5c 15 f6 c2 fb 98 21 98 6a 31 ce 6d c1 56 a1 c6 9b 8b 5f 1d 64 a5 44 cf 10 f3 fc a6 e2 4c 83 1a a8 77 48 44 06 a5 a4 84 50 10 b3 16 fe 39 5c 2f
00&amp;gt; [00:00:08.892,852] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Decrypt Key Data using AES-UNWRAP (KEK length 16)
00&amp;gt; [00:00:08.894,958] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED]
00&amp;gt; [00:00:08.895,568] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: 4WAY_HANDSHAKE -&amp;gt; 4WAY_HANDSHAKE
00&amp;gt; [00:00:08.896,301] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: RX message 3 of 4-Way Handshake from aa:03:6f:e0:cd:78 (ver=2)
00&amp;gt; [00:00:08.897,644] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 dd 16 00 0f ac 01 01 00 73 64 ea 26 a0 1a 96 d5 75 96 c7 91 59 ae a3 2f dd 00
00&amp;gt; [00:00:08.898,864] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: RSN IE in EAPOL-Key - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00
00&amp;gt; [00:00:08.899,536] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: GTK in EAPOL-Key - hexdump(len=24): [REMOVED]
00&amp;gt; [00:00:08.900,115] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Sending EAPOL-Key 4/4
00&amp;gt; [00:00:08.900,695] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Send EAPOL-Key frame to aa:03:6f:e0:cd:78 ver=2 mic_len=16 key_mgmt=0x2
00&amp;gt; [00:00:08.901,214] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: EAPOL-Key MIC using HMAC-SHA1
00&amp;gt; [00:00:08.902,130] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: KCK - hexdump(len=16): [REMOVED]
00&amp;gt; [00:00:08.902,862] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Derived Key MIC - hexdump(len=16): 03 87 68 85 91 63 af a2 d6 0d 78 97 26 ba 3a bb
00&amp;gt; [00:00:08.905,059] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f 02 03 0a 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00&amp;gt; [00:00:08.906,555] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Installing PTK to the driver
00&amp;gt; [00:00:08.907,196] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: _wpa_drv_zep_set_key: priv:0x20002250 alg 3 addr 0x2004451c key_idx 0 set_tx 1 seq 0x9901a seq_len 6 key 0x20044164 key_len 16
00&amp;gt; 
00&amp;gt; [00:00:08.916,442] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: 4WAY_HANDSHAKE -&amp;gt; GROUP_HANDSHAKE
00&amp;gt; [00:00:08.916,992] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED]
00&amp;gt; [00:00:08.917,541] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: Group Key - hexdump(len=16): [REMOVED]
00&amp;gt; [00:00:08.918,151] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: WPA: Installing GTK to the driver (keyidx=1 tx=0 len=16)
00&amp;gt; [00:00:08.918,823] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: WPA: RSC - hexdump(len=6): 1d 00 00 00 00 00
00&amp;gt; [00:00:08.919,433] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: _wpa_drv_zep_set_key: priv:0x20002250 alg 3 addr 0x93116 key_idx 1 set_tx 0 seq 0x20042681 seq_len 6 key 0x20014414 key_len 16
00&amp;gt; 
00&amp;gt; [00:00:08.924,926] &amp;lt;inf&amp;gt; wpa_supp: wlan0: WPA: Key negotiation completed with aa:03:6f:e0:cd:78 [PTK=CCMP GTK=CCMP]
00&amp;gt; [00:00:08.925,598] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Cancelling authentication timeout
00&amp;gt; [00:00:08.926,177] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: GROUP_HANDSHAKE -&amp;gt; COMPLETED
00&amp;gt; [00:00:08.926,879] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Radio work &amp;#39;sme-connect&amp;#39;@0x20042150 done in ld.00000ld seconds
00&amp;gt; [00:00:08.928,344] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: radio_work_free(&amp;#39;sme-connect&amp;#39;@0x20042150): num_active_works --&amp;gt; 0
00&amp;gt; [00:00:08.929,199] &amp;lt;inf&amp;gt; wpa_supp: wlan0: CTRL-EVENT-CONNECTED - Connection to aa:03:6f:e0:cd:78 completed [id=0 id_str=]
00&amp;gt; [00:00:08.937,957] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: DHCP WAR: TX frame res=30
00&amp;gt; [00:00:09.378,387] &amp;lt;inf&amp;gt; network: Network connectivity established
00&amp;gt; 
00&amp;gt; [00:00:14.380,096] &amp;lt;dbg&amp;gt; mqtt_helper: broker_init: Resolving IP address for test.mosquitto.org
00&amp;gt; [00:00:15.992,553] &amp;lt;dbg&amp;gt; mqtt_helper: broker_init: IPv4 Address found 91.121.93.94 (AF_INET)
00&amp;gt; [00:00:15.993,011] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_DISCONNECTED --&amp;gt; MQTT_STATE_TRANSPORT_CONNECTING
00&amp;gt; [00:00:16.344,055] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_TRANSPORT_CONNECTING --&amp;gt; MQTT_STATE_TRANSPORT_CONNECTED
00&amp;gt; [00:00:16.344,573] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_TRANSPORT_CONNECTED --&amp;gt; MQTT_STATE_CONNECTING
00&amp;gt; [00:00:16.345,062] &amp;lt;dbg&amp;gt; mqtt_helper: client_connect: Using send socket timeout of 60 seconds
00&amp;gt; [00:00:16.345,458] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_connect: MQTT connection request sent
00&amp;gt; [00:00:16.350,036] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Took connection_poll_sem
00&amp;gt; [00:00:16.350,402] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Starting to poll on socket, fd: 9
00&amp;gt; [00:00:16.350,982] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:00:16.712,432] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_evt_handler: MQTT mqtt_client connected
00&amp;gt; [00:00:16.712,829] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_CONNECTING --&amp;gt; MQTT_STATE_CONNECTED
00&amp;gt; [00:00:16.713,287] &amp;lt;inf&amp;gt; transport: Connected to MQTT broker
00&amp;gt; [00:00:16.714,630] &amp;lt;inf&amp;gt; transport: Hostname: test.mosquitto.org
00&amp;gt; [00:00:16.714,935] &amp;lt;inf&amp;gt; transport: Client ID: C6D095F19440DF6D
00&amp;gt; [00:00:16.715,270] &amp;lt;inf&amp;gt; transport: Port: 1883
00&amp;gt; [00:00:16.715,545] &amp;lt;inf&amp;gt; transport: TLS: No
00&amp;gt; [00:00:16.715,820] &amp;lt;inf&amp;gt; transport: Subscribing to: C6D095F19440DF6D/my/subscribe/topic
00&amp;gt; [00:00:16.716,217] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_subscribe: Subscribing to: C6D095F19440DF6D/my/subscribe/topic
00&amp;gt; [00:00:16.717,651] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:00:17.028,442] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_evt_handler: MQTT_EVT_SUBACK: id = 2469 result = 0
00&amp;gt; [00:00:17.028,869] &amp;lt;inf&amp;gt; transport: Subscribed to topic C6D095F19440DF6D/my/subscribe/topic
00&amp;gt; [00:00:17.029,266] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:01:00.474,578] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_publish: Publishing to topic: C6D095F19440DF6D/my/publish/topic
00&amp;gt; [00:01:00.476,074] &amp;lt;inf&amp;gt; transport: Published message: &amp;quot;Hello MQTT! Current uptime is: 60474&amp;quot; on topic: &amp;quot;C6D095F19440DF6D/my/publish/topic&amp;quot;
00&amp;gt; [00:01:01.158,203] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_evt_handler: MQTT_EVT_PUBACK: id = 60474 result = 0
00&amp;gt; [00:01:01.158,630] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:02:00.474,670] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_publish: Publishing to topic: C6D095F19440DF6D/my/publish/topic
00&amp;gt; [00:02:00.476,165] &amp;lt;inf&amp;gt; transport: Published message: &amp;quot;Hello MQTT! Current uptime is: 120474&amp;quot; on topic: &amp;quot;C6D095F19440DF6D/my/publish/topic&amp;quot;
00&amp;gt; [00:02:00.477,996] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:02:01.065,643] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_evt_handler: MQTT_EVT_PUBACK: id = 54938 result = 0
00&amp;gt; [00:02:01.066,070] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/496165?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 09:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae716445-210a-4d8e-8844-1c3375817b1d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;For testing purposes, you could try to use&amp;nbsp;&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_WIFI_FIXED_MAC_ADDRESS"&gt;CONFIG_WIFI_FIXED_MAC_ADDRESS&lt;/a&gt;&amp;nbsp;Kconfig option.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/495986?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 11:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e785615b-99c5-430d-81bf-f3dad5257ddd</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That password is not actually be used, I&amp;nbsp;use another password, the length is greater than 8 characters.&lt;/p&gt;
&lt;p&gt;I think the connection parameters are correct, since the application works fine and connected to MQTT broker normally when not adding &amp;ldquo;set MAC address &amp;ldquo; function in nRF7002dk build.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/495969?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 10:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c19a9be3-5d35-40cc-9956-dfad6619ef7e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;Timeout error usually indicates misconfiguration. Have you checked that your connection parameters are set correctly?&lt;br /&gt;&lt;br /&gt;I see in your previously provided log that you used password which is less than 8 characters long. Is this password actually used? If not, can you set the password to be of length minimum 8 characters and provide new logs?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/495930?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 06:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c650a82-99df-4f84-95d0-c5ad5813046c</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Now I can see more log messages after making the changes.&lt;/p&gt;
&lt;p&gt;-&lt;/p&gt;
&lt;p&gt;custom board&lt;/p&gt;
&lt;p&gt;with set mac address function&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.444,274] &amp;lt;inf&amp;gt; wifi_nrf: nrf_wifi_fmac_otp_mac_addr_get: MAC addr not programmed in OTP
00&amp;gt; 
00&amp;gt; [00:00:00.445,098] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: 00:00:00:00:00:00
00&amp;gt; 
00&amp;gt; [00:00:00.451,568] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.451,873] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.452,178] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; *** Booting nRF Connect SDK v2.5.2 ***
00&amp;gt; [00:00:00.452,819] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wpa_supplicant v2.11-devel
00&amp;gt; [00:00:00.454,315] &amp;lt;inf&amp;gt; wpa_supp: Successfully initialized wpa_supplicant
00&amp;gt; &amp;lt;Inf&amp;gt; Setting MAC address
00&amp;gt; [00:00:00.456,542] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.457,214] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem
00&amp;gt; [00:00:00.579,345] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Event: -805240828
00&amp;gt; [00:00:00.579,711] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Adding interface wlan0
00&amp;gt; 
00&amp;gt; [00:00:00.580,230] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Calling wpa_cli: interface_add, argc: 5
00&amp;gt; 
00&amp;gt; [00:00:00.580,657] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[0]: interface_add
00&amp;gt; 
00&amp;gt; [00:00:00.581,054] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[1]: wlan0
00&amp;gt; 
00&amp;gt; [00:00:00.581,420] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[2]: zephyr
00&amp;gt; 
00&amp;gt; [00:00:00.581,817] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[3]: zephyr
00&amp;gt; 
00&amp;gt; [00:00:00.582,183] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: argv[4]: zephyr
00&amp;gt; 
00&amp;gt; [00:00:00.584,014] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: RX global ctrl_iface - hexdump_ascii(len=44):
00&amp;gt; [00:00:00.584,442] &amp;lt;dbg&amp;gt; wpa_supp: _wpa_hexdump_ascii: 
00&amp;gt;                                    49 4e 54 45 52 46 41 43  45 5f 41 44 44 20 77 6c |INTERFAC E_ADD wl
00&amp;gt;                                    61 6e 30 09 7a 65 70 68  79 72 09 7a 65 70 68 79 |an0.zeph yr.zephy
00&amp;gt;                                    72 09 7a 65 70 68 79 72  09 09 09 09             |r.zephyr ....    
00&amp;gt; [00:00:00.586,822] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: CTRL_IFACE GLOBAL INTERFACE_ADD &amp;#39;wlan0  zephyr  zephyr  zephyr        &amp;#39;
00&amp;gt; [00:00:00.587,921] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Initializing interface &amp;#39;wlan0&amp;#39; conf &amp;#39;zephyr&amp;#39; driver &amp;#39;zephyr&amp;#39; ctrl_interface &amp;#39;zephyr&amp;#39; bridge &amp;#39;N/A&amp;#39;
00&amp;gt; wake up interface err: 0
00&amp;gt; [00:00:00.592,895] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: Add interface wlan0 to a new radio N/A
00&amp;gt; [00:00:00.596,588] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_event_get_wiphy: Invalid parameters
00&amp;gt; 
00&amp;gt; [00:00:10.583,038] &amp;lt;err&amp;gt; wpa_supp: &amp;#39;INTERFACE_ADD wlan0  zephyr  zephyr  zephyr        &amp;#39; command timed out.
00&amp;gt; 
00&amp;gt; [00:00:10.583,496] &amp;lt;err&amp;gt; wpa_supp: Failed to add interface: wlan0
00&amp;gt; [00:00:10.583,892] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
00&amp;gt; [00:00:10.594,787] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: l2_packet_init: iface wlan0 ifindex 1
00&amp;gt; [00:00:10.595,428] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Own MAC address: f0:ce:36:00:00:4a
00&amp;gt; [00:00:10.596,008] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: RSN: flushing PMKID list in the driver
00&amp;gt; [00:00:10.596,557] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: DISCONNECTED -&amp;gt; INACTIVE
00&amp;gt; [00:00:10.598,114] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: MBO: Update non-preferred channels, non_pref_chan=N/A
00&amp;gt; [00:00:10.598,846] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: Added interface wlan0
00&amp;gt; [00:00:10.599,395] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wlan0: State: INACTIVE -&amp;gt; DISCONNECTED&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;-&lt;/p&gt;
&lt;p&gt;without&amp;nbsp;&lt;span&gt;set mac address function&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.447,814] &amp;lt;inf&amp;gt; wifi_nrf: nrf_wifi_fmac_otp_mac_addr_get: MAC addr not programmed in OTP
00&amp;gt; 
00&amp;gt; [00:00:00.448,638] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: 00:00:00:00:00:00
00&amp;gt; 
00&amp;gt; [00:00:00.455,291] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.455,596] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.455,871] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; *** Booting nRF Connect SDK v2.5.2 ***
00&amp;gt; [00:00:00.456,542] &amp;lt;dbg&amp;gt; wpa_supp: wpa_printf_impl: wpa_supplicant v2.11-devel
00&amp;gt; [00:00:00.457,855] &amp;lt;inf&amp;gt; wpa_supp: Successfully initialized wpa_supplicant
00&amp;gt; [00:00:00.459,320] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
00&amp;gt; [00:00:00.459,777] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.460,479] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;-&lt;/p&gt;
&lt;p&gt;nrf7002dk&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.519,531] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.519,836] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.520,141] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; *** Booting nRF Connect SDK v2.5.2 ***
00&amp;gt; &amp;lt;Inf&amp;gt; Setting MAC address
00&amp;gt; wake up interface err: -120
00&amp;gt; &amp;lt;Err&amp;gt; Couldn&amp;#39;t wake up interface
00&amp;gt; [00:00:00.523,254] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
00&amp;gt; [00:00:00.523,712] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.526,306] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; [00:00:02.457,885] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested
00&amp;gt; [00:00:33.470,855] &amp;lt;err&amp;gt; wpa_supp: Connection timed out, timeout: 30 seconds
00&amp;gt; OK&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/495793?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 10:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306515c1-5659-4341-8e5f-b01b03fd3675</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;/p&gt;
[quote user="allenyang"]I&amp;#39;ve&amp;nbsp;&lt;span&gt;changed my MQTT broker to broker.hivemq.com and&amp;nbsp;include&amp;nbsp;CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y, but it&amp;#39;s still the same output.&lt;/span&gt;[/quote]
&lt;p&gt;I apologize for not providing complete information. I have found out that in order for CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y to become active you need to comment out&amp;nbsp;CONFIG_WPA_SUPP_LOG_LEVEL_ERR=y in your nrf7002dk_nrf5340_cpuapp.conf file. In addition to&amp;nbsp;&lt;span&gt;CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y, please add &lt;/span&gt;&lt;span&gt;CONFIG_LOG_MODE_IMMEDIATE&lt;/span&gt;&lt;span&gt;=y to your prj.conf and provide the logs in both cases.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/495723?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 03:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e094c1c0-7b30-4533-bef9-dea2e4afab49</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve&amp;nbsp;&lt;span&gt;changed my MQTT broker to broker.hivemq.com and&amp;nbsp;include&amp;nbsp;CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y, but it&amp;#39;s still the same output.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;-&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Custom Board &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;with set_mac_address function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.339,782] &amp;lt;inf&amp;gt; wifi_nrf: nrf_wifi_fmac_otp_mac_addr_get: MAC addr not programmed in OTP
00&amp;gt; 
00&amp;gt; [00:00:00.340,240] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: 00:00:00:00:00:00
00&amp;gt; 
00&amp;gt; [00:00:00.346,374] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.346,405] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.346,405] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; *** Booting nRF Connect SDK v2.5.2 ***
00&amp;gt; &amp;lt;Inf&amp;gt; Setting MAC address
00&amp;gt; [00:00:00.349,273] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.349,517] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem
00&amp;gt; wake up interface err: 0
00&amp;gt; [00:00:00.482,391] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_event_get_wiphy: Invalid parameters
00&amp;gt; 
00&amp;gt; [00:00:10.473,236] &amp;lt;err&amp;gt; wpa_supp: &amp;#39;INTERFACE_ADD wlan0  zephyr  zephyr  zephyr        &amp;#39; command timed out.
00&amp;gt; 
00&amp;gt; [00:00:10.473,327] &amp;lt;err&amp;gt; wpa_supp: Failed to add interface: wlan0
00&amp;gt; [00:00:10.473,388] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network&lt;/pre&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;without&amp;nbsp;set_mac_address function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.341,430] &amp;lt;inf&amp;gt; wifi_nrf: nrf_wifi_fmac_otp_mac_addr_get: MAC addr not programmed in OTP

[00:00:00.341,888] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: 00:00:00:00:00:00

[00:00:00.347,930] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.347,961] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
[00:00:00.347,961] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
*** Booting nRF Connect SDK v2.5.2 ***
[00:00:00.350,494] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
[00:00:00.350,616] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
[00:00:00.350,860] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem&lt;/pre&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;-&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;I&amp;#39;ve tried the nrf7002DK, MQTT&amp;nbsp;connected and transported&amp;nbsp;successfully on original MQTT broker &amp;quot;test.mosquitto.org&amp;quot; without&amp;nbsp; &lt;span&gt;set_mac_address function ,and it failed when adding&amp;nbsp;set_mac_address function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF7002DK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;with set_mac_address function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.470,825] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.470,855] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.470,886] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; *** Booting nRF Connect SDK v2.5.2 ***
00&amp;gt; &amp;lt;Inf&amp;gt; Setting MAC address
00&amp;gt; wake up interface err: -120
00&amp;gt; &amp;lt;Err&amp;gt; Couldn&amp;#39;t wake up interface
00&amp;gt; [00:00:00.473,358] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
00&amp;gt; [00:00:00.473,449] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.475,646] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; [00:00:02.407,104] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested
00&amp;gt; OK
00&amp;gt; [00:00:33.420,623] &amp;lt;err&amp;gt; wpa_supp: Connection timed out, timeout: 30 seconds&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;without&amp;nbsp;set_mac_address function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; OK
00&amp;gt; [00:00:00.758,331] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.758,361] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.758,361] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; *** Booting nRF Connect SDK v2.5.2 ***
00&amp;gt; [00:00:00.761,016] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
00&amp;gt; [00:00:00.761,138] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.763,427] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem
00&amp;gt; [00:00:02.697,357] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested
00&amp;gt; [00:00:07.293,762] &amp;lt;inf&amp;gt; network: Network connectivity established
00&amp;gt; [00:00:12.295,166] &amp;lt;dbg&amp;gt; mqtt_helper: broker_init: Resolving IP address for test.mosquitto.org
00&amp;gt; [00:00:13.434,295] &amp;lt;dbg&amp;gt; mqtt_helper: broker_init: IPv4 Address found 91.121.93.94 (AF_INET)
00&amp;gt; [00:00:13.434,356] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_DISCONNECTED --&amp;gt; MQTT_STATE_TRANSPORT_CONNECTING
00&amp;gt; [00:00:13.818,420] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_TRANSPORT_CONNECTING --&amp;gt; MQTT_STATE_TRANSPORT_CONNECTED
00&amp;gt; [00:00:13.818,481] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_TRANSPORT_CONNECTED --&amp;gt; MQTT_STATE_CONNECTING
00&amp;gt; [00:00:13.818,511] &amp;lt;dbg&amp;gt; mqtt_helper: client_connect: Using send socket timeout of 60 seconds
00&amp;gt; [00:00:13.818,511] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_connect: MQTT connection request sent
00&amp;gt; [00:00:13.822,601] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Took connection_poll_sem
00&amp;gt; [00:00:13.822,967] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Starting to poll on socket, fd: 9
00&amp;gt; [00:00:13.822,967] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:00:14.139,373] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_evt_handler: MQTT mqtt_client connected
00&amp;gt; [00:00:14.139,434] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_CONNECTING --&amp;gt; MQTT_STATE_CONNECTED
00&amp;gt; [00:00:14.139,465] &amp;lt;inf&amp;gt; transport: Connected to MQTT broker
00&amp;gt; [00:00:14.139,495] &amp;lt;inf&amp;gt; transport: Hostname: test.mosquitto.org
00&amp;gt; [00:00:14.139,526] &amp;lt;inf&amp;gt; transport: Client ID: F4CE36001FE8
00&amp;gt; [00:00:14.139,526] &amp;lt;inf&amp;gt; transport: Port: 1883
00&amp;gt; [00:00:14.139,556] &amp;lt;inf&amp;gt; transport: TLS: No
00&amp;gt; [00:00:14.139,587] &amp;lt;inf&amp;gt; transport: Subscribing to: F4CE36001FE8/my/subscribe/topic
00&amp;gt; [00:00:14.139,617] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_subscribe: Subscribing to: F4CE36001FE8/my/subscribe/topic
00&amp;gt; [00:00:14.148,651] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:00:15.461,242] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_evt_handler: MQTT_EVT_SUBACK: id = 2469 result = 0
00&amp;gt; [00:00:15.461,456] &amp;lt;inf&amp;gt; transport: Subscribed to topic F4CE36001FE8/my/subscribe/topic
00&amp;gt; [00:00:15.461,486] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9
00&amp;gt; [00:01:00.761,566] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_publish: Publishing to topic: F4CE36001FE8/my/publish/topic
00&amp;gt; [00:01:00.762,664] &amp;lt;inf&amp;gt; transport: Published message: &amp;quot;Hello MQTT! Current uptime is: 60761&amp;quot; on topic: &amp;quot;F4CE36001FE8/my/publish/topic&amp;quot;
00&amp;gt; [00:01:03.388,061] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_evt_handler: MQTT_EVT_PUBACK: id = 60761 result = 0
00&amp;gt; [00:01:03.388,092] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Polling on socket fd: 9&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I think the main issue is &amp;quot;How to set mac address correctly?&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Allen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/495185?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2024 10:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:034d6c2d-15e2-4257-be13-4f3fba0b3fd5</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;Can you try to change your MQTT broker to broker.hivemq.com (in Kconfig.transport) and provide application logs for both the nrf7002-dk and your custom board?&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;config MQTT_SAMPLE_TRANSPORT_BROKER_HOSTNAME
	string &amp;quot;MQTT broker hostname&amp;quot;
	#default &amp;quot;test.mosquitto.org&amp;quot;
	default &amp;quot;broker.hivemq.com&amp;quot;&lt;/pre&gt;&lt;br /&gt;EDIT: Please include&amp;nbsp;&lt;span&gt;CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y in your configuration.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/494969?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2024 06:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:577efdd7-2eaf-436e-83eb-fedcebcbda88</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;here is the&amp;nbsp;full build log.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;build with the custom board of nrf5340_nrf7002&lt;/p&gt;
&lt;p&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/S_5F005F00_254844930.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;build with the nrf7002DK&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/S_5F005F00_254861314.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/494836?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 13:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc2fba99-0803-4cf8-ad16-516c4288e6b0</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;Could you provide your full build log?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/494719?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 07:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f79ebc78-82ec-48aa-8e9f-58ab60c143ad</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I actually build the project using the build button, I think the build command is &amp;quot;west build&amp;nbsp;--build-dir&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&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/S_5F005F00_254345218.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The &amp;quot;&lt;span&gt;nrf7002_nrf5340_cpuapp.conf file&amp;quot; is only needed to be put in the boards folder and the name is same with the board&amp;#39;s name. Then it will be used automatically. But you need to&amp;nbsp;create a new sample project to build with this if you &amp;#39;ve already built a project without this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1007.nrf7002dk_5F00_nrf5340_5F00_cpuapp.conf"&gt;devzone.nordicsemi.com/.../1007.nrf7002dk_5F00_nrf5340_5F00_cpuapp.conf&lt;/a&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/S_5F005F00_254361602.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Allen&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/494635?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 15:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e14280c3-121f-40d2-889c-36c8e05e69a9</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;I am trying to replicate your error. Could you provide build command which you used, and which includes nrf7002_nrf5340_cpuapp.conf file?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/494307?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 09:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d8e4b08-dd3c-4bbd-9734-298c29d3aedd</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;these two line &amp;quot;CONFIG_MQTT_SAMPLE_NETWORK_LOG_LEVEL&lt;/p&gt;
&lt;p&gt;&amp;quot; and &amp;quot;CONFIG_MQTT_SAMPLE_NETWORK_THREAD_STACK_SIZE&lt;/p&gt;
&lt;p&gt;&amp;quot; is auto generated after building the sample&lt;/p&gt;
&lt;p&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/S_5F005F00_254050306.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;The file &amp;quot;nrf7002dk_nrf5340_cpuapp.conf&amp;quot; need to be used, and it is already in the boards folder of the sample project.&lt;/p&gt;
&lt;p&gt;I &amp;#39;d encountered &amp;quot;&lt;span&gt;LOG_MODULE_REGISTER and K_THREAD_DEFINE&amp;quot; errors when I didn&amp;#39;t&amp;nbsp;use &amp;quot;nrf7002dk_nrf5340_cpuapp.conf&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;Please note that your board target in NCS v2.6.1 should be nrf7002dk_nrf5340_cpuapp_ns.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I &amp;#39;ve only tried NCS v2.5.2 and NCS v2.6.1 on &amp;quot;cpuapp&amp;quot; but I didn&amp;#39;t try &amp;quot;cpuapp_ns&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;I could not get the same output as you. Is there anything that you have done differently or additionally? &amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;No, there isn&amp;#39;t. But I see there is the line &amp;quot;&amp;lt;Err&amp;gt; Couldn&amp;#39;t wake up interface&amp;quot; in your output, so is it mean it still has error when setting mac address?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there any right way to set the mac address except using OTP?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I &amp;#39;ve found the line in&amp;nbsp;&amp;quot;nrf7002dk_nrf5340_cpuapp.conf&amp;quot;, is it related to mac address setting?&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/S_5F005F00_254058498.jpg" /&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;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Allen&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/494295?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 08:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e0442a-4c06-4672-b70e-23eb72700bc8</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;I have tested your project.&amp;nbsp;I have built the project for nrf7002dk_nrf5340_cpuapp in NCS v2.5.2. To successfully flash it, I needed to make changes to LOG_MODULE_REGISTER and K_THREAD_DEFINE&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;LOG_MODULE_REGISTER(network, CONFIG_MQTT_SAMPLE_ERROR_LOG_LEVEL);

K_THREAD_DEFINE(network_task_id,
				CONFIG_MQTT_SAMPLE_TRIGGER_THREAD_STACK_SIZE,
				network_task, NULL, NULL, NULL, 3, 0, 0);&lt;/pre&gt;&lt;br /&gt;The result is shown below.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;OK
ors of 4096 bytes
[00:00:00.526,367] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
[00:00:00.526,397] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
*** Booting nRF Connect SDK v2.5.2 ***
&amp;lt;Inf&amp;gt; Setting MAC address
wake up interface err: -120
&amp;lt;Err&amp;gt; Couldn&amp;#39;t wake up interface
[00:00:00.529,113] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
[00:00:00.529,235] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
[00:00:00.531,494] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem
[00:00:02.456,359] &amp;lt;inf&amp;gt; wifi_mgmt_ext: Connection requested
OK
[00:00:33.474,365] &amp;lt;err&amp;gt; wpa_supp: Connection timed out, timeout: 30 seconds
&lt;/pre&gt;&lt;br /&gt;Please note that your board target in NCS v2.6.1 should be nrf7002dk_nrf5340_cpuapp_ns. &lt;br /&gt;I could not get the same output as you. Is there anything that you have done differently or additionally?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/494034?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 05:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06eb0780-f7c0-4951-b229-570c340b0c03</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this is my project(on nrf7002dk_nrf5340)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mqtt_5F00_2.zip"&gt;devzone.nordicsemi.com/.../mqtt_5F00_2.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and build command&lt;/p&gt;
&lt;p&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/S_5F005F00_253968386.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/493928?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 13:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea7ee345-e5dd-45e0-9b29-31d475eb87a1</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;I am still not able to build your project (on nrf7002-dk) with all the changes you previously specified. Can you share your project and provide your build command?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/493604?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 09:36:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d5ae9c-864d-4796-a401-0680d36353fa</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sorry my bad.&lt;/p&gt;
&lt;p&gt;I found that this library &amp;quot;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;quot;net_private.h&amp;quot; is not needed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so only need to add these&amp;nbsp;three libraries&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;lt;zephyr/net/net_if.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;lt;zephyr/net/ethernet.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;lt;zephyr/net/ethernet_mgmt.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I&amp;#39;ve tried to build on nrf7002DK, it can be built successfully.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;and I&amp;#39;ve added this line&amp;nbsp;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;CONFIG_MQTT_HELPER_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&amp;quot; in prj.conf, so now I can see more log message,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;it showed the message below&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.348,693] &amp;lt;inf&amp;gt; network: Bringing network interface up and connecting to the network
00&amp;gt; [00:00:00.348,815] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_state_set: State transition: MQTT_STATE_UNINIT --&amp;gt; MQTT_STATE_DISCONNECTED
00&amp;gt; [00:00:00.349,060] &amp;lt;dbg&amp;gt; mqtt_helper: mqtt_helper_poll_loop: Waiting for connection_poll_sem&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;and these errors still exist.&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.483,917] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_event_get_wiphy: Invalid parameters

[00:00:10.474,578] &amp;lt;err&amp;gt; wpa_supp: &amp;#39;INTERFACE_ADD wlan0  zephyr  zephyr  zephyr        &amp;#39; command timed out.

[00:00:10.474,670] &amp;lt;err&amp;gt; wpa_supp: Failed to add interface: wlan0&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;According to the sample output,&amp;nbsp;next line&amp;nbsp;must be this line &amp;quot;&lt;span&gt;[00:00:04.224,426] &amp;lt;inf&amp;gt; network: Network connectivity established&lt;/span&gt;&amp;quot; but it didn&amp;#39;t appear,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;so it&amp;#39;s stuck in network connection steps, and it&amp;#39;s because of the mac address didn&amp;#39;t set.(I&amp;#39;ve tried the&amp;nbsp;WIFI STA sample, I can connect to WIFI only if adding the mac address, if didn&amp;#39;t set it, it will be failed.)&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Allen&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/493576?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 08:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33e757df-0a71-4cdc-89b8-808b63d89213</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Allen,&lt;br /&gt;&lt;br /&gt;I tried to reproduce your error in both NCS v2.5.2 and v2.6.1. I have seen the first log showing only&amp;nbsp;&lt;span&gt;&amp;quot;Bringing network interface up and connecting to the network&amp;quot;, but I got various build errors when building with your changes. Apart from the changes you provided, it seems that additional changes are necessary. Could you adapt your project so that it can be built successfully on nrf7002-dk?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/493065?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 06:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c09c92e0-190d-4dfb-a777-c3f31aa24a6b</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I added in the function &amp;quot;network_task()&amp;quot; of &amp;quot;network.c&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int8_t wifi_set_mac_address()
{
	struct net_if *iface = net_if_get_default();
	uint8_t mac_addr[6] = {0xF0, 0xCE, 0x36, 0x00, 0x00, 0x4A};

	struct ethernet_req_params eth_param;
	memcpy(eth_param.mac_address.addr, mac_addr, 6);

	// if (net_if_down(iface))
	// {
	// 	printk(&amp;quot;&amp;lt;Err&amp;gt; Couldn&amp;#39;t shutdown WiFi interface\n&amp;quot;);
	// 	return -1;
	// }
	printk(&amp;quot;&amp;lt;Inf&amp;gt; Setting MAC address\n&amp;quot;);
	if (net_mgmt(NET_REQUEST_ETHERNET_SET_MAC_ADDRESS, iface, &amp;amp;eth_param, sizeof(struct ethernet_req_params)))
	{
		printk(&amp;quot;&amp;lt;Err&amp;gt; Couldn&amp;#39;t set new MAC Address\n&amp;quot;);
		return -2;
	}

	int ret = memcmp(net_if_get_link_addr(iface)-&amp;gt;addr, mac_addr, sizeof(mac_addr));
	if (ret)
	{
		printk(&amp;quot;&amp;lt;Err&amp;gt; Couldn&amp;#39;t change MAC address\n&amp;quot;);
	}

	if (net_if_up(iface))
	{
		printk(&amp;quot;&amp;lt;Err&amp;gt; Couldn&amp;#39;t wake up interface\n&amp;quot;);
		return -3;
	}

	return 0;
}

static void network_task(void)
{
	wifi_set_mac_address();// added
	int err;

	/* Setup handler for Zephyr NET Connection Manager events. */
	net_mgmt_init_event_callback(&amp;amp;l4_cb, l4_event_handler, L4_EVENT_MASK);
	net_mgmt_add_event_callback(&amp;amp;l4_cb);

	/* Setup handler for Zephyr NET Connection Manager Connectivity layer. */
	net_mgmt_init_event_callback(&amp;amp;conn_cb, connectivity_event_handler, CONN_LAYER_EVENT_MASK);
	net_mgmt_add_event_callback(&amp;amp;conn_cb);

	/* Connecting to the configured connectivity layer.
	 * Wi-Fi or LTE depending on the board that the sample was built for.
	 */
	LOG_INF(&amp;quot;Bringing network interface up and connecting to the network&amp;quot;);

	err = conn_mgr_all_if_up(true);

	if (err)
	{
		LOG_ERR(&amp;quot;conn_mgr_all_if_up, error: %d&amp;quot;, err);
		SEND_FATAL_ERROR();
		return;
	}

	/* Resend connection status if the sample is built for Native Posix.
	 * This is necessary because the network interface is automatically brought up
	 * at SYS_INIT() before main() is called.
	 * This means that NET_EVENT_L4_CONNECTED fires before the
	 * appropriate handler l4_event_handler() is registered.
	 */
	if (IS_ENABLED(CONFIG_BOARD_NATIVE_POSIX))
	{
		// LOG_INF(&amp;quot;test5&amp;quot;);
		conn_mgr_mon_resend_status();
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and also include these libraries to build the set_mac_address functon correctly.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;zephyr/net/net_if.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;zephyr/net/ethernet.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;zephyr/net/ethernet_mgmt.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;net_private.h&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;and there&amp;nbsp;exists a redeclaration error of &amp;quot;enum net_event_ethernet_cmd{}&amp;quot; between &amp;quot;conn_mgr_connectivity.h&amp;quot; and &amp;quot;ethernet_mgmt.h&amp;quot;&lt;br /&gt;, so I modified the code in&amp;nbsp;&lt;span&gt;&amp;quot;conn_mgr_connectivity.h&amp;quot; to&amp;nbsp;&amp;quot;enum net_event_ethernet_cmd_1{}&amp;quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;enum net_event_ethernet_cmd_1 {
	NET_EVENT_CONN_CMD_IF_TIMEOUT = 1,
	NET_EVENT_CONN_CMD_IF_FATAL_ERROR,
};&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;After done the steps above, the sample can be built without errors, but when running the program, the error which I&amp;#39;ve posted occurs.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&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/2045.S_5F005F00_253018116_5F00_0.jpg" /&gt;&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;span&gt;Allen&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/493018?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 15:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba052d23-dcb5-4748-9be8-1693b777ca00</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Can you show where you added wifi_set_mac_address() and how you used it?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT sample problem</title><link>https://devzone.nordicsemi.com/thread/492839?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 01:42:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a38086ad-2b99-4b70-8148-f67a557163ce</guid><dc:creator>allenyang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I use this sample.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/mqtt/doc/description.html"&gt;Sample description (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>