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'm working on zigbee end devices and I cannot figure out how to access the device binding table:
I'm able to send esp_zb_zdo_binding_table_req command that return table but I understood that it is the reading of remote device (coordinator), am I correct ? Moreover, the returned structures linked by the next pointer are not located at the same memory address than the one returned by continuously requesting the next record using index.
I was guessing that the end device shall have it's own binding table, ideally using NVS. Is it the case in the sdk implementation ? If yes how could I retrieve this table ?
Additionally, I try to get the signal from the stack when the coordinator send a binding request to the end device (on end device side). I saw the request using a sniffer, I see some traffic on the esp_zb_aps_data_indication_handler, but the esp_zb_app_signal_handler don't trigger anything (i was guessing ESP_ZB_BDB_SIGNAL_FINDING_AND_BINDING_INITIATOR_FINISHED or ESP_ZB_BDB_SIGNAL_FINDING_AND_BINDING_TARGET_FINISHED). How could i set up a call back to intercept the binding request from coordinator on end device side ?
Thanks ahead
Additional context.
No response
The text was updated successfully, but these errors were encountered:
I'm able to send esp_zb_zdo_binding_table_req command that return table but I understood that it is the reading of remote device (coordinator), am I correct ?
It's partially true. ZDO commands are sent through the network, you can send the request to the local device if you populate the correct address.
I was guessing that the end device shall have it's own binding table, ideally using NVS. Is it the case in the sdk implementation ? If yes how could I retrieve this table ?
The SDK implements binding table for end device and stores it in NVS. You can send esp_zb_zdo_binding_table_req to local device to retrieve the binding table.
Additionally, I try to get the signal from the stack when the coordinator send a binding request to the end device (on end device side).
Bindings are processed by the APS layer of the stack, users are not expected to deal with it themselves. Any special use cases?
Question
I'm working on zigbee end devices and I cannot figure out how to access the device binding table:
I'm able to send
esp_zb_zdo_binding_table_req
command that return table but I understood that it is the reading of remote device (coordinator), am I correct ? Moreover, the returned structures linked by the next pointer are not located at the same memory address than the one returned by continuously requesting the next record using index.I was guessing that the end device shall have it's own binding table, ideally using NVS. Is it the case in the sdk implementation ? If yes how could I retrieve this table ?
Additionally, I try to get the signal from the stack when the coordinator send a binding request to the end device (on end device side). I saw the request using a sniffer, I see some traffic on the
esp_zb_aps_data_indication_handler
, but theesp_zb_app_signal_handler
don't trigger anything (i was guessing ESP_ZB_BDB_SIGNAL_FINDING_AND_BINDING_INITIATOR_FINISHED or ESP_ZB_BDB_SIGNAL_FINDING_AND_BINDING_TARGET_FINISHED). How could i set up a call back to intercept the binding request from coordinator on end device side ?Thanks ahead
Additional context.
No response
The text was updated successfully, but these errors were encountered: