Z-Wave Protocol Controller Reference
zwave_rf_region.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
22#if !defined(ZWAVE_RF_REGION_H)
23#define ZWAVE_RF_REGION_H
24
25#include <stdbool.h>
26
31typedef enum {
33 ZWAVE_RF_REGION_EU = 0x00,
35 ZWAVE_RF_REGION_US = 0x01,
39 ZWAVE_RF_REGION_HK = 0x03,
41 ZWAVE_RF_REGION_IN = 0x05,
43 ZWAVE_RF_REGION_IL = 0x06,
45 ZWAVE_RF_REGION_RU = 0x07,
47 ZWAVE_RF_REGION_CN = 0x08,
53 ZWAVE_RF_REGION_JP = 0x20,
55 ZWAVE_RF_REGION_KR = 0x21,
60
61static inline bool IS_RF_REGION_LR(zwave_rf_region_t rf_region) { return (rf_region == ZWAVE_RF_REGION_US_LR) || (rf_region == ZWAVE_RF_REGION_EU_LR); }
62
63#endif // ZWAVE_RF_REGION_H
zwave_rf_region_t
Definition: zwave_rf_region.h:31
static bool IS_RF_REGION_LR(zwave_rf_region_t rf_region)
Definition: zwave_rf_region.h:61
@ ZWAVE_RF_REGION_IN
Radio is located in Israel. 2 Channel region.
Definition: zwave_rf_region.h:41
@ ZWAVE_RF_REGION_UNDEFINED
Definition: zwave_rf_region.h:57
@ ZWAVE_RF_REGION_KR
RF region is unknown.
Definition: zwave_rf_region.h:55
@ ZWAVE_RF_REGION_JP
Radio is located in Korea. 3 Channel region.
Definition: zwave_rf_region.h:53
@ ZWAVE_RF_REGION_EU
Radio is located in Europe. 2 Channel region.
Definition: zwave_rf_region.h:33
@ ZWAVE_RF_REGION_HK
Radio is located in India. 2 Channel region.
Definition: zwave_rf_region.h:39
@ ZWAVE_RF_REGION_ANZ
Radio is located in Hong Kong. 2 Channel region.
Definition: zwave_rf_region.h:37
@ ZWAVE_RF_REGION_US
Radio is located in Australia/New Zealand. 2 Channel region.
Definition: zwave_rf_region.h:35
@ ZWAVE_RF_REGION_EU_LR
Radio is located in Japan. 3 Channel region.
Definition: zwave_rf_region.h:51
@ ZWAVE_RF_REGION_IL
Radio is located in Russia. 2 Channel region.
Definition: zwave_rf_region.h:43
@ ZWAVE_RF_REGION_CN
US Long range radio.
Definition: zwave_rf_region.h:47
@ ZWAVE_RF_REGION_US_LR
EU Long range radio.
Definition: zwave_rf_region.h:49
@ ZWAVE_RF_REGION_RU
Radio is located in China. 2 Channel region.
Definition: zwave_rf_region.h:45