API Reference - v1.10.1 - Wi-SUN Silicon Labs (2024)

(release date 2023-04-10)

New Features and Improvements#

  • added a new API sl_wisun_set_neighbor_table_size()that set the neighbor table size.

Bug Fixes#

  • fixed an invalid initialization causing the number of retries sent by Wi-SUN RCP to be inconsistent.

  • fixed an error that, in some rare occasions, could cause the IPv6 source routing header corruption.

  • fixed an error that was causing significant transmissions delays when a multicast packet reception occurred during the transmission of asynchronous packets.

  • fixed LFN clock drift compensation. It sometimes skipped and caused the LFN to disconnect.

  • improved the resiliance of 4-way handshake to errors. After a missing packet the joining node and the authenticator ended with a different status.

(release date 2023-02-14)

New Features and Improvements#

  • major update of the RCP. Must be used in pair with wsbrd v1.9 and more recent. It significantly reduces the memory footprint. The memory required to run the application no longer depends on the number of routers connected to the border router.

  • dropped the high-reliability transmission mechanism. Its use was not recommended and it was causing a significant increase of all communications latency.

  • added support for ETSI Adaptive Power Control.

  • improved LFNs clock drift compensation. It reduces the power consumption and the connection stability.

Bug Fixes#

  • fixed an error causing UDP sockets to be closed when receiving packets with an empty payload.

  • fixed an error causing the frequency hopping to be blocked on rare occasions.

  • fixed an error causing LLC messaging allocation to fail. It was caused by an invalid logic in the mac tx queue.

  • fixed an error causing LFNs to use an invalid broadcast schedule after a reconnection.

  • fixed an error causing LFNs reconnection to a router to fail.

  • fixed an error preventing LFNs to send NS(EARO) and thus to reconnect after a given number of non-consequentive unsuccessful connection attempts.

  • fixed an error causing an invalid memory access in dense topologies.

  • LUS-IE were sent in all LFN data frames, even when the Listen Interval did not change.

(release date 2023-12-13) q

New Features and Improvements#

  • added a new API sl_wisun_get_stack_version() that returns the stack version.

  • updated sl_wisun_join() to support the customization of PHY configurations. Extended sl_wisun_phy_config_type_t and sl_wisun_phy_config_t to allow the customization of OFDM, FSK and O-QPSK entries.

  • added support for LFN Timing Offset (LTO). Avoid LFN broadcast and unicast overlaps.

  • added support for LFN multicast reception.

  • added support for SUN DSSS-OQPSK.

  • added support for blocking sockets.

  • added support for the new Indian PHY configurations.

Bug Fixes#

  • fixed an error causing an assert when a device connects to network and then later re-join with a different device type.

  • fixed an error causing an LFN parent to hard fault on an LFN disconnection.

  • fixed an invalid variable initialization that could cause a device frame counter to be set to 0 when using IAR.

  • fixed an invalid configuration preventing LFN to connect when using the Balanced or Eco modes.

  • fixed an invalid initialization in MPL that was causing a multicast packet to be considered as old after a router re-connection.

  • fixed an invalid time synchronization between an LFN and his FFN parent. It was causing significant drifts making downstream communications instable after a while.

  • the Join Metric IE was not forwarded when the join state 1 was skipped.

  • fixed an error causing a LFN to be out-of-sync when no packet is exchanged for more than 1h10 (uint32 max us)

  • fixed an error causing MAC retries to be skipped on rare occasions.

  • fixed an error causing routers to stay on the wrong channel after performing asynchronous transmissions.

  • LFN are now send a Neighbor Solicitation with an EARO with a zero lifetime when disconnecting.

  • Wi-SUN OUI was coded with the wrong byte ordering.

  • maintained and restored the DHCP Identity Association ID (IAID) across reboots.

  • that stack performed a CSMA/CA on asynchronous frame transmissions. This behavior is specifically forbidden in the FAN TPS.

  • the stack occasionally tried to send a Neighbor Advertisem*nt (NA) as a reply to a received Neighbor Solicitation (NS) used for Neighbor Unreachability Detection (NUD). This behavior is specifically forbidden in the FAN TPS.

