Skip to content

WiFi.localIP() returns 255.255.255.255 after connect #4732

Closed
@SvenArke

Description

@SvenArke

Hardware:

Board: ESP32-WROOM-32
Core Installation version: 1.0.4 & 1.0.5 rc6
IDE name: Arduino 1.8.13

Description:

With 1.0.6 - any version i get always 255.255.255.255 as IP address from WiFi.localIP()

Code:
log_i("Connected to: ");
log_i( "%s", WiFi.SSID() );
log_i( "%s", WiFi.localIP().toString().c_str() );

Core 1.0.4 returns:
[I][Test-2020.ino:85] setup(): Connected to:
[I][Test-2020.ino:86] setup(): NET1
[I][Test-2020.ino:87] setup(): 192.168.0.169

Core 1.0.5 rc1 to rc6 returns:
[I][Test-2020.ino:85] setup(): Connected to:
[I][Test-2020.ino:86] setup(): NET1
[I][Test-2020.ino:87] setup(): 255.255.255.255

Tested all rc versions - no luck. Code runs only on 1.04 flawless. Any suggestions ?

Thank you !

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions