Wi-SUN Util#

Functions#

sl_status_t
sl_wisun_util_get_rf_settings(uint8_t *reg_domain, uint8_t *op_class, uint16_t *op_mode)

Get frequency band settings from RAIL config.

sl_status_t
sl_wisun_util_connect(const uint8_t *network_name)

Connect to a Wi-SUN network.

Function Documentation#

sl_wisun_util_get_rf_settings#

sl_status_t sl_wisun_util_get_rf_settings (uint8_t * reg_domain, uint8_t * op_class, uint16_t * op_mode)

Get frequency band settings from RAIL config.

Parameters
TypeDirectionArgument NameDescription
uint8_t *[out]reg_domain

Regulatory domain of the Wi-SUN network

uint8_t *[out]op_class

Operational class of the Wi-SUN network

uint16_t *[out]op_mode

Operational mode of the Wi-SUN network

Returns

  • SL_STATUS_OK if successful, an error code otherwise


sl_wisun_util_connect#

sl_status_t sl_wisun_util_connect (const uint8_t * network_name)

Connect to a Wi-SUN network.

Parameters
TypeDirectionArgument NameDescription
const uint8_t *[in]network_name

Name of the Wi-SUN network as a zero-terminated string

Wi-SUN frequency band settings are deduced from RAIL config. Returns

  • SL_STATUS_OK if successful, an error code otherwise