Functions#

This section provides a reference to the Ping API functions.

Functions#

sl_status_t
sl_si91x_send_ping(sl_ip_address_t ip_address, uint16_t ping_packet_size)

Send an ICMP ping request.

Function Documentation#

sl_si91x_send_ping#

sl_status_t sl_si91x_send_ping (sl_ip_address_t ip_address, uint16_t ping_packet_size)

Send an ICMP ping request.

Parameters
[in]ip_address

Destination IP address (IPv4 or IPv6) and SL IP type identified by sl_ip_address_t

[in]ping_packet_size

Size of a ping packet

  • sl_net_init should be called before this API.

Returns

Note

  • ping_packet_size valid range: [0, 300]


Definition at line 53 of file components/si91x/sl_net/protocols/icmp/sl_net_ping.h