Please refer to the document “WIP_Open_AT_IP_Connectivity_Development_Guide.pdf”, for the API definitions, variables and structures related to Ping. Find below a code snippet on how to use the APIs for your reference.
How do I use the following code to request the response_time and timeout together with the WORKING PING CODE below?
struct wip_event_content_ping_t {
int packet_idx; /* Index of the paquet in the sent equence */
u32 response_time; /* Time taken by the echo to come back, in ms. */
bool timeout; /* Did the echo take too long to come bakc?
* if timeout is true, response_time is meaningless
* (and set to 0). */
} ping;