Ping API type definitions#
Modules#
Typedefs#
typedef struct sl_wisun_ping_echo_request
Ping echo request packed structure type definitions.
typedef sl_wisun_ping_echo_request_t
Ping response type definition.
typedef struct sl_wisun_ping_info
Ping info structure type definition.
typedef struct sl_wisun_ping_stat
Statistic ping type definition.
typedef void(*
sl_wisun_ping_stat_hnd_t)(sl_wisun_ping_stat_t *stat)
Ping statistic typedef.
typedef void(*
sl_wisun_ping_req_resp_done_hnd_t)(sl_wisun_ping_info_t *req, sl_wisun_ping_info_t *resp)
Ping request/response sent handler.
Macros#
#define
SL_WISUN_PING_MAX_REQUEST_RESPONSE (128U)
Maximum count of ping request/response for message queues.
#define
SL_WISUN_PING_MIN_PACKET_LENGTH (9U)
Minimum packet length with 1 byte payload.
#define
SL_WISUN_PING_MAX_PACKET_LENGTH (SL_WISUN_PING_MIN_PACKET_LENGTH - 1 + SL_WISUN_PING_MAX_PAYLOAD_LENGTH)
Max packet length.
#define
SL_WISUN_PING_TYPE_ECHO_REQUEST (128U)
Ping echo request type field value.
#define
SL_WISUN_PING_TYPE_ECHO_RESPONSE (129U)
Ping echo response type field value.
#define
SL_WISUN_PING_CODE_ECHO_REQUEST (0U)
Ping echo request code field value.
#define
SL_WISUN_PING_CODE_ECHO_RESPONSE (0U)
Ping echo response code field value.
#define
SL_WISUN_PING_ICMP_PORT (0U)
Dedicated port for ICMPv6 echo messages.
Typedef Documentation#
sl_wisun_ping_echo_request_t#
typedef struct sl_wisun_ping_echo_request sl_wisun_ping_echo_request_t
Ping echo request packed structure type definitions.
Definition at line
100
of file /mnt/raid/workspaces/ws.XvhINl85J/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h
sl_wisun_ping_echo_response_t#
typedef sl_wisun_ping_echo_request_t sl_wisun_ping_echo_response_t
Ping response type definition.
Definition at line
104
of file /mnt/raid/workspaces/ws.XvhINl85J/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h
sl_wisun_ping_info_t#
typedef struct sl_wisun_ping_info sl_wisun_ping_info_t
Ping info structure type definition.
Definition at line
124
of file /mnt/raid/workspaces/ws.XvhINl85J/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h
sl_wisun_ping_stat_t#
typedef struct sl_wisun_ping_stat sl_wisun_ping_stat_t
Statistic ping type definition.
Definition at line
142
of file /mnt/raid/workspaces/ws.XvhINl85J/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h
sl_wisun_ping_stat_hnd_t#
typedef void(* sl_wisun_ping_stat_hnd_t) (sl_wisun_ping_stat_t *stat) )(sl_wisun_ping_stat_t *stat)
Ping statistic typedef.
Definition at line
145
of file /mnt/raid/workspaces/ws.XvhINl85J/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h
sl_wisun_ping_req_resp_done_hnd_t#
typedef void(* sl_wisun_ping_req_resp_done_hnd_t) (sl_wisun_ping_info_t *req, sl_wisun_ping_info_t *resp) )(sl_wisun_ping_info_t *req, sl_wisun_ping_info_t *resp)
Ping request/response sent handler.
Definition at line
148
of file /mnt/raid/workspaces/ws.XvhINl85J/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h