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 19675b8
Showing 1 changed file with 1 addition and 0 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

0 comments on commit 19675b8

Please sign in to comment.