Wi-SUN API type definitions#
Modules#
sl_wisun_br_connection_params_t
sl_wisun_br_params_configuration_s
sl_wisun_br_params_discovery_s
sl_wisun_br_params_lfn_parent_s
sl_wisun_key_lifetimes_params_t
sl_wisun_lfn_params_connection_t
sl_wisun_lfn_params_data_layer_t
sl_wisun_params_configuration_s
sl_wisun_phy_config_custom_fsk_t
sl_wisun_phy_config_custom_ofdm_t
sl_wisun_phy_config_custom_oqpsk_t
sl_wisun_phy_config_explicit_t
sl_wisun_socket_option_edfe_mode_t
sl_wisun_socket_option_event_mode_t
sl_wisun_socket_option_multicast_group_t
sl_wisun_socket_option_multicast_hop_limit
sl_wisun_socket_option_send_buffer_limit_t
sl_wisun_socket_option_unicast_hop_limit
sl_wisun_statistics_arib_regulation_t
sl_wisun_statistics_regulation_t
Predefined BR LFN-parenting parameter sets
Enumerations#
Enumeration for Direct Connect Link status.
Border Router state.
Enumerations for certificate options.
Enumeration for channel exlusion modes.
Enumeration for channel mask types.
Enumerations for channel spacing.
Enumeration for CRC type.
Enumerations for device type.
Enumeration for FAN versions to which the node is certified.
Enumeration for types of frame that can be triggered.
Enumerations for IP address type.
Enumerations for join state.
Enumeration for LFN configuration profile.
Enumeration for Mode Switch mode.
Enumerations for multicast group action.
Enumeration for RPL neighbor types.
Enumerations for network size.
Enumerations for network update flags.
Enumerations for operating class.
Enumerations for operating mode.
Enumerations for PHY config type.
Enumerations for private key options.
Enumerations for regional regulation.
Enumeration for regional regulation transmission level.
Enumerations for regulatory domain.
Enumerations for socket option Deprecated since v2.0 MUST NOT be used with POSIX socket API.
Enumerations for socket protocol Deprecated since v2.0 MUST NOT be used with POSIX socket API.
Enumerations for statistics type.
Enumeration for trace group.
Enumerations for trace level.
Typedefs#
PAN configuration parameter set.
PAN configuration parameter set.
DHCP server parameter set.
DHCP server parameter set.
PAN discovery parameter set.
PAN discovery parameter set.
Authentication parameter set.
Authentication parameter set.
LFN parent parameter set.
LFN parent parameter set.
Misc parameter set.
Misc parameter set.
MPL parameter set.
MPL parameter set.
RPL parameter set.
RPL parameter set.
IPv6 address structure.
Handler called for an IPv6 packet from Wi-SUN network.
PAN configuration parameter set.
PAN configuration parameter set.
PAN discovery parameter set.
PAN discovery parameter set.
Authentication parameter set.
Authentication parameter set.
LFN parent parameter set.
LFN parent parameter set.
Misc parameter set.
Misc parameter set.
MPL parameter set.
MPL parameter set.
RPL parameter set.
RPL parameter set.
Variables#
Broadcast MAC address.
Macros#
Maximum fragment duration. Disables advert fragmentation.
Size of a channel mask.
Channel spacing 100 kHz for backward compatibility.
Channel spacing 200 kHz for backward compatibility.
Channel spacing 400 kHz for backward compatibility.
Channel spacing 600 kHz for backward compatibility.
Size of the filter bitfield.
Length of a GAK in bytes.
Length of a GTK in bytes.
Number of GTKs returned by sl_wisun_get_gtks()
Number of LGTKs returned by sl_wisun_get_gtks()
Size of a MAC address.
Maximum number of PhyModeId allowed in POM-IE.
Maximum size of the Wi-SUN network name.
Length of a PMK in bytes.
Thread identifier "Wi-SUN Event Loop Task".
Thread identifier "Wi-SUN Event Task".
Thread identifier "Wi-SUN RF Task".
Thread identifier "Wi-SUN Task".
Enumeration Documentation#
sl_direct_connect_link_status_t#
sl_direct_connect_link_status_t
Enumeration for Direct Connect Link status.
Enumerator | |
---|---|
SL_WISUN_DIRECT_CONNECT_LINK_STATUS_CONNECTED | Direct Connect Link connected. |
SL_WISUN_DIRECT_CONNECT_LINK_STATUS_ERROR | Direct Connect Link error. |
SL_WISUN_DIRECT_CONNECT_LINK_STATUS_DISCONNECTED | Direct Connect Link disconnected. |
1105
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_br_state_t#
sl_wisun_br_state_t
Border Router state.
Enumerator | |
---|---|
SL_WISUN_BR_STATE_INITIALIZED | Border Router is initialized. |
SL_WISUN_BR_STATE_OPERATIONAL | Border Router is started. |
1115
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_certificate_option_t#
sl_wisun_certificate_option_t
Enumerations for certificate options.
Enumerator | |
---|---|
SL_WISUN_CERTIFICATE_OPTION_NONE | Empty option. |
SL_WISUN_CERTIFICATE_OPTION_APPEND | Certificate is appended to a chain. |
SL_WISUN_CERTIFICATE_OPTION_IS_REF | Certificate data will remain in scope. |
SL_WISUN_CERTIFICATE_OPTION_HAS_KEY | Certificate has a private key. |
108
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_channel_exclusion_mode_t#
sl_wisun_channel_exclusion_mode_t
Enumeration for channel exlusion modes.
Enumerator | |
---|---|
SL_WISUN_CHANNEL_EXCLUSION_MODE_BY_RANGE | Channels are excluded by range if possible (3 ranges maximum), otherwise channels will be excluded by mask. |
SL_WISUN_CHANNEL_EXCLUSION_MODE_BY_MASK | Channels are excluded by mask. |
995
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_channel_mask_type_t#
sl_wisun_channel_mask_type_t
Enumeration for channel mask types.
Enumerator | |
---|---|
SL_WISUN_CHANNEL_MASK_TYPE_REGULATORY | Regulatory excluded channel mask (not advertised) |
SL_WISUN_CHANNEL_MASK_TYPE_REGIONAL | Regional excluded channel mask (not advertised) |
SL_WISUN_CHANNEL_MASK_TYPE_ADVERTISED_UNICAST | Excluded channel mask advertised in us-ie. |
SL_WISUN_CHANNEL_MASK_TYPE_ADVERTISED_BROADCAST | Excluded channel mask advertised in bs-ie. |
SL_WISUN_CHANNEL_MASK_TYPE_EFFECTIVE_ASYNC | Excluded channel mask applied to async frames. |
SL_WISUN_CHANNEL_MASK_TYPE_EFFECTIVE_UNICAST | Excluded channel mask applied to unicast frequency hopping. |
SL_WISUN_CHANNEL_MASK_TYPE_EFFECTIVE_BROADCAST | Excluded channel mask applied to broadcast frequency hopping. |
1087
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_channel_spacing_t#
sl_wisun_channel_spacing_t
Enumerations for channel spacing.
Enumerator | |
---|---|
SL_WISUN_CHANNEL_SPACING_100KHZ | 100 kHz |
SL_WISUN_CHANNEL_SPACING_200KHZ | 200 kHz |
SL_WISUN_CHANNEL_SPACING_400KHZ | 400 kHz |
SL_WISUN_CHANNEL_SPACING_600KHZ | 600 kHz |
SL_WISUN_CHANNEL_SPACING_250KHZ | 250 kHz |
SL_WISUN_CHANNEL_SPACING_800KHZ | 800 kHz |
SL_WISUN_CHANNEL_SPACING_1200KHZ | 1200 kHz |
230
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_crc_type_t#
sl_wisun_crc_type_t
Enumeration for CRC type.
Enumerator | |
---|---|
SL_WISUN_NO_CRC | No CRC (OFDM and OQPSK only) |
SL_WISUN_2_BYTES_CRC | 2 bytes CRC |
SL_WISUN_4_BYTES_CRC | 4 bytes CRC |
324
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_device_type_t#
sl_wisun_device_type_t
Enumerations for device type.
Enumerator | |
---|---|
SL_WISUN_ROUTER | FFN Router. |
SL_WISUN_LFN | LFN Router (experimental, for evaluation purposes only) |
SL_WISUN_BORDER_ROUTER | Border Router. |
68
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_fan_version_t#
sl_wisun_fan_version_t
Enumeration for FAN versions to which the node is certified.
Enumerator | |
---|---|
SL_WISUN_FAN_VERSION_DEFAULT | Keep node's default FAN TPS version. |
SL_WISUN_FAN_VERSION_1_0 | FAN 1.0 certified node. |
SL_WISUN_FAN_VERSION_1_1 | FAN 1.1 certified node. |
1004
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_frame_type_t#
sl_wisun_frame_type_t
Enumeration for types of frame that can be triggered.
Enumerator | |
---|---|
SL_WISUN_FRAME_TYPE_PAS | PAN Advertisement Solicit. |
SL_WISUN_FRAME_TYPE_PA | PAN Advertisement. |
SL_WISUN_FRAME_TYPE_PCS | PAN Configuration Solicit. |
SL_WISUN_FRAME_TYPE_PC | PAN Configuration. |
SL_WISUN_FRAME_TYPE_DIS | DODAG Information Solicitation. |
SL_WISUN_FRAME_TYPE_DIO | DODAG Information Object. |
1014
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_ip_address_type_t#
sl_wisun_ip_address_type_t
Enumerations for IP address type.
Enumerator | |
---|---|
SL_WISUN_IP_ADDRESS_TYPE_LINK_LOCAL | Device link-local address. |
SL_WISUN_IP_ADDRESS_TYPE_GLOBAL | Device global unicast address. |
SL_WISUN_IP_ADDRESS_TYPE_BORDER_ROUTER | Border router global unicast address. |
SL_WISUN_IP_ADDRESS_TYPE_PRIMARY_PARENT | Link-local address of the primary parent. |
SL_WISUN_IP_ADDRESS_TYPE_SECONDARY_PARENT | Link-local address of the secondary parent. |
94
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_join_state_t#
sl_wisun_join_state_t
Enumerations for join state.
Enumerator | |
---|---|
SL_WISUN_JOIN_STATE_DISCONNECTED | Join state 0: Disconnected. |
SL_WISUN_JOIN_STATE_SELECT_PAN | Join state 1: Select PAN. |
SL_WISUN_JOIN_STATE_AUTHENTICATE | Join state 2: Authenticate. |
SL_WISUN_JOIN_STATE_ACQUIRE_PAN_CONFIG | Join state 3: Acquire PAN config. |
SL_WISUN_JOIN_STATE_CONFIGURE_ROUTING | Join state 4: Configure routing. |
SL_WISUN_JOIN_STATE_OPERATIONAL | Join state 5: Operational. |
SL_WISUN_JOIN_STATE_DISCONNECTING | Disconnecting. |
SL_WISUN_JOIN_STATE_PARENT_SELECT | Join state 4: Preferred parent selection. |
SL_WISUN_JOIN_STATE_DHCP | Join state 4: DHCP address acquisition. |
SL_WISUN_JOIN_STATE_EARO | Join state 4: Address registration. |
SL_WISUN_JOIN_STATE_DAO | Join state 4: DAO registration. |
260
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_lfn_profile_t#
sl_wisun_lfn_profile_t
Enumeration for LFN configuration profile.
Enumerator | |
---|---|
SL_WISUN_LFN_PROFILE_TEST | Profile for test usage, best performance but highest power consumption. |
SL_WISUN_LFN_PROFILE_BALANCED | Profile providing balance between power consumption and performance. |
SL_WISUN_LFN_PROFILE_ECO | Profile optimized for low power consumption. |
314
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_mode_switch_mode_t#
sl_wisun_mode_switch_mode_t
Enumeration for Mode Switch mode.
Enumerator | |
---|---|
SL_WISUN_MODE_SWITCH_DISABLED | Mode switch is not allowed. |
SL_WISUN_MODE_SWITCH_ENABLED | Mode switch is allowed for all unicast data frames. Specified PhyModeId is used. |
SL_WISUN_MODE_SWITCH_DEFAULT | Mode switch is allowed for all unicast data frames. Default PhyModeId is used. |
971
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_multicast_group_action_t#
sl_wisun_multicast_group_action_t
Enumerations for multicast group action.
Enumerator | |
---|---|
SL_WISUN_MULTICAST_GROUP_ACTION_JOIN | Join a multicast group. |
SL_WISUN_MULTICAST_GROUP_ACTION_LEAVE | Leave a multicast group. |
222
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_neighbor_type_t#
sl_wisun_neighbor_type_t
Enumeration for RPL neighbor types.
Enumerator | |
---|---|
SL_WISUN_NEIGHBOR_TYPE_PRIMARY_PARENT | Primary parent. |
SL_WISUN_NEIGHBOR_TYPE_SECONDARY_PARENT | Secondary parent. |
SL_WISUN_NEIGHBOR_TYPE_CHILD | Child. |
780
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_network_size_t#
sl_wisun_network_size_t
Enumerations for network size.
Enumerator | |
---|---|
SL_WISUN_NETWORK_SIZE_AUTOMATIC | Determine the size from PAN advertisements. |
SL_WISUN_NETWORK_SIZE_SMALL | Small size (less than 100 nodes) |
SL_WISUN_NETWORK_SIZE_MEDIUM | Medium size (100 to 800 nodes) |
SL_WISUN_NETWORK_SIZE_LARGE | Large size (800 to 1500 nodes) |
SL_WISUN_NETWORK_SIZE_TEST | Test network (a few nodes) |
SL_WISUN_NETWORK_SIZE_CERTIFICATION | Certification configuration. |
78
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_network_update_flags_t#
sl_wisun_network_update_flags_t
Enumerations for network update flags.
Enumerator | |
---|---|
SL_WISUN_NETWORK_UPDATE_FLAGS_GLOBAL_IP | Global IP modification flag bit. |
SL_WISUN_NETWORK_UPDATE_FLAGS_PRIMARY_PARENT | Primary Parent modification flag bit. |
SL_WISUN_NETWORK_UPDATE_FLAGS_SECONDARY_PARENT | Secondary parent modification flag bit. |
286
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_operating_class_t#
sl_wisun_operating_class_t
Enumerations for operating class.
Enumerator | |
---|---|
SL_WISUN_OPERATING_CLASS_1 | Operating class# 1. |
SL_WISUN_OPERATING_CLASS_2 | Operating class# 2. |
SL_WISUN_OPERATING_CLASS_3 | Operating class# 3. |
SL_WISUN_OPERATING_CLASS_4 | Operating class# 4. |
SL_WISUN_OPERATING_CLASS_5 | Operating class# 5. |
SL_WISUN_OPERATING_CLASS_APP | Application-specific class. |
186
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_operating_mode_t#
sl_wisun_operating_mode_t
Enumerations for operating mode.
Enumerator | |
---|---|
SL_WISUN_OPERATING_MODE_1A | Operating mode# 1a. |
SL_WISUN_OPERATING_MODE_1B | Operating mode# 1b. |
SL_WISUN_OPERATING_MODE_2A | Operating mode# 2a. |
SL_WISUN_OPERATING_MODE_2B | Operating mode# 2b. |
SL_WISUN_OPERATING_MODE_3 | Operating mode# 3. |
SL_WISUN_OPERATING_MODE_4A | Operating mode# 4a. |
SL_WISUN_OPERATING_MODE_4B | Operating mode# 4b. |
SL_WISUN_OPERATING_MODE_5 | Operating mode# 5. |
202
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_phy_config_type_t#
sl_wisun_phy_config_type_t
Enumerations for PHY config type.
Enumerator | |
---|---|
SL_WISUN_PHY_CONFIG_FAN10 | FAN1.0 PHY configuration. |
SL_WISUN_PHY_CONFIG_FAN11 | FAN1.1 PHY configuration. |
SL_WISUN_PHY_CONFIG_EXPLICIT | Explicit PHY configuration. |
SL_WISUN_PHY_CONFIG_IDS | Explicit RAIL configuration. |
SL_WISUN_PHY_CONFIG_CUSTOM_FSK | Custom FSK PHY configuration. |
SL_WISUN_PHY_CONFIG_CUSTOM_OFDM | Custom OFDM PHY configuration. |
SL_WISUN_PHY_CONFIG_CUSTOM_OQPSK | Custom OQPSK PHY configuration. |
296
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_private_key_option_t#
sl_wisun_private_key_option_t
Enumerations for private key options.
Enumerator | |
---|---|
SL_WISUN_PRIVATE_KEY_OPTION_NONE | Empty option. |
SL_WISUN_PRIVATE_KEY_OPTION_IS_REF | Private key data will remain in scope. |
120
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_regulation_t#
sl_wisun_regulation_t
Enumerations for regional regulation.
Enumerator | |
---|---|
SL_WISUN_REGULATION_NONE | No regulation. |
SL_WISUN_REGULATION_ARIB | ARIB, can only be used with JP regulatory domain. |
SL_WISUN_REGULATION_WPC | WPC, can only be used with IN regulatory domain. |
SL_WISUN_REGULATION_ETSI | ETSI, can only be used with EU regulatory domain. |
959
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_regulation_tx_level_t#
sl_wisun_regulation_tx_level_t
Enumeration for regional regulation transmission level.
Thresholds are define with sl_wisun_set_regulation_tx_thresholds.
Enumerator | |
---|---|
SL_WISUN_REGULATION_TX_LEVEL_LOW | Transmission duration is compliant with regional regulation. |
SL_WISUN_REGULATION_TX_LEVEL_WARNING | Transmission duration is above warning threshold. |
SL_WISUN_REGULATION_TX_LEVEL_ALERT | Transmission duration is above alert threshold. |
982
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_regulatory_domain_t#
sl_wisun_regulatory_domain_t
Enumerations for regulatory domain.
Enumerator | |
---|---|
SL_WISUN_REGULATORY_DOMAIN_WW | World-wide (2.4 GHz) |
SL_WISUN_REGULATORY_DOMAIN_NA | North America. |
SL_WISUN_REGULATORY_DOMAIN_JP | Japan. |
SL_WISUN_REGULATORY_DOMAIN_EU | Europe. |
SL_WISUN_REGULATORY_DOMAIN_CN | China. |
SL_WISUN_REGULATORY_DOMAIN_IN | India. |
SL_WISUN_REGULATORY_DOMAIN_MX | Mexico. |
SL_WISUN_REGULATORY_DOMAIN_BZ | Brazil. |
SL_WISUN_REGULATORY_DOMAIN_AZ | Australia. |
SL_WISUN_REGULATORY_DOMAIN_NZ | New Zealand. |
SL_WISUN_REGULATORY_DOMAIN_KR | South Korea. |
SL_WISUN_REGULATORY_DOMAIN_PH | Philippines. |
SL_WISUN_REGULATORY_DOMAIN_MY | Malaysia. |
SL_WISUN_REGULATORY_DOMAIN_HK | Hong Kong. |
SL_WISUN_REGULATORY_DOMAIN_SG | Singapore. |
SL_WISUN_REGULATORY_DOMAIN_TH | Thailand. |
SL_WISUN_REGULATORY_DOMAIN_VN | Vietnam. |
SL_WISUN_REGULATORY_DOMAIN_APP | Application-specific domain. |
146
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_socket_option_t#
sl_wisun_socket_option_t
Enumerations for socket option Deprecated since v2.0 MUST NOT be used with POSIX socket API.
Enumerator | |
---|---|
SL_WISUN_SOCKET_OPTION_EVENT_MODE | Option for socket event mode. |
SL_WISUN_SOCKET_OPTION_MULTICAST_GROUP | Option for multicast group. |
SL_WISUN_SOCKET_OPTION_SEND_BUFFER_LIMIT | Option for send buffer limit. |
SL_WISUN_SOCKET_OPTION_EDFE_MODE | Option to enable/disable Extended Directed Frame Exchange mode. |
SL_WISUN_SOCKET_OPTION_UNICAST_HOP_LIMIT | Option to set socket unicast hop limit. |
SL_WISUN_SOCKET_OPTION_MULTICAST_HOP_LIMIT | Option to set socket multicast hop limit. |
677
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_socket_protocol_t#
sl_wisun_socket_protocol_t
Enumerations for socket protocol Deprecated since v2.0 MUST NOT be used with POSIX socket API.
Enumerator | |
---|---|
SL_WISUN_SOCKET_PROTOCOL_UDP | User Datagram Protocol (UDP) |
SL_WISUN_SOCKET_PROTOCOL_TCP | Transmission Control Protocol (TCP) |
SL_WISUN_SOCKET_PROTOCOL_ICMP | Internet Control Message Protocol (ICMP) |
665
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_statistics_type_t#
sl_wisun_statistics_type_t
Enumerations for statistics type.
Enumerator | |
---|---|
SL_WISUN_STATISTICS_TYPE_PHY | PHY/RF statistics. |
SL_WISUN_STATISTICS_TYPE_MAC | MAC statistics. |
SL_WISUN_STATISTICS_TYPE_FHSS | Frequency hopping statistics. |
SL_WISUN_STATISTICS_TYPE_WISUN | Wi-SUN statistics. |
SL_WISUN_STATISTICS_TYPE_NETWORK | 6LoWPAN/IP stack statistics |
SL_WISUN_STATISTICS_TYPE_REGULATION | Regional regulation. |
SL_WISUN_STATISTICS_TYPE_HEAP | Heap usage. |
128
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_trace_group_t#
sl_wisun_trace_group_t
Enumeration for trace group.
Enumerator | |
---|---|
SL_WISUN_TRACE_GROUP_MAC | Mac. |
SL_WISUN_TRACE_GROUP_NW | Network. |
SL_WISUN_TRACE_GROUP_LLC | LLC. |
SL_WISUN_TRACE_GROUP_6LO | 6lowpan |
SL_WISUN_TRACE_GROUP_IPV6 | IPV6. |
SL_WISUN_TRACE_GROUP_TCP | TCP. |
SL_WISUN_TRACE_GROUP_UDP | UDP. |
SL_WISUN_TRACE_GROUP_ICMP | ICMP. |
SL_WISUN_TRACE_GROUP_DHCP | DHCP. |
SL_WISUN_TRACE_GROUP_MPL | MPL. |
SL_WISUN_TRACE_GROUP_DNS | DNS. |
SL_WISUN_TRACE_GROUP_RPL | RPL. |
SL_WISUN_TRACE_GROUP_TRIC | Trickle. |
SL_WISUN_TRACE_GROUP_WS | Wi-SUN Stack. |
SL_WISUN_TRACE_GROUP_BOOT | Wi-SUN Bootstrap. |
SL_WISUN_TRACE_GROUP_WSR | Wi-SUN Router. |
SL_WISUN_TRACE_GROUP_WSBR | Border router. |
SL_WISUN_TRACE_GROUP_SEC | Security. |
SL_WISUN_TRACE_GROUP_TIME | Time and timers. |
SL_WISUN_TRACE_GROUP_NEIGH | Neighbor. |
SL_WISUN_TRACE_GROUP_STAT | Statistics. |
SL_WISUN_TRACE_GROUP_BUFF | Dynamic Buffer. |
SL_WISUN_TRACE_GROUP_ADDR | Address Manipulation. |
SL_WISUN_TRACE_GROUP_MON | Monitoring. |
SL_WISUN_TRACE_GROUP_SOCK | Socket. |
SL_WISUN_TRACE_GROUP_DENY | Deny list. |
SL_WISUN_TRACE_GROUP_ETX | ETX. |
SL_WISUN_TRACE_GROUP_FHSS | FHSS. |
SL_WISUN_TRACE_GROUP_ROUT | Routing table. |
SL_WISUN_TRACE_GROUP_EVLP | Event loop. |
SL_WISUN_TRACE_GROUP_NVM | NVM. |
SL_WISUN_TRACE_GROUP_CRYPTO | Crypto. |
SL_WISUN_TRACE_GROUP_RF | Wi-SUN RF Driver. |
Sl_WISUN_TRACE_GROUP_WSIE | Wi-SUN IE. |
SL_WISUN_TRACE_GROUP_CONFIG | Configuration. |
SL_WISUN_TRACE_GROUP_TIM_SRV | Timer service. |
SL_WISUN_TRACE_GROUP_LFN_TIM | LFN timing measurement. |
SL_WISUN_TRACE_GROUP_RALG | Adaptive rate algorithms. |
SL_WISUN_TRACE_GROUP_FSM | Finite state machine. |
SL_WISUN_TRACE_GROUP_APP | Application. |
SL_WISUN_TRACE_GROUP_INT | Internal usage. |
SL_WISUN_TRACE_GROUP_COUNT | Max number of trace group in this enum. |
880
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_trace_level_t#
sl_wisun_trace_level_t
Enumerations for trace level.
Enumerator | |
---|---|
SL_WISUN_TRACE_LEVEL_NONE | No trace. |
SL_WISUN_TRACE_LEVEL_ERROR | Error only. |
SL_WISUN_TRACE_LEVEL_WARN | Warning + error. |
SL_WISUN_TRACE_LEVEL_INFO | Info + warning + error. |
SL_WISUN_TRACE_LEVEL_DEBUG | Debug + info + warning + error. |
936
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
Typedef Documentation#
sl_wisun_br_params_configuration#
typedef struct sl_wisun_br_params_configuration_s sl_wisun_br_params_configuration
PAN configuration parameter set.
70
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_configuration_t#
typedef struct sl_wisun_br_params_configuration_s sl_wisun_br_params_configuration_t
PAN configuration parameter set.
72
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_dhcp#
typedef struct sl_wisun_br_params_dhcp_s sl_wisun_br_params_dhcp
DHCP server parameter set.
104
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_dhcp_t#
typedef struct sl_wisun_br_params_dhcp_s sl_wisun_br_params_dhcp_t
DHCP server parameter set.
106
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_discovery#
typedef struct sl_wisun_br_params_discovery_s sl_wisun_br_params_discovery
PAN discovery parameter set.
57
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_discovery_t#
typedef struct sl_wisun_br_params_discovery_s sl_wisun_br_params_discovery_t
PAN discovery parameter set.
59
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_eapol#
typedef struct sl_wisun_br_params_eapol_s sl_wisun_br_params_eapol
Authentication parameter set.
91
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_eapol_t#
typedef struct sl_wisun_br_params_eapol_s sl_wisun_br_params_eapol_t
Authentication parameter set.
93
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_lfn_parent#
typedef struct sl_wisun_br_params_lfn_parent_s sl_wisun_br_params_lfn_parent
LFN parent parameter set.
167
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_lfn_parent_t#
typedef struct sl_wisun_br_params_lfn_parent_s sl_wisun_br_params_lfn_parent_t
LFN parent parameter set.
169
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_misc#
typedef struct sl_wisun_br_params_misc_s sl_wisun_br_params_misc
Misc parameter set.
182
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_misc_t#
typedef struct sl_wisun_br_params_misc_s sl_wisun_br_params_misc_t
Misc parameter set.
184
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_mpl#
typedef struct sl_wisun_br_params_mpl_s sl_wisun_br_params_mpl
MPL parameter set.
151
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_mpl_t#
typedef struct sl_wisun_br_params_mpl_s sl_wisun_br_params_mpl_t
MPL parameter set.
153
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_rpl#
typedef struct sl_wisun_br_params_rpl_s sl_wisun_br_params_rpl
RPL parameter set.
131
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_br_params_rpl_t#
typedef struct sl_wisun_br_params_rpl_s sl_wisun_br_params_rpl_t
RPL parameter set.
133
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/border_router/sl_wisun_br_connection_params_api.h
sl_wisun_ip_address_t#
typedef in6_addr_t sl_wisun_ip_address_t
IPv6 address structure.
701
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_ipv6_up_handler_t#
typedef sl_status_t(* sl_wisun_ipv6_up_handler_t) (const uint8_t *data, size_t data_length) )(const uint8_t *data, size_t data_length)
Handler called for an IPv6 packet from Wi-SUN network.
[in] | data | Pointer to IPv6 header |
[out] | data_length | Length of IPv6 packet data in bytes |
Returns
SL_STATUS_OK if successful, an error code otherwise
1129
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
sl_wisun_params_configuration#
typedef struct sl_wisun_params_configuration_s sl_wisun_params_configuration
PAN configuration parameter set.
194
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_configuration_t#
typedef struct sl_wisun_params_configuration_s sl_wisun_params_configuration_t
PAN configuration parameter set.
196
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_discovery#
typedef struct sl_wisun_params_discovery_s sl_wisun_params_discovery
PAN discovery parameter set.
131
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_discovery_t#
typedef struct sl_wisun_params_discovery_s sl_wisun_params_discovery_t
PAN discovery parameter set.
133
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_eapol#
typedef struct sl_wisun_params_eapol_s sl_wisun_params_eapol
Authentication parameter set.
179
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_eapol_t#
typedef struct sl_wisun_params_eapol_s sl_wisun_params_eapol_t
Authentication parameter set.
181
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_lfn_parent#
typedef struct sl_wisun_params_lfn_parent_s sl_wisun_params_lfn_parent
LFN parent parameter set.
267
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_lfn_parent_t#
typedef struct sl_wisun_params_lfn_parent_s sl_wisun_params_lfn_parent_t
LFN parent parameter set.
269
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_misc#
typedef struct sl_wisun_params_misc_s sl_wisun_params_misc
Misc parameter set.
284
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_misc_t#
typedef struct sl_wisun_params_misc_s sl_wisun_params_misc_t
Misc parameter set.
286
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_mpl#
typedef struct sl_wisun_params_mpl_s sl_wisun_params_mpl
MPL parameter set.
244
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_mpl_t#
typedef struct sl_wisun_params_mpl_s sl_wisun_params_mpl_t
MPL parameter set.
246
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_rpl#
typedef struct sl_wisun_params_rpl_s sl_wisun_params_rpl
RPL parameter set.
223
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
sl_wisun_params_rpl_t#
typedef struct sl_wisun_params_rpl_s sl_wisun_params_rpl_t
RPL parameter set.
225
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_connection_params_api.h
Variable Documentation#
sl_wisun_broadcast_mac#
const sl_wisun_mac_address_t sl_wisun_broadcast_mac
Broadcast MAC address.
992
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
Macro Definition Documentation#
SL_WISUN_ADVERT_FRAGMENT_DISABLE#
#define SL_WISUN_ADVERT_FRAGMENT_DISABLEValue:
UINT32_MAX
Maximum fragment duration. Disables advert fragmentation.
53
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_CHANNEL_MASK_SIZE#
#define SL_WISUN_CHANNEL_MASK_SIZEValue:
32
Size of a channel mask.
49
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_CHANNEL_SPACING_100HZ#
#define SL_WISUN_CHANNEL_SPACING_100HZValue:
SL_WISUN_CHANNEL_SPACING_100KHZ
Channel spacing 100 kHz for backward compatibility.
248
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_CHANNEL_SPACING_200HZ#
#define SL_WISUN_CHANNEL_SPACING_200HZValue:
SL_WISUN_CHANNEL_SPACING_200KHZ
Channel spacing 200 kHz for backward compatibility.
251
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_CHANNEL_SPACING_400HZ#
#define SL_WISUN_CHANNEL_SPACING_400HZValue:
SL_WISUN_CHANNEL_SPACING_400KHZ
Channel spacing 400 kHz for backward compatibility.
254
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_CHANNEL_SPACING_600HZ#
#define SL_WISUN_CHANNEL_SPACING_600HZValue:
SL_WISUN_CHANNEL_SPACING_600KHZ
Channel spacing 600 kHz for backward compatibility.
257
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_FILTER_BITFIELD_SIZE#
#define SL_WISUN_FILTER_BITFIELD_SIZEValue:
((SL_WISUN_TRACE_GROUP_COUNT + 7) / 8)
Size of the filter bitfield.
51
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_GAK_LEN#
#define SL_WISUN_GAK_LENValue:
16
Length of a GAK in bytes.
65
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_GTK_LEN#
#define SL_WISUN_GTK_LENValue:
16
Length of a GTK in bytes.
59
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_GTK_NUM#
#define SL_WISUN_GTK_NUMValue:
4
Number of GTKs returned by sl_wisun_get_gtks()
57
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_LGTK_NUM#
#define SL_WISUN_LGTK_NUMValue:
3
Number of LGTKs returned by sl_wisun_get_gtks()
61
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_MAC_ADDRESS_SIZE#
#define SL_WISUN_MAC_ADDRESS_SIZEValue:
8
Size of a MAC address.
47
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_MAX_PHY_MODE_ID_COUNT#
#define SL_WISUN_MAX_PHY_MODE_ID_COUNTValue:
15
Maximum number of PhyModeId allowed in POM-IE.
55
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_NETWORK_NAME_SIZE#
#define SL_WISUN_NETWORK_NAME_SIZEValue:
32
Maximum size of the Wi-SUN network name.
45
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_PMK_LEN#
#define SL_WISUN_PMK_LENValue:
32
Length of a PMK in bytes.
63
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_TRACE_THREAD_EVENT_LOOP#
#define SL_WISUN_TRACE_THREAD_EVENT_LOOPValue:
"EVL"
Thread identifier "Wi-SUN Event Loop Task".
931
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_TRACE_THREAD_EVENT_TASK#
#define SL_WISUN_TRACE_THREAD_EVENT_TASKValue:
"EVT"
Thread identifier "Wi-SUN Event Task".
929
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_TRACE_THREAD_MAC#
#define SL_WISUN_TRACE_THREAD_MACValue:
"MAC"
Thread identifier "Wi-SUN RF Task".
933
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h
SL_WISUN_TRACE_THREAD_WISUN#
#define SL_WISUN_TRACE_THREAD_WISUNValue:
"WS"
Thread identifier "Wi-SUN Task".
927
of file /mnt/raid/workspaces/ws.9FtfRPWpI/overlay/gsdk/protocol/wisun/stack/inc/sl_wisun_types.h