invalid static ip

Gilbertoe
Posts: 10
Joined: Thu Aug 23, 2018 8:34 pm

invalid static ip

Postby Gilbertoe » Mon Aug 27, 2018 1:44 am

Hi
I am build a test application with ESP32 MDF in order to get familiar with the API. A configure a single node with a fixed WiFi network. The device can connect to wifi, but a always get the error:"invalid static ip"

Here goes my log:

I (15327) wifi: n:1 1, o:1 0, ap:1 1, sta:1 0, prof:1
I (16317) wifi: state: init -> auth (b0)
I (16322) wifi: state: auth -> assoc (0)
I (16328) wifi: state: assoc -> run (10)
I (16364) wifi: connected with Skynet, channel 1
I (16365) wifi: pm start, type: 0

E (16366) event: invalid static ip <---------------------------
W (16367) wifi: [beacon]new interval:300ms
I (16370) mdf_wifi_mesh: [esp_mesh_event_cb, 70]:esp_mesh_event_cb event.id: 7
I (16377) mdf_wifi_mesh: [esp_mesh_event_cb, 74]:wifi connected
I (16386) mdf_wifi_mesh: [esp_mesh_event_cb, 70]:esp_mesh_event_cb event.id: 14
I (18242) mdf_wifi_mesh: [esp_mesh_event_cb, 70]:esp_mesh_event_cb event.id: 17
I (18242) mdf_wifi_mesh: [esp_mesh_event_cb, 131]:wifi get ip
I (18246) event: sta ip: 192.168.0.8, mask: 255.255.255.0, gw: 192.168.0.1

Is there a way to eliminate the error?
BR Gilberto

ESP_yudong
Posts: 29
Joined: Wed May 16, 2018 12:31 pm

Re: invalid static ip

Postby ESP_yudong » Wed Oct 10, 2018 3:56 am

E (16366) event: invalid static ip

Don't worry about this line of logs.

Normally we don't need lwip or dhcp between mesh nodes, but tcpip_adapter_init() must be called before wifi start. So dhcp was stopped when mesh start. You can set a valid static ip if you really don't want to see this.

Who is online

Users browsing this forum: No registered users and 1 guest