Hi,
For one of the development, Ublox NINA-W10 module which is having esp32 in it. We have made our custom board using NINA-W10 Module.
We are using ESP-IDF V3.3 For our project.
We are using WIFI STA Mode, BLE and HTTP to send data over cloud. BLE is only to set ssid and password of Wifi STA.
During our testing we have found that , WIFI STA has beed disconnected from WFI AP / Network Automatically and IP was 0.0.0.0. After this incident it is not able to connect again to WIFI AP / Network, and not able to get IP.
Kindly find below logs we are getting during this issue.
Here with debug log:
Memory size:
I (17102600) example: RAM left 123280
I (17102600) example: task stack: 4468
My board was posting data and sunnedly following series of events took place, after which board was not able to connect to wifi
I (17134540) wifi: bcn_timout,ap_probe_send_start
I (17137040) wifi: ap_probe_send over, resett wifi status to disassoc
I (17137040) wifi: state: run -> init (c800)
I (17137040) wifi: connect step 1 -> 4, status=5, err_time=1
I (17137050) wifi: send diassoc for beacon timeout(200)
I (17137050) wifi: sta leave
I (17137060) wifi: pm stop, total sleep time: 15369501381 us / 17155375821 us
I (17137060) wifi: stop CSA timer
I (17137070) wifi: remove 00:1e:a6:7c:8b:28 from rc list
I (17137070) wifi: new:<3,0>, old:<3,1>, ap:<255,255>, sta:<3,1>, prof:1
I (17137080) wifi: filter: set rx policy=8
I (17137080) wifi: Send disconnect event, reason=200, AP number=0
I (17137090) wifi: connect step 4 -> 0, status=5, err_time=1
I (17137090) wifi: connect status 5 -> 0, step=0, err_time=1
E (17137100) esp-tls: Failed to connnect to host (errno 113)
I (17137100) wifi: Start wifi connect
E (17137100) esp-tls: Failed to open new connection
I (17137110) wifi: connect step 0 -> 0, status=0, err_time=0
E (17137110) TRANS_SSL: Failed to open a new connection
I (17137120) wifi: connect chan=0
E (17137120) HTTP_CLIENT: Connection failed, sock < 0
I (17137130) wifi: first chan=3
I (17137140) wifi: connect status 0 -> 1, step=0, err_time=0
I (17137140) wifi: connect step 0 -> 1, status=1, err_time=0
I (17137150) wifi: filter: set rx policy=3
I (17137150) wifi: clear scan ap list
I (17137150) wifi: start scan: type=0x50f, priority=2, cb=0x4015df7c, arg=0x0, ss_state=0x1, time=-20831184, index=0
I (17137160) wifi: perform scan: ss_state=0x9, chan<3,0>, dur<0,120>
I (17137290) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17137290) wifi: perform scan: ss_state=0x9, chan<1,0>, dur<0,120>
I (17137410) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17137410) wifi: perform scan: ss_state=0x9, chan<2,0>, dur<0,120>
I (17137530) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17137530) wifi: perform scan: ss_state=0x9, chan<4,0>, dur<0,120>
I (17137660) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17137660) wifi: perform scan: ss_state=0x9, chan<5,0>, dur<0,120>
I (17137780) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17137780) wifi: perform scan: ss_state=0x9, chan<6,0>, dur<0,120>
I (17137900) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17137900) wifi: perform scan: ss_state=0x9, chan<7,0>, dur<0,120>
I (17138020) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17138020) wifi: perform scan: ss_state=0x9, chan<8,0>, dur<0,120>
I (17138140) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17138140) wifi: perform scan: ss_state=0x9, chan<9,0>, dur<0,120>
I (17138260) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17138260) wifi: perform scan: ss_state=0x9, chan<10,0>, dur<0,120>
I (17138390) wifi: scan end: arg=0x0, status=0, ss_state=0x3
I (17138390) wifi: perform scan: ss_state=0x9, chan<11,0>, dur<0,120>
E (17138410) example: HTTP POST request failed: ESP_ERR_HTTP_CONNECT
I (17138410) example: return_val3: 0
I (17138410) example: HTTP_EVENT_DISCONNECTED
I (17138420) example: HTTP_EVENT_DISCONNECTED
I (17138420) example: RAM left 123980
I (17138430) example: task stack: 4468
I (17138510) wifi: scan end: arg=0x0, status=0, ss_state=0x3
Kindly help me to resolve this issue.
ESP32 WIFI Station unstable
-
- Posts: 9
- Joined: Fri Jan 31, 2020 6:52 am
Re: ESP32 WIFI Station unstable
Kindly support on this issue.
Who is online
Users browsing this forum: No registered users and 22 guests