Function csp_ping

Source
pub unsafe extern "C" fn csp_ping(
    node: u16,
    timeout: u32,
    size: c_uint,
    opts: u8,
) -> c_int
Expand description

Send a single ping/echo packet.

@param[in] node address of subsystem. @param[in] timeout timeout in ms to wait for reply. @param[in] size payload size in bytes. @param[in] opts connection options, see @ref CSP_CONNECTION_OPTIONS. @return >=0 echo time in mS on success, otherwise -1 for error.