Constants#

This section provides a reference to Network Management API constants.

Enumerations#

enum
SL_NET_WIFI_CLIENT_INTERFACE = (1 << 3)
SL_NET_WIFI_AP_INTERFACE = (2 << 3)
SL_NET_ETHERNET_INTERFACE = (3 << 3)
SL_NET_THREAD_INTERFACE = (4 << 3)
SL_NET_BLUETOOTH_INTERFACE = (5 << 3)
SL_NET_ZWAVE_INTERFACE = (6 << 3)
}

Enumeration of network interfaces.

enum
SL_NET_UDP_PACKET
SL_NET_TCP_PACKET
SL_NET_ETHERNET_PACKET
SL_NET_TLS_PACKET
SL_NET_DTLS_PACKET
SL_NET_THREAD_PACKET
SL_NET_BLUETOOTH_PACKET
SL_NET_ZWAVE_PACKET
SL_NET_ZIGBEE_PACKET
SL_NET_6LOWPAN_PACKET
SL_NET_RAW_PACKET
}

Enumeration of network packet types.

enum
SL_NET_AUTOMATIC_ADDRESS_RESOLUTION
SL_NET_STATIC_ADDRESS_RESOLUTION
SL_NET_DHCP_ADDRESS_RESOLUTION = SL_NET_AUTOMATIC_ADDRESS_RESOLUTION
SL_NET_LINK_LOCAL_ADDRESS_RESOLUTION
}

Enumeration of IP address resolution methods.

enum
SL_NET_DNS_TYPE_IPV4
SL_NET_DNS_TYPE_IPV6
}

Enumeration of DNS resolution IP type.

enum
SL_NET_INTERFACE_UP_EVENT
SL_NET_INTERFACE_DOWN_EVENT
SL_NET_IP_UP_EVENT
SL_NET_IP_DOWN_EVENT
SL_NET_IP_EXPIRED_EVENT
SL_NET_PING_RESPONSE_EVENT
SL_NET_WIFI_CLIENT_CONNECTED_EVENT
SL_NET_WIFI_CLIENT_DISCONNECTED_EVENT
SL_NET_DNS_RESOLVE_EVENT
SL_NET_OTA_FW_UPDATE_EVENT
SL_NET_EVENT_COUNT
}

Enumeration of SL-Net Event.

enum
SL_NET_PROFILE_ID_0 = 0
SL_NET_PROFILE_ID_1 = 1
SL_NET_PROFILE_ID_2 = 2
SL_NET_PROFILE_ID_3 = 3
SL_NET_PROFILE_ID_4 = 4
SL_NET_PROFILE_ID_5 = 5
SL_NET_PROFILE_ID_6 = 6
SL_NET_PROFILE_ID_7 = 7
SL_NET_PROFILE_ID_8 = 8
SL_NET_PROFILE_ID_9 = 9
SL_NET_PROFILE_ID_10 = 10
SL_NET_DEFAULT_WIFI_CLIENT_PROFILE_ID = SL_NET_PROFILE_ID_0
SL_NET_DEFAULT_WIFI_AP_PROFILE_ID = SL_NET_PROFILE_ID_0
SL_NET_DEFAULT_ETHERNET_PROFILE_ID = SL_NET_PROFILE_ID_0
SL_NET_DEFAULT_THREAD_PROFILE_ID = SL_NET_PROFILE_ID_0
SL_NET_DEFAULT_ZWAVE_PROFILE_ID = SL_NET_PROFILE_ID_0
}

SL Network profile ID.

enum
SL_NET_INVALID_CREDENTIAL_TYPE
SL_NET_WIFI_PSK
SL_NET_WIFI_PMK
SL_NET_WIFI_WEP
SL_NET_WIFI_EAP
SL_NET_WIFI_PEAP
SL_NET_MQTT_CLIENT_CREDENTIALS
SL_NET_HTTP_CLIENT_CREDENTIALS
SL_NET_TLS_SERVER_CERTIFICATE
SL_NET_TLS_SERVER_KEY
SL_NET_TLS_CLIENT_CERTIFICATE
SL_NET_TLS_CLIENT_KEY
SL_NET_TLS_ROOT_CERTIFICATE
}

