ESP8266 Developer Zone The Official ESP8266 Forum 2019-02-28T03:36:33+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=26207 2019-02-28T03:36:33+08:00 2019-02-28T03:36:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26207&p=38060#p38060 <![CDATA[Re: ESP_RTOS_SDK v3.1 => How to get IP address assigned to our ESP?]]>

Statistics: Posted by Guest — Thu Feb 28, 2019 3:36 am


]]>
2019-02-26T17:20:09+08:00 2019-02-26T17:20:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26207&p=38022#p38022 <![CDATA[Re: ESP_RTOS_SDK v3.1 => How to get IP address assigned to our ESP?]]> https://github.com/espressif/ESP8266_RT ... ple_wifi.c

Code:

    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;

Statistics: Posted by Her Mary — Tue Feb 26, 2019 5:20 pm


]]>
2019-02-17T08:41:14+08:00 2019-02-17T08:41:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26207&p=37688#p37688 <![CDATA[ESP_RTOS_SDK v3.1 => How to get IP address assigned to our ESP?]]>
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

Statistics: Posted by Guest — Sun Feb 17, 2019 8:41 am


]]>