Fix the bad address of the the AP if the settings are wrong by dumarjo · Pull Request #7363 · esp8266/Arduino

Conversation

@dumarjo

Hi,
This should fix the problem seen from time to time on our device. The default IP should be 192.168.4.1 and not 192.168.244.1

This should fix this issue: #5627

Fix the bad adress of the the AP if the settings are wrong

d-a-v

@devyte

This is a long standing bug. We don't support user reliance on a bug. Moving to 2.7.2.

@devyte

@dumarjo thanls for this. Also, shame on me, because I know I've seen that line in the past, and wondered about it.

thekurtovic

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ret = softAPConfig(0x0104A8C0, 0x00F4A8C0, 0x00FFFFFF);
should be
ret = softAPConfig(0x0104A8C0, 0x0104A8C0, 0x00FFFFFF);