Function esp_idf_svc::sys::esp_wifi_ftm_resp_set_offset

source ยท
pub unsafe extern "C" fn esp_wifi_ftm_resp_set_offset(
    offset_cm: i16,
) -> i32
Expand description

@brief Set offset in cm for FTM Responder. An equivalent offset is calculated in picoseconds and added in TOD of FTM Measurement frame (T1).

@attention Use this API only in AP mode before performing FTM as responder

@param offset_cm T1 Offset to be added in centimeters

@return

  • ESP_OK: succeed
  • others: failed