Skip to content

This application is based on Zigbee_OnOff_Client_Router example from SDK and it is enhanced with second configuration for functioning as OnOffServer.

License

Notifications You must be signed in to change notification settings

stm32-hotspot/STM32WBA-Zigbee-OnOff-Router

Repository files navigation

Zigbee OnOff Router Demo application

Overview

This application demonstrates how to use the STM32WBA65 Nucleo board in different Zigbee configurations, showcasing different real-world use case scenarios. The configurations are set by defines in the app_zigbee_endpoint.c file.

Boards Needed

Configuration Options

You can select one of the following configurations by setting the respective define to 1:

Light Switch (On/Off Client) Light Bulb (On/Off Server)

Example:

#define APP_ZIGBEE_LIGHTSWITCH_CONFIG                1
#define APP_ZIGBEE_LIGHTBULB_CONFIG                  0

For this demo example you need have extra device working as Cooordinator to which you will connect the nucleo board

Button Functions Used in Light Switch configuration (On/Off Client)

SW1 [Toggle]: Push to send a toggle request to binded devices. SW3 [Automatic toggle]: Start/Stop Automatic Toggle Timer sending periodically Toggle request.

LED Indicators

RED LED: Indicates the state of the On/Off attribute of the On/Off Server cluster (similar to a light bulb). BLUE LED: Indicates that the device has joined a Zigbee network.

To setup the application:

Open the project select preferred configuration by editing respective defines in app_zigbee_endpoint.c build it and load your generated application on your STM32WB devices.

How to use it?

Getting traces

To get the traces you need to connect your Board to the Hyperterminal (through the STLink Virtual COM Port). The UART must be configured as follows:

    - BaudRate = 115200 baud  
    - Word Length = 8 Bits 
    - Stop Bit = 1 bit
    - Parity = none
    - Flow control = none

Keywords

Zigbee, IoT, Internet of Things, Network, Connectivity, FreeRTOS, commissioning, persistence, CSA, Connectivity Standard Alliance, STM32, P-NUCLEO-WB55, Touch Link, NVM, OTA

Known issues

n/a

About

This application is based on Zigbee_OnOff_Client_Router example from SDK and it is enhanced with second configuration for functioning as OnOffServer.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •