Ping API type definitions#

Modules#

sl_wisun_ping_echo_request

sl_wisun_ping_info

sl_wisun_ping_stat

Typedefs#

Ping echo request packed structure type definitions.

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

Maximum count of ping request/response for message queues.

#define

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

Ping echo request type field value.

#define

Ping echo response type field value.

#define

Ping echo request code field value.

#define

Ping echo response code field value.

#define

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.Mae4JfP9d/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.Mae4JfP9d/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.Mae4JfP9d/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.Mae4JfP9d/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.Mae4JfP9d/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.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

Macro Definition Documentation#

SL_WISUN_PING_MAX_REQUEST_RESPONSE#

#define SL_WISUN_PING_MAX_REQUEST_RESPONSE
Value:
(128U)

Maximum count of ping request/response for message queues.


Definition at line 62 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

SL_WISUN_PING_MIN_PACKET_LENGTH#

#define SL_WISUN_PING_MIN_PACKET_LENGTH
Value:
(9U)

Minimum packet length with 1 byte payload.


Definition at line 65 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

SL_WISUN_PING_MAX_PACKET_LENGTH#

#define SL_WISUN_PING_MAX_PACKET_LENGTH
Value:
(SL_WISUN_PING_MIN_PACKET_LENGTH - 1 + SL_WISUN_PING_MAX_PAYLOAD_LENGTH)

Max packet length.


Definition at line 68 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

SL_WISUN_PING_TYPE_ECHO_REQUEST#

#define SL_WISUN_PING_TYPE_ECHO_REQUEST
Value:
(128U)

Ping echo request type field value.


Definition at line 71 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

SL_WISUN_PING_TYPE_ECHO_RESPONSE#

#define SL_WISUN_PING_TYPE_ECHO_RESPONSE
Value:
(129U)

Ping echo response type field value.


Definition at line 74 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

SL_WISUN_PING_CODE_ECHO_REQUEST#

#define SL_WISUN_PING_CODE_ECHO_REQUEST
Value:
(0U)

Ping echo request code field value.


Definition at line 77 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

SL_WISUN_PING_CODE_ECHO_RESPONSE#

#define SL_WISUN_PING_CODE_ECHO_RESPONSE
Value:
(0U)

Ping echo response code field value.


Definition at line 80 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h

SL_WISUN_PING_ICMP_PORT#

#define SL_WISUN_PING_ICMP_PORT
Value:
(0U)

Dedicated port for ICMPv6 echo messages.


Definition at line 83 of file /mnt/raid/workspaces/ws.Mae4JfP9d/overlay/gsdk/app/wisun/component/ping/sl_wisun_ping.h