Skip to content

Commit

Permalink
feat(esp_netfi): add captive portal DHCPS option
Browse files Browse the repository at this point in the history
RFC 8910 provides a DHCP option to notify clients of a captive portal
prior to using the network, and is generally considered more
standards-compliant than classical DNS redirects.
  • Loading branch information
jkingsman committed Jan 18, 2024
1 parent b3f7e2c commit 48c1dac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions components/esp_netif/include/esp_netif_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ typedef enum{
ESP_NETIF_IP_REQUEST_RETRY_TIME = 52, /**< Request IP address retry counter */
ESP_NETIF_VENDOR_CLASS_IDENTIFIER = 60, /**< Vendor Class Identifier of a DHCP client */
ESP_NETIF_VENDOR_SPECIFIC_INFO = 43, /**< Vendor Specific Information of a DHCP server */
ESP_NETIF_CAPTIVE_PORTAL_URI = 114, /**< Captive Portal Identification */
} esp_netif_dhcp_option_id_t;

/** IP event declarations */
Expand Down
6 changes: 0 additions & 6 deletions tools/ci/check_public_headers_exceptions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ components/esp_rom/include/esp32s2/rom/rsa_pss.h

# LWIP: sockets.h uses #include_next<>, which doesn't work correctly with the checker
# memp_std.h is supposed to be included multiple times with different settings
components/lwip/lwip/src/include/lwip/priv/memp_std.h
components/lwip/include/lwip/sockets.h
components/lwip/lwip/src/include/lwip/prot/nd6.h

## Header produced non-zero object:
components/esp_phy/esp32/include/phy_init_data.h
Expand Down Expand Up @@ -67,13 +65,9 @@ components/json/cJSON/

components/spiffs/include/spiffs_config.h

components/unity/unity/src/unity_internals.h
components/unity/unity/extras/
components/unity/include/unity_config.h
components/unity/include/unity_test_runner.h

components/cmock/CMock/src/cmock.h
components/cmock/CMock/src/cmock_internals.h


components/openthread/openthread/
Expand Down

0 comments on commit 48c1dac

Please sign in to comment.