kopia lustrzana https://github.com/micropython/micropython
Merge 367e100ff7
into d11ca092f7
commit
24c2b9a22b
|
@ -56,6 +56,9 @@ CONFIG_LWIP_PPP_SUPPORT=y
|
||||||
CONFIG_LWIP_PPP_PAP_SUPPORT=y
|
CONFIG_LWIP_PPP_PAP_SUPPORT=y
|
||||||
CONFIG_LWIP_PPP_CHAP_SUPPORT=y
|
CONFIG_LWIP_PPP_CHAP_SUPPORT=y
|
||||||
|
|
||||||
|
# IPV6
|
||||||
|
CONFIG_LWIP_IPV6_AUTOCONFIG=y
|
||||||
|
|
||||||
# SSL
|
# SSL
|
||||||
# Use 4kiB output buffer instead of default 16kiB
|
# Use 4kiB output buffer instead of default 16kiB
|
||||||
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
|
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
|
||||||
|
|
|
@ -180,6 +180,9 @@ static void network_wlan_ip_event_handler(void *event_handler_arg, esp_event_bas
|
||||||
ESP_LOGI("network", "GOT_IP");
|
ESP_LOGI("network", "GOT_IP");
|
||||||
wifi_sta_connected = true;
|
wifi_sta_connected = true;
|
||||||
wifi_sta_disconn_reason = 0; // Success so clear error. (in case of new error will be replaced anyway)
|
wifi_sta_disconn_reason = 0; // Success so clear error. (in case of new error will be replaced anyway)
|
||||||
|
ip_event_got_ip_t *event = (ip_event_got_ip_t *)event_data;
|
||||||
|
esp_netif_create_ip6_linklocal(event->esp_netif);
|
||||||
|
|
||||||
#if MICROPY_HW_ENABLE_MDNS_QUERIES || MICROPY_HW_ENABLE_MDNS_RESPONDER
|
#if MICROPY_HW_ENABLE_MDNS_QUERIES || MICROPY_HW_ENABLE_MDNS_RESPONDER
|
||||||
if (!mdns_initialised) {
|
if (!mdns_initialised) {
|
||||||
mdns_init();
|
mdns_init();
|
||||||
|
|
Ładowanie…
Reference in New Issue