Wi-SUN event definitions.

This structure contains a Wi-SUN API event and its associated data.

Public Attributes#

Common event header.

union sl_wisun_evt_t::@0

Event-specific data.

Public Attribute Documentation#

header#

sl_wisun_msg_header_t sl_wisun_evt_t::header

Common event header.

This structure contains common information for all events. ID of the event is stored in the sl_wisun_msg_header_t.id field and is one of the values of sl_wisun_msg_ind_id_t. The other fields can be ignored.


Definition at line 414 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

connected#

sl_wisun_msg_connected_ind_body_t sl_wisun_evt_t::connected

SL_WISUN_MSG_CONNECTED_IND_ID event data


Definition at line 419 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

socket_data#

sl_wisun_msg_socket_data_ind_body_t sl_wisun_evt_t::socket_data

SL_WISUN_MSG_SOCKET_DATA_IND_ID event data


Definition at line 421 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

socket_data_available#

sl_wisun_msg_socket_data_available_ind_body_t sl_wisun_evt_t::socket_data_available

SL_WISUN_MSG_SOCKET_DATA_AVAILABLE_IND_ID event data


Definition at line 423 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

socket_connected#

sl_wisun_msg_socket_connected_ind_body_t sl_wisun_evt_t::socket_connected

SL_WISUN_MSG_SOCKET_CONNECTED_IND_ID event data


Definition at line 425 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

socket_connection_available#

sl_wisun_msg_socket_connection_available_ind_body_t sl_wisun_evt_t::socket_connection_available

SL_WISUN_MSG_SOCKET_CONNECTION_AVAILABLE_IND_ID event data


Definition at line 427 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

socket_closing#

sl_wisun_msg_socket_closing_ind_body_t sl_wisun_evt_t::socket_closing

SL_WISUN_MSG_SOCKET_CLOSING_IND_ID event data


Definition at line 429 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

disconnected#

sl_wisun_msg_disconnected_ind_body_t sl_wisun_evt_t::disconnected

SL_WISUN_MSG_DISCONNECTED_IND_ID event data


Definition at line 431 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

connection_lost#

sl_wisun_msg_connection_lost_ind_body_t sl_wisun_evt_t::connection_lost

SL_WISUN_MSG_CONNECTION_LOST_IND_ID event data


Definition at line 433 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

socket_data_sent#

sl_wisun_msg_socket_data_sent_ind_body_t sl_wisun_evt_t::socket_data_sent

SL_WISUN_MSG_SOCKET_DATA_SENT_IND_ID event data


Definition at line 435 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

error#

sl_wisun_msg_error_ind_body_t sl_wisun_evt_t::error

SL_WISUN_MSG_ERROR_IND_ID event data


Definition at line 437 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

join_state#

sl_wisun_msg_join_state_ind_body_t sl_wisun_evt_t::join_state

SL_WISUN_MSG_JOIN_STATE_IND_ID event data


Definition at line 439 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

network_update#

sl_wisun_msg_network_update_ind_body_t sl_wisun_evt_t::network_update

SL_WISUN_MSG_NETWORK_UPDATE_IND_ID event data


Definition at line 441 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h

evt#

union sl_wisun_evt_t::@0 sl_wisun_evt_t::evt

Event-specific data.

This structure contains the event-specific data.


Definition at line 442 of file /mnt/raid/workspaces/ws.zJeaRLJo0/overlay/super/protocol/wisun/wisun/inc/sl_wisun_events.h