-
Notifications
You must be signed in to change notification settings - Fork 43
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
NCP Sample. esp_ncp_zb_action_handler never triggered (TZ-1506) #546
Comments
@cheldonec I check the examples on main branch, it works fine. the LOG is Host.log, Ncp.log, HA_on_off_light.log. What do i missing something? you can also check it again use the firmware issues_546_0205.zip which use pin as follows:
NCP
|
The real device sends a report when the status changes. I expect the function to be called in the NCP modules. I wait (ESP_LOGI(TAG, "Reveived report from address(0x%x) src endpoint(%d) to dst endpoint(%d) cluster(0x%x)", message->src_address.u.short_addr, |
@cheldonec It need call |
I assumed that this call should happen in the ActionHandler. ApsIndication is work!!!!! ActionHandler not((( |
@lhespress I've tried with real devices that send reports. My question is not about the end device example, but about NCP. My project got stuck because of this issue. If you enable ApsIndication, reports arrive, but problems start with adding devices. Maybe I'm doing something wrong? But the impression remains that NCP is not working correctly. If I run the experiment without NCP, then everything works, but I need stable WI-FI on one chip and ZIGBEE on the other. |
@cheldonec I mean you should develop |
@lhespress https://github.com/espressif/esp-zigbee-sdk/blob/main/components/esp-zigbee-ncp/src/esp_ncp_zb.c `static esp_err_t esp_ncp_zb_action_handler(esp_zb_core_action_callback_id_t callback_id, const void *message)
}` This function is not called!!! |
@cheldonec Please git apply the patch report_0207.zip and check it use When click
|
@lhespress |
Sorry with my back vocal))) I understand some problemes. |
@cheldonec PLS do it step by step as follows:
|
@lhespress Thank you very much. |
@lhespress Thanks for the help. |
Question
The esp_ncp_zb_action_handler handler is not triggered. The binding is successful! Light control from boot btn is successful!
The registration of the handler is provided in the component, but I can't get the data in any way. (esp_ncp_zb.c line 492 - handler, line 538 registration)
I use the following chips:
NCP - ESP32-H2
HOST - ESP32-C6
Help me please!
Additional context.
idf_component.yml
`## IDF Component Manager Manifest File
dependencies:
espressif/esp-zboss-lib: "~1.6.0"
espressif/esp-zigbee-lib: "~1.6.0"
espressif/esp-zigbee-ncp:
version: "1.*"
override_path: "../../../components/esp-zigbee-ncp"
Required IDF version
idf:
version: ">=5.0.0"`
HOST LOG

NCP LOG
The text was updated successfully, but these errors were encountered: