Open asbachb opened 2 days ago
@asbachb
Is that the correct way to fetch the time from the zigbee network?
I think so. Have you registered the zb_action_handler
using esp_zb_core_action_handler_register()
? please refer to the link. If this is already done, could you check whether the read_response
command has been sent by the coordinator?
esp_zb_core_action_handler_register
Yes. That's part of my initialization code:
esp_zb_device_register(esp_zb_ep_list);
esp_zb_core_action_handler_register(zb_action_handler);
esp_zb_set_primary_network_channel_set(ESP_ZB_PRIMARY_CHANNEL_MASK);
ESP_ERROR_CHECK(esp_zb_start(false));
esp_zb_stack_main_loop();
...
static esp_err_t zb_action_handler(esp_zb_core_action_callback_id_t callback_id, const void *message) {
ESP_LOGW(TAG, "Receive Zigbee action(0x%x) callback", callback_id);
It seems I don't get a reply at all. Where should I expect the read_response
command?
It seems I don't get a reply at all. Where should I expect the read_response command?
It is better to use the Zigbee sniffer to capture it from the air. If the coordinator without response anything, the zb_action_handler()
will not be triggered.
Question
Hello,
I'm currently try to get the time from my coordinator (Sonoff ZBDonge-E).
After the network steering I try to request the time:
But actually nothing is happening after sending the request:
Is that the correct way to fetch the time from the zigbee network?
Additional context.
No response