Constants#
This section provides a reference to Network Management API constants.
Enumerations#
Enumeration of network interfaces.
Enumeration of network packet types.
Enumeration of IP address resolution methods.
Enumeration of DNS resolution IP type.
Enumeration of SL-Net Event.
SL Network profile ID.
Enumeration of network credential types.
Enumeration of network credential identifiers.
Typedefs#
Unique Certificate store Id.
Macros#
Credential Group Mask.
TLS Client Credential ID.
TLS Server Credential ID.
MQTT Server Credential ID.
MQTT Client Credential ID.
HTTP Server Credential ID.
HTTP Client Credential ID.
Enumeration Documentation#
sl_net_interface_t#
sl_net_interface_t
Enumeration of network interfaces.
Note
Only Wi-Fi client and Wi-Fi access point interfaces currently supported.
Enumerator | |
---|---|
SL_NET_WIFI_CLIENT_INTERFACE | Wi-Fi Client Interface. |
SL_NET_WIFI_AP_INTERFACE | Wi-Fi Access Point Interface. |
SL_NET_ETHERNET_INTERFACE | Ethernet Interface (not currently supported) |
SL_NET_THREAD_INTERFACE | Thread Interface (not currently supported) |
SL_NET_BLUETOOTH_INTERFACE | Bluetooth Interface (not currently supported) |
SL_NET_ZWAVE_INTERFACE | Z-Wave Interface (not currently supported) |
SL_NET_WIFI_BTR_INTERFACE | Wi-Fi Basic Transceiver Mode. |
47
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. |
84
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.
Note
Link local address resolution not currently supported.
Enumerator | |
---|---|
SL_NET_AUTOMATIC_ADDRESS_RESOLUTION | Automatic Address Resolution. |
SL_NET_STATIC_ADDRESS_RESOLUTION | Static Address Resolution. |
SL_NET_DHCP_ADDRESS_RESOLUTION | DHCP Address Resolution. |
SL_NET_LINK_LOCAL_ADDRESS_RESOLUTION | Link Local Address Resolution (not currently supported) |
100
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. |
108
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_PING_RESPONSE_EVENT | Ping Response 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. |
114
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.
Note
Ethernet, Thread and Z-Wave profiles not currently supported.
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 | Wi-Fi Client Default Profile. |
SL_NET_DEFAULT_WIFI_AP_PROFILE_ID | Wi-Fi Access Point Default Profile. |
SL_NET_DEFAULT_ETHERNET_PROFILE_ID | Ethernet Default Profile (not currently supported) |
SL_NET_DEFAULT_THREAD_PROFILE_ID | Thread Default Profile (not currently supported) |
SL_NET_DEFAULT_ZWAVE_PROFILE_ID | Zwave Default Profile (not currently supported) |
SL_NET_DEFAULT_WIFI_BTR_PROFILE_ID | Wi-Fi BTR Default Profile. |
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 | Wi-Fi PSk Credential. |
SL_NET_WIFI_PMK | Wi-Fi PMK Credential. |
SL_NET_WIFI_WEP | Wi-Fi WEP Credential. |
SL_NET_CERTIFICATE | TLS Client Certificate. |
SL_NET_PUBLIC_KEY | TLS Certificate Public key. |
SL_NET_PRIVATE_KEY | TLS Certificate Private key. |
SL_NET_SIGNING_CERTIFICATE | TLS CA Certificate. |
SL_NET_HTTP_CLIENT_CREDENTIAL | HTTP Client Credential. |
SL_NET_EAP_CLIENT_CREDENTIAL | Wi-Fi EAP Credential. |
SL_NET_MQTT_CLIENT_CREDENTIAL | MQTT Client Credential. |
145
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 | Wi-Fi Client Credential Id. |
SL_NET_DEFAULT_WIFI_AP_CREDENTIAL_ID | Wi-Fi Access Point Credential Id. |
SL_NET_WIFI_EAP_CLIENT_CREDENTIAL_ID | Wi-Fi EAP Client Credential Id. |
SL_NET_WIFI_EAP_SERVER_CREDENTIAL_ID | Wi-Fi EAP Server Credential Id. |
SL_NET_USER_CREDENTIAL_ID | User Credential Id. |
SL_NET_TLS_CLIENT_CREDENTIAL_START | TLS Client Credential Id. |
SL_NET_TLS_SERVER_CREDENTIAL_START | TLS Server Credential Id. |
SL_NET_MQTT_SERVER_CREDENTIAL_START | MQTT Server Credential Id. |
SL_NET_MQTT_CLIENT_CREDENTIAL_START | MQTT Client Credential Id. |
SL_NET_HTTP_SERVER_CREDENTIAL_START | HTTP Server Credential Id. |
SL_NET_HTTP_CLIENT_CREDENTIAL_START | HTTP Client Credential Id. |
174
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.
189
of file components/service/network_manager/inc/sl_net_constants.h
Macro Definition Documentation#
SL_NET_CREDENTIAL_GROUP_MASK#
#define SL_NET_CREDENTIAL_GROUP_MASKValue:
0xFF00
Credential Group Mask.
159
of file components/service/network_manager/inc/sl_net_constants.h
SL_NET_TLS_CLIENT_CREDENTIAL_ID#
#define SL_NET_TLS_CLIENT_CREDENTIAL_IDValue:
(x)
TLS Client Credential ID.
161
of file components/service/network_manager/inc/sl_net_constants.h
SL_NET_TLS_SERVER_CREDENTIAL_ID#
#define SL_NET_TLS_SERVER_CREDENTIAL_IDValue:
(x)
TLS Server Credential ID.
163
of file components/service/network_manager/inc/sl_net_constants.h
SL_NET_MQTT_SERVER_CREDENTIAL_ID#
#define SL_NET_MQTT_SERVER_CREDENTIAL_IDValue:
(x)
MQTT Server Credential ID.
165
of file components/service/network_manager/inc/sl_net_constants.h
SL_NET_MQTT_CLIENT_CREDENTIAL_ID#
#define SL_NET_MQTT_CLIENT_CREDENTIAL_IDValue:
(x)
MQTT Client Credential ID.
167
of file components/service/network_manager/inc/sl_net_constants.h
SL_NET_HTTP_SERVER_CREDENTIAL_ID#
#define SL_NET_HTTP_SERVER_CREDENTIAL_IDValue:
(x)
HTTP Server Credential ID.
169
of file components/service/network_manager/inc/sl_net_constants.h
SL_NET_HTTP_CLIENT_CREDENTIAL_ID#
#define SL_NET_HTTP_CLIENT_CREDENTIAL_IDValue:
(x)
HTTP Client Credential ID.
171
of file components/service/network_manager/inc/sl_net_constants.h