Enumeration of network credential types.

enum
SL_NET_INVALID_CREDENTIAL_ID = 0
SL_NET_DEFAULT_WIFI_CLIENT_CREDENTIAL_ID
SL_NET_DEFAULT_WIFI_AP_CREDENTIAL_ID
SL_NET_MQTT_SERVER_CERTIFICATE_ID
SL_NET_MQTT_SERVER_KEY_ID
SL_NET_MQTT_CLIENT_CREDENTIALS_ID
SL_NET_HTTP_CLIENT_CREDENTIAL_ID
SL_NET_DEFAULT_PMK_CREDENTIAL_ID
SL_NET_USER_CREDENTIAL_ID = (int)(1u << 7)
}

Enumeration of network credential identifiers.

Typedefs#

typedef uint32_t

Unique Certificate store Id.

Enumeration Documentation#

sl_net_interface_t#

sl_net_interface_t

Enumeration of network interfaces.

Enumerator
SL_NET_WIFI_CLIENT_INTERFACE

WiFi Client Interface.

SL_NET_WIFI_AP_INTERFACE

WiFi Access Point Interface.

SL_NET_ETHERNET_INTERFACE

Ethernet Interface.

SL_NET_THREAD_INTERFACE

Thread Interface.

SL_NET_BLUETOOTH_INTERFACE

Bluetooth Interface.

SL_NET_ZWAVE_INTERFACE

Z-Wave Interface.


Definition at line 46 of file components/service/network_manager/inc/sl_net_constants.h

sl_net_packet_type_t#

sl_net_packet_type_t

Enumeration of network packet types.

Enumerator
SL_NET_UDP_PACKET
SL_NET_TCP_PACKET

UDP Packet.

SL_NET_ETHERNET_PACKET

TCP Packet.

SL_NET_TLS_PACKET

Ethernet Packet.

SL_NET_DTLS_PACKET

TLS Packet.

SL_NET_THREAD_PACKET

DTLS Packet.

SL_NET_BLUETOOTH_PACKET

Thread Packet.

SL_NET_ZWAVE_PACKET

Bluetooth Packet.

SL_NET_ZIGBEE_PACKET

Zwave Packet.

SL_NET_6LOWPAN_PACKET

Zigbee Packet.

SL_NET_RAW_PACKET

LOWPAN Packet.


Definition at line 79 of file components/service/network_manager/inc/sl_net_constants.h

sl_net_address_resolution_t#

sl_net_address_resolution_t

Enumeration of IP address resolution methods.

Enumerator
SL_NET_AUTOMATIC_ADDRESS_RESOLUTION
SL_NET_STATIC_ADDRESS_RESOLUTION
SL_NET_DHCP_ADDRESS_RESOLUTION
SL_NET_LINK_LOCAL_ADDRESS_RESOLUTION

Definition at line 94 of file components/service/network_manager/inc/sl_net_constants.h

sl_net_dns_resolution_ip_type_t#

sl_net_dns_resolution_ip_type_t

Enumeration of DNS resolution IP type.

Enumerator
SL_NET_DNS_TYPE_IPV4

IPV4 DNS Address resolution.

SL_NET_DNS_TYPE_IPV6

IPV6 DNS Address resolution.


Definition at line 102 of file components/service/network_manager/inc/sl_net_constants.h

sl_net_event_t#

sl_net_event_t

Enumeration of SL-Net Event.

Enumerator
SL_NET_INTERFACE_UP_EVENT

Interface Up Event.

SL_NET_INTERFACE_DOWN_EVENT

Interface Down Event.

SL_NET_IP_UP_EVENT

IP Up Event.

SL_NET_IP_DOWN_EVENT

IP Down Event.

SL_NET_IP_EXPIRED_EVENT

IP Expired Event.

SL_NET_PING_RESPONSE_EVENT

Ping Response Event.

SL_NET_WIFI_CLIENT_CONNECTED_EVENT

Client Connected Event.

SL_NET_WIFI_CLIENT_DISCONNECTED_EVENT

Client Disconnected Event.

SL_NET_DNS_RESOLVE_EVENT

DNS Address resolution Event.

SL_NET_OTA_FW_UPDATE_EVENT

