Open marcinczeczko opened 2 years ago
Looks like it's not the logging the ip, but the logger of tcpip_adapter
that overlaps with my log entry, commeting out every ESP_LOGI after connect prints out just
I (1330) tcpip_adapter: sta ip: 192.168.10.133, mask: 255.255.255.0, gw: 192.168.10.1
Environment
Problem Description
Hi, I used the https://github.com/espressif/ESP8266_RTOS_SDK/blob/master/examples/wifi/getting_started/station example of wifi station. In general it works just fine. However, the event_handler that prints out obtain IP address shows weird results - instead of just IP it has appended also the mask and gateway piece.
The code printing it out is example as in the example project
Expected Behavior
Just obtained IP printed
Actual Behavior
Result:
Steps to repropduce
Code to reproduce this issue
See above
Debug Logs
See above
Other items if possible
build
folder (note this may contain all the code details and symbols of your project.)