You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
v5.1.4
esp-zigbee-lib version.
1.4.1
esp-zboss-lib version.
1.4.1
Espressif SoC revision.
ESP32-C6
What is the expected behavior?
The device should send out a ZDO nwk address request on esp_zb_address_short_by_ieee() and waits for a response, or times out.__
What is the actual behavior?
The router device does not even send out the request and immediately returns 0xffff.
Steps to reproduce.
Set up a coordinator
Flash the code below to a 802.15.4 capable esp32 (c6 or h2, in my case it was a c6)
Connect an end device and the just flashed router to the coordinator.
I used wireshark to capture the packets, but there is no network request in it. The device with the short address does exist on the network, because if I create a custom APSDE-DATA.request with esp_zb_aps_data_request containing an end device's hard coded short address, the end device receives the request properly.
I tried finding ieee by short, this also does not send out any packets, instead fills the ieee address field with 0xff.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp_zb_address_short_by_ieee and esp_zb_ieee_address_by_short does not send out packets in router mode.
esp_zb_address_short_by_ieee and esp_zb_ieee_address_by_short does not send out packets in router mode. (TZ-1031)
Jul 29, 2024
The esp_zb_address_short_by_ieee() and esp_zb_ieee_address_by_short() only perform conversions between the long address and short address in a known address map. They are not requests. Please consider using the esp_zb_zdo_ieee_addr_req() to implement your feature.
Thank you for the clarification. I close the issue, as the problem is in my code and not the library.
May I ask you however, how to request network address by ieee address? I want to send requests with esp_zb_aps_data_request, that seemingly only accepts short address, and I did not find the function that allows me to query that by known ieee address.
I would like basically a zigbee equivalent of ARP requests.
Answers checklist.
IDF version.
v5.1.4
esp-zigbee-lib version.
1.4.1
esp-zboss-lib version.
1.4.1
Espressif SoC revision.
ESP32-C6
What is the expected behavior?
The device should send out a ZDO nwk address request on esp_zb_address_short_by_ieee() and waits for a response, or times out.__
What is the actual behavior?
The router device does not even send out the request and immediately returns 0xffff.
Steps to reproduce.
More Information.
I used wireshark to capture the packets, but there is no network request in it. The device with the short address does exist on the network, because if I create a custom APSDE-DATA.request with esp_zb_aps_data_request containing an end device's hard coded short address, the end device receives the request properly.
I tried finding ieee by short, this also does not send out any packets, instead fills the ieee address field with 0xff.
The text was updated successfully, but these errors were encountered: