a bunch of callback functions invoked by internal ping task
hdl_out
handle of ping session
Return value
- ESP_ERR_INVALID_ARG: invalid parameters (e.g. configuration is null, etc) - ESP_ERR_NO_MEM: out of memory - ESP_FAIL: other internal error (e.g. socket error) - ESP_OK: create ping session successfully, user can take the ping handle to do follow-on jobs
Examples
esp_ping_new_session() is referenced by 4 libraries and example projects: