Function esp_idf_sys::esp_mesh_set_ie_crypto_key

source ยท
pub unsafe extern "C" fn esp_mesh_set_ie_crypto_key(
    key: *const c_char,
    len: c_int,
) -> esp_err_t
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