(release date 2023-10-10)

Bug Fixes#

  • fixed an issue causing LFN LGTK and frame counter recovery from NVM after a reboot to be skipped.

  • fixed an invalid memory access when receiving a multicast packet with a full neighbor table.

  • fixed LFN parent timeout. It was still partially relying on the FFN timeout mechanism.

  • fixed LFN address renewal.

  • fixed an invalid memory access in the RCP. It could either trigger an assert “ref_counter <= 0" or call free() on an invalid memory section.

  • fixed an issue causing a mis-calculation of the ETX.

  • fixed an issue causing an invalid memory access when starting the SoC border router with an invalid PHY configuration

  • fixed an interoperability issue when using JP regulatory domain.

  • fixed a race between FHSS and ND causing an invalid memory access when disconnecting itself or an LFN child.

  • fixed FFN LGTK acquisition. FFN were performing a full 4-way handshake instead of a shorter 2-way handshake.

  • fixed an issue causing DHCP lease renewal to happen too often.

  • fixed an issue causing an invalid memory access when starting the stack without any certificate.

  • added missing Node Role KDE. Routers not supporting LFN parenting were missing the information element and were considered as FAN1.0 devices by Silicon Labs border routers.

(release date 2023-06-07)

New Features and Improvements#

  • LFN devices are now able to enter in Energy Mode 2 (EM2) if the application allows it.

  • added support for PAN-Wide IE.

  • adapted EDFE support for FAN 1.1.

  • adapted MPL support for FAN 1.1.

  • major refactoring of the stack internal timekeeping.

Bug Fixes#

  • frame counters were not increased on retries.

  • fixed an issue causing UDP packets to be silently dropped. This was caused by an inappropriate management of fragmented packets.

  • fixed an issue causing a suitable neighbor to be refused as a potential parent. Data packets missing a US-IE were refused while they should have been accepted. The stack was not keeping track of the US-IE received during the authentication process. This was causing interoperability issues with Nissin System routers.

  • fixed an improper stack initialization when used outside of a project generated with SLC.

  • fixed an issue causing a memory corruption when disconnecting an LFN.

(release date 2023-06-07)

New Features and Improvements#

  • added a new API sl_wisun_set_lfn_parameters() that configures all the LFN-specific settings.

  • added a new API sl_wisun_set_lfn_support() that sets the maximum number of LFNs that can be connected to a single FFN.

  • added a new API sl_wisun_set_mode_switch() that supersedes sl_wisun_set_mode_switch().The old API is still availa-ble but it is recommended to move to the more recent one.

  • added a new API sl_wisun_set_pti_state() that enable the Packet Trace Interface (PTI). For more information about the PTI in the context of Wi-SUN, refer to Wi-SUN’s Getting Started section on docs.silabs.com.

  • implemented LFN LGTK rotation

  • added support for a non-standard OFDM 64QAM PHY.

  • added support for EFR32FG28

  • optimized the reconnection of routers to an existing network: if configured to do so, the routers will now try to skip the scanning and authenticated step of the joining procedure.

Bug Fixes#

  • fixed an issue that could cause acknowlges to be sent to the wrong channel.

  • fixed several issues that could cause an assert after a call to sl_wisun_disconnect().

  • fixed an issue that could cause a mutex to be kept for an undefined period of time. It was causing devices to be indefinitely stalled.

(release date 2023-04-19)

  • fixed an RNG error that could happen on EFR32xG12.

  • fixed an error causing LPA to be missed on PHY configurations using a lot of channels.

  • fixed an error causing a segmentation fault on congested networks.

(release date 2023-03-08)

  • reduced the NS(EARO) retry period during the first connection. It reduces the time to connect in case of retransmission and improves the process’s reliability.

  • unencrypted LPC are not accepted by LFN anymore.

  • fixed FEC support in Linux Border Router RCP.

(release date 2023-02-01)

  • added a new SL_WISUN_SOCKET_OPTION_SEND_BUFFER_LIMIT socket option to configure the transmission buffer length.

  • added a new SL_WISUN_PHY_CONFIG_IDS option in sl_wisun_join(). It allows the selection of a specific entry in the radio configuration.

  • added LFN parent synchronization and time-out detection.

  • added LFN EAPOL accelerated listening schedule.

