Skip to content

coordinator ignores *_network_channel_set (TZ-1155) #435

@mw75

Description

@mw75

Answers checklist.

  • I have read the documentation ESP Zigbee SDK Programming Guide and tried the debugging tips, the issue is not addressed there.
  • I have updated ESP Zigbee libs (esp-zboss-lib and esp-zigbee-lib) to the latest version, with corresponding IDF version, and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

ESP-IDF v5.3.1

esp-zigbee-lib version.

1.0.9

esp-zboss-lib version.

1.0.9

Espressif SoC revision.

ESP32-C6

What is the expected behavior?

Coordinator running on Channel 11 when i call

#define ESP_ZB_PRIMARY_CHANNEL_MASK     (1l << 11)
...
    esp_zb_set_primary_network_channel_set(ESP_ZB_PRIMARY_CHANNEL_MASK);
    esp_zb_set_secondary_network_channel_set(ESP_ZB_PRIMARY_CHANNEL_MASK);

What is the actual behavior?

Coordinator is running on channel 13

void esp_zb_app_signal_handler(esp_zb_app_signal_t *signal_struct){
...
case ESP_ZB_NWK_SIGNAL_PERMIT_JOIN_STATUS:
        if (err_status == ESP_OK) {
...
ESP_LOGI(TAG,"Channel %d",esp_zb_get_current_channel());
...

I (1295) Zigbee2CAN: Channel 13

Steps to reproduce.

  1. Take an Espressif example, i took HA_ON_OFF_SWITCH
  2. set channel by esp_zb_set_primary_network_channel_set and esp_zb_set_secondary_network_channel_set
  3. check by esp_zb_get_current_channel

More Information.

The binary only distribution of esp-zigbee-lib and esp-zboss-lib makes it quite hard to help yourself. I understand, that zboss is licensed, but why is esp-zigbee-lib binary only? Or do i miss something and the code is published somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions