MikkelD 03/10/2023 12:00 PMI am having an issue where a device flashed with jaguar and just rebooted, closes the Wifi after about 40 seconds and does not reestablish the wifi connection.
A log from the console (with more wifi info than normal)
[wifi] DEBUG: connecting
I (6206) wifi:mode : sta (f4:12:fa:d4:9a:20)
I (6206) wifi:enable tsf
I (7416) wifi:new:<11,2>, old:<1,0>, ap:<255,255>, sta:<11,2>, prof:1
I (8096) wifi:state: init -> auth (b0)
I (8096) wifi:state: auth -> assoc (0)
I (8156) wifi:state: assoc -> run (10)
W (8166) wifi:<ba-add>idx:0 (ifx:0, 70:a7:41:ba:7e:46), tid:5, ssn:1, winSize:64
I (8166) wifi:connected with Spottune, aid = 1, channel 11, 40D, bssid = 70:a7:41:ba:7e:46
I (8166) wifi:security: WPA2-PSK, phy: bgn, rssi: -40
I (8166) wifi:pm start, type: 1
I (8166) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 0, mt_pti: 25000, mt_time: 10000
[wifi] DEBUG: connected
I (8176) wifi:BcnInt:102400, DTIM:1
W (8246) wifi:<ba-add>idx:1 (ifx:0, 70:a7:41:ba:7e:46), tid:6, ssn:1, winSize:64
I (9246) esp_netif_handlers: sta ip: 192.168.1.152, mask: 255.255.255.0, gw: 192.168.1.1
[wifi] INFO: network address dynamically assigned through dhcp {ip: 192.168.1.152}
[wifi] INFO: dns server address dynamically assigned through dhcp {ip: [192.168.1.1]}
[jaguar] INFO: running Jaguar device 'stex_jig' (id: 'dc6b35c1-f193-45bb-a7d7-7926b54d3fbc') on 'http://192.168.1.152:9000'
I (38866) wifi:state: run -> init (6c0)
I (38866) wifi:pm stop, total sleep time: 16065060 us / 30696067 us
W (38866) wifi:<ba-del>idx
W (38866) wifi:<ba-del>idx
I (38866) wifi:new:<11,0>, old:<11,2>, ap:<255,255>, sta:<11,2>, prof:1
[wifi] DEBUG: closing
I (38866) wifi:flush txq
I (38866) wifi:stop sw txq
I (38866) wifi:lmac stop hw txq
I (38866) wifi:Deinit lldesc rx mblock:10
After this, the device needs to be rebooted before it starts jaguar again