Function esp_idf_svc::sys::protocomm_new

source ยท
pub unsafe extern "C" fn protocomm_new() -> *mut protocomm
Expand description

@brief Create a new protocomm instance

This API will return a new dynamically allocated protocomm instance with all elements of the protocomm_t structure initialized to NULL.

@return

  • protocomm_t* : On success
  • NULL : No memory for allocating new instance