Testing the new WiFi driver to ESP32

We are working in a new WiFi driver to ESP32 to make it more agnostic, but it is working fine:

nsh> wapi psk wlan0 MyPassword 3
[ 160.770000] [CPU1] esp_wifi_sta_password: WiFi station password=MyPassword len=8

nsh> wapi essid wlan0 MyRouter.4GHz 1
[ 199.290000] [CPU0] esp_wifi_send_event_to_supplicant: Sent 20 bytes from D->S
[ 199.290000] [CPU0] esp_event_post: Event: base=WIFI_EVENT id=3 data=0 data_size=0 tick5
[ 199.300000] [CPU1] esp_evt_work_cb: WiFi sta stop
[ 199.330000] [CPU0] esp_wifi_send_event_to_supplicant: Sent 20 bytes from D->S
[ 199.330000] [CPU0] esp_event_post: Event: base=WIFI_EVENT id=2 data=0 data_size=0 tick5
i 199.34[00 0 10]99 .[C34PU001]00 ]es p[C_ePvUt0]w oesrkp__cwibf:i _WsitFai esstas isdF
station ssid=ACA2021_2.4GHz len=14
[ 199.360000] [CPU0] esp_wifi_send_event_to_supplicant: Sent 412 bytes from D->S
[ 199.360000] [CPU0] sta_parse_rsn: sta_parse_rsn:4867
[ 199.360000] [CPU0] sta_parse_rsn: sta_parse_rsn:4867
es 199.370000] [CPU0] esp_wifi_send_event_to_su[p p1li9c9.a37nt0:0 0S0]en t[C P26U 1]by S
sid: WiFi station ssid=ACA2021_2.4GHz len=14
[ 199.380000] [CPU1] esp_wifi_sta_password: WiFi station password=Gargame1 len=8
[ 199.690000] [CPU1] esp_wifi_sta_mlme: assoc bssid is 08:7e:64:82:d3:20
[ 200.240000] [CPU0] esp_wifi_send_event_to_supplicant: Sent 151 bytes from D->S
[ 200.250000] [CPU1] esp_wifi_sta_set_private: sending eapol packet
[ 200.250000] [CPU0] esp_wifi_send_event_to_supplicant: Sent 20 bytes from D->S
[ 200.270000] [CPU0] esp_wifi_send_event_to_supplicant: Sent 185 bytes from D->S
[ 200.270000] [CPU1] esp_wifi_sta_set_private: sending eapol packet
200.280000] [CPU0] esp_wifi_send_event_to_supplicant: Sent 20 byt[e s 2f0r0.om2 8D0-0]
[CPU1] wlhexdump: key - wlhexdump(len=16):
[ 200.290000] [CPU1] wlhexdump: ae 39 46 d6 a2 36 9e 38 08 d5 91 34 4c 49 36 1e
[ 200.290000] [CPU1] esp_wifi_sta_password: alg=3 address= idx=0 set_tx=8 hw_index=4
[ 200.300000] [CPU1] wlhexdump: key - wlhexdump(len=16):
[ 200.310000] [CPU1] wlhexdump: ee 5d 00 67 d1 88 2a 30 40 c3 43 cc 35 67 c6 b1
[ 200.310000] [CPU1] esp_wifi_sta_password: alg=3 address= idx=2 set_tx=0 hw_index=1
[ 200.320000] [CPU1] esp_wifi_sta_password: auth is done
[ 200.380000] [CPU0] esp_event_post: Event: base=WIFI_EVENT id=4 data=0x3ffca360 data_si5
[ 200.380000] [CPU1] esp_evt_work_cb: WiFi sta connected

nsh> ifconfig
wlan0 Link encap:Ethernet HWaddr ac:67:b2:53:95:18 at UP
inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0
         IPv4   TCP   UDP  ICMP                                                       
Received 000a 0000 0000 0000
Dropped 000a 0000 0000 0000
IPv4 VHL: 0000 Frg: 0000
Checksum 0000 0000 0000 ----
TCP ACK: 0000 SYN: 0000
RST: 0000 0000
Type 0000 ---- ---- 0000
Sent 0000 0000 0000 0000
Rexmit ---- 0000 ---- ----

nsh> renew wlan0

nsh> ifconfig
wlan0 Link encap:Ethernet HWaddr ac:67:b2:53:95:18 at UP
inet addr:192.168.0.17 DRaddr:192.168.0.1 Mask:255.255.255.0
         IPv4   TCP   UDP  ICMP                                                       
Received 000c 0000 0002 0000
Dropped 000a 0000 0000 0000
IPv4 VHL: 0000 Frg: 0000
Checksum 0000 0000 0000 ----
TCP ACK: 0000 SYN: 0000
RST: 0000 0000
Type 0000 ---- ---- 0000
Sent 0002 0000 0002 0000
Rexmit ---- 0000 ---- ----
nsh>
```

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s