Function esp_idf_svc::hal::sys::esp_netif_dhcps_get_clients_by_mac
source ยท pub unsafe extern "C" fn esp_netif_dhcps_get_clients_by_mac(
esp_netif: *mut esp_netif_obj,
num: i32,
mac_ip_pair: *mut esp_netif_pair_mac_ip_t,
) -> i32
Expand description
@brief Populate IP addresses of clients connected to DHCP server listed by their MAC addresses
@param[in] esp_netif Handle to esp-netif instance @param[in] num Number of clients with specified MAC addresses in the array of pairs @param[in,out] mac_ip_pair Array of pairs of MAC and IP addresses (MAC are inputs, IP outputs) @return - ESP_OK on success - ESP_ERR_ESP_NETIF_INVALID_PARAMS on invalid params - ESP_ERR_NOT_SUPPORTED if DHCP server not enabled