Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo for zigbee channel select in app_zigbee.c #1

Open
cpuchip opened this issue Sep 19, 2024 · 0 comments · May be fixed by #2
Open

Typo for zigbee channel select in app_zigbee.c #1

cpuchip opened this issue Sep 19, 2024 · 0 comments · May be fixed by #2

Comments

@cpuchip
Copy link

cpuchip commented Sep 19, 2024

When setting APP_ZIGBEE_DEBUG_TOUCHLINK to 1 to debug better and keep the channel of the STM32WB boards locked to Zigbee channel 15, the compilier throws an error saying APP_ZB_TOUCHLINK_CHANNEL is undefined.

APP_ZB_TOUCHLINK_CHANNEL is not define anywhere in the project files, though the line above it may be what is meant here

#define APP_ZIGBEE_TOUCHLINK_CHANNEL_MASK ( 1u << APP_ZB_TOUCHLINK_CHANNEL )

#define APP_ZIGBEE_TOUCHLINK_CHANNEL 15u
#define APP_ZIGBEE_TOUCHLINK_CHANNEL_MASK ( 1u << APP_ZB_TOUCHLINK_CHANNEL )

My guess is this should be APP_ZIGBEE_TOUCHLINK_CHANNEL not APP_ZB_TOUCHLINK_CHANNEL

I've created #2 to address this issue, if that is the root cause.
I have tested with the name changed so that it compiles, and the STM32WB boards do come up on channel 15 like is defined by APP_ZIGBEE_TOUCHLINK_CHANNEL

I've opened a ticket on ST's help desk case : 00215476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant