-
Notifications
You must be signed in to change notification settings - Fork 25
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
zdo -n equivalent in API: How to get nwk address by IEEE address with the SDK? (TZ-1144) #432
Comments
I believe the function esp_zb_address_short_by_ieee(esp_zb_ieee_addr_t address) should work for this purpose. The device's network table likely stores both IEEE and short addresses. You can handle this using the function above without sending a ZDO command. |
The problem is that I know it does not hold in the table, in cases for example when the device is freshly added to the network, knowing only the IEEE addresses of the devices it should control, but not their network addresses. esp_zb_zdo_ieee_addr_req() gets the IEEE address of a device with a given nwk address, but there is no |
You can send a request using: |
@ahmetcobanoglu @remenyo |
Thank you for both of you. Should I leave this open until it gets released? |
Yes, of course |
Question
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.
Thank you for your help.
Additional context.
Already asked by me as a followup here, but did not get anwser: #395 (comment)
The text was updated successfully, but these errors were encountered: