Hi,
Is there a function somewhere in the SDK (RTOS v3.1) that allow us to get the IP address assigned to our device when it is connected to the WiFi?
Thanks
ESP_RTOS_SDK v3.1 => How to get IP address assigned to our ESP?
ESP_RTOS_SDK v3.1 => How to get IP address assigned to our ESP?
Postby fmuller-pi » Sun Feb 17, 2019 8:41 am
Re: ESP_RTOS_SDK v3.1 => How to get IP address assigned to our ESP?
Postby Her Mary » Tue Feb 26, 2019 5:20 pm
https://github.com/espressif/ESP8266_RT ... ple_wifi.c
Code: Select all
case SYSTEM_EVENT_STA_GOT_IP:
ESP_LOGI(TAG, "got ip:%s",
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
xEventGroupSetBits(wifi_event_group, WIFI_CONNECTED_BIT);
break;
Re: ESP_RTOS_SDK v3.1 => How to get IP address assigned to our ESP?
Postby fmuller-pi » Thu Feb 28, 2019 3:36 am
Thanks for the reply! 

Who is online
Users browsing this forum: No registered users and 181 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.