Page 1 of 1

invalid static ip

Posted: Mon Aug 27, 2018 1:44 am
by Gilbertoe
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 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 14
I (18242) mdf_wifi_mesh: [esp_mesh_event_cb, 70]:esp_mesh_event_cb 17
I (18242) mdf_wifi_mesh: [esp_mesh_event_cb, 131]:wifi get ip
I (18246) event: sta ip:, mask:, gw:

Is there a way to eliminate the error?
BR Gilberto

Re: invalid static ip

Posted: Wed Oct 10, 2018 3:56 am
by ESP_yudong
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.