Bug Fixes#

  • fixed a regression in the connection time.

(release date 2022-12-14)

New Features and Improvements#

  • added minimal support for FAN1.1 LFN (Limited Functional Node). LFN devices are able to connect and communicate but are not using any of the EFR32 energy management mode. As such, they are not optimized for battery powered devices and should only be used for evaluation and experimentation.

    • added a new API sl_wisun_set_device_type()that configures the role of device. It can be either a router (FFN – Full Functional Node) or an end node (LFN)

    • added a new set of libraries supporting both LFN and FFN device types. Those libraries are used when the new “Stack LFN Support” plugin is installed.

  • added support for FAN 1.1 PHY mode switch.

    • added a new API sl_wisun_set_mode_switch() that indicates if the device can mode switch with a given neighbor.

    • added new APIs sl_wisun_set_pom_ie()and sl_wisun_get_pom_ie() that write or read the content of the POM-IE (PHY Operating Mode Information Element). It contains the list of the PHY operating mode a node is willing to use for communication.

  • added a new API sl_wisun_join() that triggers a new connection. It can be used either with the old (1V08 – regulatory domain, operating class, operating mode) or the new (1VA8 – regulatory domain, channel plan id, PHY mode if) nomenclature. That new API is meant to replace sl_wisun_connect().

  • added a new API sl_wisun_set_connection_parameters() that extends the set of the configuration parameters. Used in pair with sl_wisun_join(), it replaces sl_wisun_connect() network size parameter.

  • added support for FSK FEC. FEC can be enable either by setting fec field of sl_wisun_phy_config_t structure or by using a PHY mode id that explicity enables FEC.

  • added support of EFR32FG25. It supports all FAN1.1 OFDM modulation schemes and all FAN1.0 FSK configurations.

  • added support of EFF01

Deprecated Items#

  • sl_wisun_connect() is replaced by sl_wisun_join().

  • sl_wisun_set_channel_plan() is replaced by sl_wisun_join().

  • sl_wisun_set_network_size() is replaced by sl_wisun_set_connection_parameters()

(release date 2022-28-09)

Bug Fixes#

  • fixed an invalid Path Control field configuration in RPL DAO packet.

(release date 2022-06-08)

Net Features and Improvements#

  • when ARIB radio regulation is selected, the stack refuses all EDFE initialization requests sending an EDFE final frame.

Bug Fixes#

  • fixed PAN Advert and PAN Config Trickle timer configuration. Inconsistent transmissions were not correctly managed. It could lead to suboptimal behavior in dense areas of a network.

  • fixed a performance issue that was causing Linux Border Router RCP to become unreachable when running throughput tests with high-speed data rates. That issue was fixed by using DMA to collect UART data.

  • fixed an initialization issue that was causing PAN Advert and PAN Config asynchronous transmission requests to be dropped. That issue was most likely to happen with TEST and SMALL network size configuration and could cause connection durations to be significantly longer.

(release date 2022-06-08)

New Features and Improvements#

  • most of the stack crypto operations are now made through ARM PSA Crypo API.

  • added a new API sl_wisun_set_device_private_key_id() that indicates which PSA Crypto key handler contains the device private key and has to be used by the stack. It is the application responsibility to create the key.

  • added a new API sl_wisun_set_regulation() that configures the regional regulation the stack must comply to. Refer to UG495 for more information about regional regulation in Wi-SUN Stack.

  • added a new event SL_WISUN_MSG_REGULATION_TX_LEVEL_IND_ID that is fired when the transmission budget is cross-ing one of the transmission budget threshold. The transmission budget is defined by the regional regulation. Refer to UG495 for more information about regional regulation in Wi-SUN Stack.

  • added a new API sl_wisun_set_regulation_tx_thresholds() that configures the threshold used to fire SL_WISUN_MSG_REGULATION_TX_LEVEL_IND_ID event.

  • added a new API sl_wisun_set_advert_fragment_duration() that configures the asynchronous transmission frag-ment duration. It can be used to reduce the impact on the latency of long advertisem*nt periods.

  • added a new API sl_wisun_set_unicast_tx_mode() that enables a high-reliability transmission mechanism for unicast communication. It trades off unicast communication reliability for latency.

  • sl_wisun_set_channel_mask() channel filter is now applied to asynchronous transmissions and unicast listening schedule. The function was renamed sl_wisun_set_allowed_channel_mask() to make it more self-explanatory.