OTA Firmware Update Event.

SL_NET_EVENT_COUNT

Maximum event count.


Definition at line 108 of file components/service/network_manager/inc/sl_net_constants.h

sl_net_profile_id_t#

sl_net_profile_id_t

SL Network profile ID.

Enumerator
SL_NET_PROFILE_ID_0

Profile Id 0.

SL_NET_PROFILE_ID_1

Profile Id 1.

SL_NET_PROFILE_ID_2

Profile Id 2.

SL_NET_PROFILE_ID_3

Profile Id 3.

SL_NET_PROFILE_ID_4

Profile Id 4.

SL_NET_PROFILE_ID_5

Profile Id 5.

SL_NET_PROFILE_ID_6

Profile Id 6.

SL_NET_PROFILE_ID_7

Profile Id 7.

SL_NET_PROFILE_ID_8

Profile Id 8.

SL_NET_PROFILE_ID_9

Profile Id 9.

SL_NET_PROFILE_ID_10

Profile Id 10.

SL_NET_DEFAULT_WIFI_CLIENT_PROFILE_ID

WiFi Client Default Profile.

SL_NET_DEFAULT_WIFI_AP_PROFILE_ID

WiFi Access Point Default Profile.

SL_NET_DEFAULT_ETHERNET_PROFILE_ID

Ethernet Default Profile.

SL_NET_DEFAULT_THREAD_PROFILE_ID

Thread Default Profile.

SL_NET_DEFAULT_ZWAVE_PROFILE_ID

Zwave Default Profile.


Definition at line 123 of file components/service/network_manager/inc/sl_net_constants.h

sl_net_credential_type_t#

sl_net_credential_type_t

Enumeration of network credential types.

Enumerator
SL_NET_INVALID_CREDENTIAL_TYPE

Invalid Credential Type.

SL_NET_WIFI_PSK

WiFi PSk Credential.

SL_NET_WIFI_PMK

WiFi PMK Credential.

SL_NET_WIFI_WEP

WiFi WEP Credential.

SL_NET_WIFI_EAP

WiFi EAP Credential.

SL_NET_WIFI_PEAP

WiFi PEAP Credential.

SL_NET_MQTT_CLIENT_CREDENTIALS

MQTT Client Credential.

SL_NET_HTTP_CLIENT_CREDENTIALS

HTTP Client Credential.

SL_NET_TLS_SERVER_CERTIFICATE

TLS Server Certificate.

SL_NET_TLS_SERVER_KEY

TLS Server Key.

SL_NET_TLS_CLIENT_CERTIFICATE

TLS Client Certificate.

SL_NET_TLS_CLIENT_KEY

TLS Client Key.

SL_NET_TLS_ROOT_CERTIFICATE

TLS Root Certificate.


Definition at line 144 of file components/service/network_manager/inc/sl_net_constants.h

sl_net_credential_id_t#

sl_net_credential_id_t

Enumeration of network credential identifiers.

Enumerator
SL_NET_INVALID_CREDENTIAL_ID

Invalid Credential Id.

SL_NET_DEFAULT_WIFI_CLIENT_CREDENTIAL_ID

WiFi Client Credential Id.

SL_NET_DEFAULT_WIFI_AP_CREDENTIAL_ID

WiFi Access Point Credential Id.

SL_NET_MQTT_SERVER_CERTIFICATE_ID

MQTT Server Certificate Id.

SL_NET_MQTT_SERVER_KEY_ID

MQTT Server Key Id.

SL_NET_MQTT_CLIENT_CREDENTIALS_ID

MQTT Client Credential Id.

SL_NET_HTTP_CLIENT_CREDENTIAL_ID

HTTP Client Credential Id.

SL_NET_DEFAULT_PMK_CREDENTIAL_ID

Default PMK Credential Id.

SL_NET_USER_CREDENTIAL_ID

User Credential Id.


Definition at line 161 of file components/service/network_manager/inc/sl_net_constants.h

Typedef Documentation#

sl_net_certificate_id_t#

typedef uint32_t sl_net_certificate_id_t

Unique Certificate store Id.


Definition at line 173 of file components/service/network_manager/inc/sl_net_constants.h