mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
Merge 30ff99bd8b9baf8f9f4ff057f43d408cb7de760c into 83e8f70ee4f7ddb6b874bdb81a1f75ceeeba58e4
This commit is contained in:
commit
e45ba8481c
@ -22,6 +22,9 @@ To create a ping session, you need to fill in the ``esp_ping_config_t`` configur
|
|||||||
Example method to create a new ping session and register callbacks:
|
Example method to create a new ping session and register callbacks:
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
|
||||||
static void test_on_ping_success(esp_ping_handle_t hdl, void *args)
|
static void test_on_ping_success(esp_ping_handle_t hdl, void *args)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user