Bug Fixes#

  • Fixed an error that was causing radio calibrations to be skipped during Wi-SUN Stack initialization.

(release date 2022-03-09)

Bug Fixes#

  • Applied the PA configuration set in the application. It was previously ignored and the same configuration was always used.

(release date 2022-02-21)

Bug Fixes#

  • Fixed a recurrence of the error that could cause the stack to assert on a RAIL_StartCcaCsmaTx when trying to connect to a network that cannot be reached.

(release date 2022-01-26)

Bug Fixes#

  • Fixed an error that could cause the stack to assert on a RAIL_StartCcaCsmaTx when trying to connect to a network that cannot be reached.

(release date 2021-10-13)

New Features and Improvements#

  • added release quality libraries. They provide the same Wi-SUN features but are not logging anything.

  • added a new API sl_wisun_reset_statistics that resets all the counters read by calling sl_wisun_get_statistics.

  • added new APIs sl_wisun_get_neighbor_count() and sl_wisun_get_neighbors() that indicate the neighbor count (parents and children) and their MAC address.

  • added a new API sl_wisun_get_neighbor_info() that returns information about a neighbor.

  • added a new API sl_wisun_set_unicast_settings() that configures the frequency hopping unicast dwell interval.

  • added a new API sl_wisun_set_trace_level() and sl_wisun_set_trace_filter() that configure the stack traces.

  • added support for mbedtls v3.0.

  • stack flash footprint reduction.

  • reworked Wi-SUN stack tasks priorities.

  • fixed the unicast channel filtering.

  • fixed an error causing the authentication waiting list to be broken.

(release date 2021-10-13)

New Features and Improvements#

  • fixed an issue causing a hard-fault during a parent information update.

(release date 2021-09-08)

New Features and Improvements#

  • fixed a drift in the frequency hopping mechanism that could lead to disconnections in quiet networks.

(release date 2021-07-21)

New Features and Improvements#

  • fixed an issue causing the event SL_WISUN_MSG_CONNECTED_IND_ID to be fired although no new connection was established. It was fired after each network update.

  • fixed an issue causing connections to fail after an operating class update.

  • fixed an issue causing US-IE configuration to be invalid when excluding channels.

(release date 2021-06-16)

New Features and Improvements#

  • fixed an issue causing a parent to lose track of its child frequency hopping sequence. The child router was sending an incorrect IFSU misleading the parent router and forcing it to be one frequency hop interval late.

(release date 2021-04-21)

New Features and Improvements#

  • fixed memory leaks during the disconnection and reset processes.

  • added a new disconnected join state to sl_wisun_get_join_state API.

  • miscellaneous API minor updates

(release date 2021-04-21)

New Features and Improvements#

  • fixed a bug causing connection with network_size 'Test' to be slower than it used to be.

  • added border router support for custom PHYs

  • added a new API for clearing credential cache

  • added a new API for MAC address management

(release date 2021-04-07)

New Features and Improvements#

  • fixed a bug causing unicasts to be sent on the wrong channel

  • updated a configuration that prevented multicast to be forwarded

(release date 2021-01-25)

New Features and Improvements#

  • added support for CMSIS RTOS API2

  • fixed UDP sockets corner cases.

(release date 2020-12-10)

New Features and Improvements#

  • added support for Gecko SDK v3.1

  • added support for operating mode 2a (100kbps) and 3 (150kbps)

  • added new APIs sl_wisun_allow_mac_address() and sl_wisun_deny_mac_address() that enable MAC filtering.

API Reference - v1.10.1 - Wi-SUN Silicon Labs (2024)

References

Top Articles
Latest Posts
Article information

Author: Laurine Ryan

Last Updated:

Views: 5819

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.