How to use esp_netif_dhcpc_option?
Posted: Tue May 10, 2022 5:00 pm
I'm trying to fix several issues related to DHCP, and I'm really struggling with the scarce documentation.
Does anyone know where to find documentation for this function? The opt_val parameter is critical, but I can't find any documentation for it.
The parameters of the function are described, and I can look up what options there are in the first structs. I think I want:
Could someone please point me in the right direction? What goes into opt_val?
Does anyone know where to find documentation for this function? The opt_val parameter is critical, but I can't find any documentation for it.
Code: Select all
esp_err_t esp_netif_dhcpc_option(esp_netif_t *esp_netif, esp_netif_dhcp_option_mode_topt_op, esp_netif_dhcp_option_id_topt_id, void *opt_val, uint32_t opt_len)
Code: Select all
esp_netif_dhcps_option(netIfInstancePtr
, ESP_NETIF_OP_SET
, ESP_NETIF_DOMAIN_NAME_SERVER
, void* opt_val
, uint32_t opt_len);