diff options
author | Ali Labbene <ali.labbene@st.com> | 2020-04-17 10:29:58 +0300 |
---|---|---|
committer | Ali Labbene <ali.labbene@st.com> | 2020-04-17 10:51:45 +0300 |
commit | d8e9414ce0284d50c815a3472727fe6670c3678a (patch) | |
tree | 4f5f77a0d17fcbbd736da7977a53ed3c25fb95a1 /Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee/Zigbee_OnOff_Client_Router/STM32_WPAN/App/app_zigbee.c | |
parent | f23dd7def77aeafd886aa69a56259143f8db7a6d (diff) |
Release v1.6.0v1.6.0
Diffstat (limited to 'Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee/Zigbee_OnOff_Client_Router/STM32_WPAN/App/app_zigbee.c')
-rw-r--r-- | Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee/Zigbee_OnOff_Client_Router/STM32_WPAN/App/app_zigbee.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee/Zigbee_OnOff_Client_Router/STM32_WPAN/App/app_zigbee.c b/Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee/Zigbee_OnOff_Client_Router/STM32_WPAN/App/app_zigbee.c index ef0d61a59..93cac7b17 100644 --- a/Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee/Zigbee_OnOff_Client_Router/STM32_WPAN/App/app_zigbee.c +++ b/Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee/Zigbee_OnOff_Client_Router/STM32_WPAN/App/app_zigbee.c @@ -40,6 +40,9 @@ #define SW1_GROUP_ADDR 0x0001 #define CHANNEL 13 +/* external definition */ +enum ZbStatusCodeT ZbStartupWait(struct ZigBeeT *zb, struct ZbStartupT *config); + /* Private function prototypes -----------------------------------------------*/ static void APP_ZIGBEE_StackLayersInit(void); static void APP_ZIGBEE_ConfigEndpoints(void); @@ -353,8 +356,11 @@ static void APP_ZIGBEE_CheckWirelessFirmwareInfo(void) APP_DBG("VERSION ID = %d.%d.%d", p_wireless_info->VersionMajor, p_wireless_info->VersionMinor, p_wireless_info->VersionSub); switch (p_wireless_info->StackType) { - case INFO_STACK_TYPE_ZIGBEE: - APP_DBG("FW Type : Zigbee stack"); + case INFO_STACK_TYPE_ZIGBEE_FFD: + APP_DBG("FW Type : FFD Zigbee stack"); + break; + case INFO_STACK_TYPE_ZIGBEE_RFD: + APP_DBG("FW Type : RFD Zigbee stack"); break; default: /* No Zigbee device supported ! */ |