esp_idf_hal::sys

Function esp_netif_sntp_reachability

Source
pub unsafe extern "C" fn esp_netif_sntp_reachability(
    index: u32,
    reachability: *mut u32,
) -> i32
Expand description

@brief Returns SNTP server’s reachability shift register as described in RFC 5905.

@param index Index of the SERVER @param reachability reachability shift register @return ESP_OK on success, ESP_ERR_INVALID_STATE if SNTP not initialized ESP_ERR_INVALID_ARG if invalid arguments