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

esp_zb_set_extended_pan_id has no effect (TZ-980) #378

Open
rsibille opened this issue Jun 28, 2024 · 0 comments
Open

esp_zb_set_extended_pan_id has no effect (TZ-980) #378

rsibille opened this issue Jun 28, 2024 · 0 comments
Labels

Comments

@rsibille
Copy link

rsibille commented Jun 28, 2024

Question

Hello
I'm facing the same issue as described in issue #81 : setting the extended PAN ID on the ED (end device) seems to have no effect.

The situation is :

  • I'm using two ESP32C6, respectively as coordinator and ED, both running ESP-IDF v5.2.2
  • the coordinator is started, the signal ESP_ZB_NWK_SIGNAL_PERMIT_JOIN_STATUS is sent, with an open time of 180s. So I understand it is ready to accept joining from devices
  • when the ED starts, I set the ext. PANID to the value read on the coordinator
  • but the ED does not join : esp_zb_get_extended_pan_id() still returns the ED mac address and I'm getting a signal 'NWK Permit Join', as if the ED were waiting for another to join ...

Enabling the trace :

  • on the coordinator : Network steering successfully started (Extended PAN ID: 40:4c:ca:ff:fe:44:82:f4
  • on the ED : ZBOSS: nwk/nwk_join.c:629 Rejoin failure: no dev with xpanid 40:4c:ca:ff:fe:44:82:f4 or can't choose best parent

So my questions are :

  1. is this call correct ?
    esp_zb_ieee_addr_t ext_pan_id = {0xF4, 0x82, 0x44, 0xFE, 0xFF, 0xCA, 0x4C, 0x40}; // 40:4c:ca:ff:fe:44:82:f4
    esp_zb_set_extended_pan_id(ext_pan_id);
  1. must I also call esp_zb_set_pan_id()
  2. when should I do these calls ? They are currently inside case ESP_ZB_BDB_SIGNAL_DEVICE_REBOOT:

Thanks in advance for any clue.

Additional context.

No response

@github-actions github-actions bot changed the title sp_zb_set_extended_pan_id has no effect sp_zb_set_extended_pan_id has no effect (TZ-980) Jun 28, 2024
@rsibille rsibille changed the title sp_zb_set_extended_pan_id has no effect (TZ-980) esp_zb_set_extended_pan_id has no effect (TZ-980) Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant