uart:~$ ITS RX: cmd=0x08, len=1, data: 00 [00:00:48.651,428] <inf> app_bluetooth: Wi-Fi: shutdown via wifi_cli_do_shutdown() [00:00:48.651,458] <err> wpa_supp: Interface nordic_wlan0 is not in STA mode [00:00:48.651,519] <err> wpa_supp: Disconnect failed: Device or resource busy [00:00:48.789,245] <inf> wpa_supp: nordic_wlan0: interface state ENABLED->DISABLED [00:00:48.789,489] <inf> wpa_supp: nordic_wlan0: AP-STA-DISCONNECTED 3a:f3:79:34:da:ef [00:00:48.789,642] <err> wpa_supp: wpa_drv_zep_sta_set_flags: sta_set_flags op failed: -1 ITS RX: cmd=0x08, len=1, data:00:00:48.789,703] <err> wpa_supp: wpa_drv_zep_sta_remove: sta_remove op failed: -1 32m 00 [00:00:48.651,428] <inf> app_bluetooth: Wi-Fi: shutdown via wifi_cli_do_shutdown() [00:00:48.789,916] <err> wpa_supp: wpa_drv_zep_set_ap: change_beacon op failed: -1 [00:00:48.651,458] <err> wpa_supp: Interface nordic_wlan0 is not in STA mode [00:00:48.651,519] <err> wpa_supp: Disconnect failed: Device or resource busy 00:00:48.789,947] <err> wpa_supp: Failed to set beacon parameters [00:00:48.790,161] <err> wpa_supp: wpa_drv_zep_send_mlme: send_mlme op failed: -1 ;32m[00:00:48.789,245] <inf> wpa_supp: nordic_wlan0: interface state ENABLED->DISABLED 00:00:48.790,222] <inf> wpa_supp: nordic_wlan0: AP-DISABLED m[00:00:48.789,489] <inf> wpa_supp: nordic_wlan0: AP-STA-DISCONNECTED 3a:f3:79:34:da:ef 00:00:48.790,710] <err> wpa_supp: wpa_drv_zep_deinit_ap: deinit_ap op failed: -1 2m[00:00:48.789,642] <err> wpa_supp: wpa_drv_zep_sta_set_flags: sta_set_flags op failed: -1 00:00:48.790,832] <inf> wpa_supp: nordic_wlan0: CTRL-EVENT-DISCONNECTED bssid=f4:ce:36:00:14:54 reason=3 locally_generated=1 2m[00:00:48.789,703] <err> wpa_supp: wpa_drv_zep_sta_remove: sta_remove op failed: -1 [00:00:48.789,916] <err> wpa_supp: wpa_drv_zep_set_ap: change_beacon op failed: -1 [00:00:48.789,947] <err> wpa_supp: Failed to set beacon parameters 00:00:48.791,595] <inf> wifi_ctrl: Wi-Fi down. [00:00:48.800,872] <inf> wpa_supp: nordic_wlan0: CTRL-EVENT-DSCP-POLICY clear_all [00:00:48.801,208] <inf> wpa_supp: nordic_wlan0: CTRL-EVENT-DSCP-POLICY clear_all 1;32m[00:00:48.790,161] <err> wpa_supp: wpa_drv_zep_send_mlme: send_mlme op failed: -1 00:00:48.802,001] <inf> wifi_softap_mode: Station disconnected: 3A:F3:79:34:DA:EF [00:00:48.802,001] <inf> wifi_softap_mode: AP stations: 1;32m[00:00:48.790,222] <inf> wpa_supp: nordic_wlan0: AP-DISABLED 00:00:48.802,001] <inf> wifi_softap_mode: ============ [00:00:48.802,001] <inf> wifi_softap_mode: No stations connected [00:00:48.802,032] <inf> wifi_softap_mode: Wi-Fi Camera SofAP is disconnected. Ready for new Wi-Fi connection. 1;32m[00:00:48.790,710] <err> wpa_supp: wpa_drv_zep_deinit_ap: deinit_ap op failed: -1 00:00:48.802,032] <inf> wifi_softap_mode: Running on WiFi SoftAP mode. Please connect PC WiFi network to SSID 'WiFi_Cam_Demo_AP' and password 'nRF7002DK'.
When I tried the official sample: nrf 70-wifi-ble-image-transfer-demo, and tried to apply the shutdown operation to it, I found that there would be many problems with the AP mode shutdown. One of them was: after the shutdown, it was immediately restarted and displayed as successfully started, but there was no WiFi signal.
i use "net_if *iface","wifi_softap_mode_ready();" these kinds of code included in the official code.