Zpal-radio-utils#

Defines a platform abstraction layer for the Z-Wave platform independent radio utils.

Functions#

zpal_radio_region_get_protocol_mode(uint32_t region, zpal_radio_lr_channel_config_t eLrChCfg)

Function to get region Protocol mode if supported by Radio.

bool
zpal_radio_protocol_mode_supports_long_range(zpal_radio_protocol_mode_t mode)

Function to get if giver Protocol mode supports Z-Wave Long Range.

bool
zpal_radio_region_is_long_range(zpal_radio_region_t region)

Function to check if specified region has a long range channel.

zpal_radio_get_valid_region(zpal_radio_region_t region)

Function to get valid region value.

Function Documentation#

zpal_radio_region_get_protocol_mode#

zpal_radio_protocol_mode_t zpal_radio_region_get_protocol_mode (uint32_t region, zpal_radio_lr_channel_config_t eLrChCfg)

Function to get region Protocol mode if supported by Radio.

Parameters
[in]region

Describe where radio is located. zpal_radio_region_t or @ ref zpal_radio_region_tf_t.

[in]eLrChCfg

Active long range channel configuration.

Returns


Definition at line 39 of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h

zpal_radio_protocol_mode_supports_long_range#

bool zpal_radio_protocol_mode_supports_long_range (zpal_radio_protocol_mode_t mode)

Function to get if giver Protocol mode supports Z-Wave Long Range.

Parameters
[in]mode

Protocol mode.

Returns

  • True if given Protocol mode supports Z-Wave Long Range, false if not.


Definition at line 47 of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h

zpal_radio_region_is_long_range#

bool zpal_radio_region_is_long_range (zpal_radio_region_t region)

Function to check if specified region has a long range channel.

Parameters
[in]region

Describe where radio is located.

Returns

  • True if specified region has long range channel.


Definition at line 55 of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h

zpal_radio_get_valid_region#

zpal_radio_region_t zpal_radio_get_valid_region (zpal_radio_region_t region)

Function to get valid region value.

Parameters
[in]region

Describe where radio is located.

If region is not specified (default value), it would return region set as default.

Returns

  • The valid region value


Definition at line 65 of file /mnt/raid/workspaces/ws.Mh9rMZz8x/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h