Function esp_idf_hal::sys::esp_mesh_set_ie_crypto_key

source ยท
pub unsafe extern "C" fn esp_mesh_set_ie_crypto_key(
    key: *const i8,
    len: i32,
) -> i32
Expand description

@brief Set mesh IE crypto key

@attention This API can be called at any time after mesh is initialized.

@param[in] key ASCII crypto key @param[in] len length in bytes, range:8~64

@return

  • ESP_OK
  • ESP_MESH_ERR_ARGUMENT