Function esp_idf_sys::esp_netif_sntp_reachability
source · pub unsafe extern "C" fn esp_netif_sntp_reachability(
index: c_uint,
reachability: *mut c_uint,
) -> esp_err_t
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