Zpal-radio-utils#
Defines a platform abstraction layer for the Z-Wave platform independent radio utils.
Functions#
Function to get region Protocol mode if supported by Radio.
Function to get if giver Protocol mode supports Z-Wave Long Range.
Function to check if specified region has a long range channel.
Function to check if specified region has a backup long range channel.
Function to check if specified region has End Device long range channels.
Function to get if specified region has either long range or backup long range channels or both.
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)
Function to get region Protocol mode if supported by Radio.
[in] | region | Describe where radio is located. zpal_radio_region_t or @ ref zpal_radio_region_tf_t. |
Returns
ZPAL_RADIO_PROTOCOL_MODE_1, ZPAL_RADIO_PROTOCOL_MODE_2, ZPAL_RADIO_PROTOCOL_MODE_3 or ZPAL_RADIO_PROTOCOL_MODE_4 if supported by Radio. ZPAL_RADIO_PROTOCOL_MODE_UNDEFINED if not supported by Radio.
38
of file /mnt/raid/workspaces/ws.T7KR5OZRo/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.
[in] | mode | Protocol mode. |
Returns
True if given Protocol mode supports Z-Wave Long Range, false if not.
46
of file /mnt/raid/workspaces/ws.T7KR5OZRo/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.
[in] | region | Describe where radio is located. |
Returns
True if specified region has long range channel.
54
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h
zpal_radio_region_is_long_range_backup#
bool zpal_radio_region_is_long_range_backup (zpal_radio_region_t region)
Function to check if specified region has a backup long range channel.
[in] | region | Describe where radio is located. |
Returns
True if specified region has backup long range channel.
62
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h
zpal_radio_region_is_long_range_end_device#
bool zpal_radio_region_is_long_range_end_device (zpal_radio_region_t region)
Function to check if specified region has End Device long range channels.
[in] | region | Describe where radio is located. |
Returns
True if specified region has End Device long range channels.
71
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h
zpal_radio_region_has_long_range_support#
bool zpal_radio_region_has_long_range_support (zpal_radio_region_t region)
Function to get if specified region has either long range or backup long range channels or both.
[in] | region | Describe where radio is located. |
Returns
True if specified region has either long range or backup long range channels or both.
80
of file /mnt/raid/workspaces/ws.T7KR5OZRo/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.
[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
90
of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/PAL/inc/zpal_radio_utils.h