Types#

This section provides a reference to Network Management API data types.

Modules#

sl_ipv4_address_t

sl_ipv6_address_t

sl_ip_address_t

sl_eui48_address_t

sl_eui64_address_t

sl_net_dns_address_t

sl_net_wifi_lwip_context_t

sl_net_ipv4_setting_t

sl_net_ipv6_setting_t

sl_net_dhcp_configuration_t

sl_net_ip_configuration_t

sl_net_ip_address_t

sl_si91x_ping_response_t

sl_net_wifi_client_profile_t

sl_net_wifi_ap_profile_t

sl_net_wifi_psk_credential_entry_t

sl_net_wifi_eap_credential_entry_t

Typedefs#

Generic SL MAC address type.

Ethernet MAC address.

typedef sl_status_t(*
sl_net_event_handler_t)(sl_net_event_t event, sl_status_t status, void *data, uint32_t data_length)

Generic callback for network events.

typedef void

Abstract profile for SL Net.

Typedef Documentation#

sl_mac_address_t#

typedef sl_eui48_address_t sl_mac_address_t

Generic SL MAC address type.


Definition at line 48 of file components/common/inc/sl_ieee802_types.h

sl_ethernet_address_t#

typedef sl_eui48_address_t sl_ethernet_address_t

Ethernet MAC address.


Definition at line 51 of file components/common/inc/sl_ieee802_types.h

sl_net_event_handler_t#

sl_net_event_handler_t )(sl_net_event_t event, sl_status_t status, void *data, uint32_t data_length)

Generic callback for network events.

Parameters
N/Aevent

Network event of type sl_net_event_t.

sl_net_event_t

DataType

SL_NET_PING_RESPONSE_EVENT

sl_si91x_ping_response_t

SL_NET_DNS_RESOLVE_EVENT

sl_ip_address_t

SL_NET_OTA_FW_UPDATE_EVENT

NULL in case of success, else uint16_t chunk number in case of failure

SL_NET_DHCP_NOTIFICATION_EVENT

NULL

SL_NET_IP_ADDRESS_CHANGE_EVENT

sl_net_ip_configuration_t

SL_NET_EVENT_COUNT

Not Applicable, Internally used by SDK

N/Astatus

Status of type sl_status_t. See Status Codes and Additional Status Codes for details.

N/Adata

Data received, corresponding to the event type.

N/Adata_length

Length of the data received.

This typedef defines a callback function for handling various network events. The callback function receives the event type, status, data, and data length as parameters.

Returns


Definition at line 72 of file components/service/network_manager/inc/sl_net_types.h

sl_net_profile_t#

typedef void sl_net_profile_t

Abstract profile for SL Net.

This type represents an abstract profile in the SL Net framework.

Note

  • This type is used internally by the SL Net framework and should be cast to the appropriate profile type when used.


Definition at line 86 of file components/service/network_manager/inc/sl_net_types.h