Closed RVC69 closed 8 months ago
Hello @RVC69 ,
Regarding these issues, I believe the command esp_zb_zcl_read_attr_cmd_req()
is being used correctly by you. However, it is necessary for you to utilize the sniffer to confirm whether the packet of read_cmd_req
sent by the ESP
device and the packet of read_cmd_resp
responded by the Aqara
are being transmitted or not.
Hello, Thanks for the answer, using sniffer and wireshark, binding new device and reading aqara temperature sensor, gives the following logs. Comments are welcomed.
####################################################################################################################################
ESP IDF LOGS
I (3240) ZBOSS: zcl/zcl_main.c:67 >>zcl_init
I (3240) ZBOSS: zcl/zcl_reporting.c:112 >>zb_zcl_init_reporting_ctx
I (3250) ZBOSS: zcl/zcl_reporting.c:120 Use 23 buffer for reporting
I (3250) ZBOSS: zcl/zcl_reporting.c:134 <<zb_zcl_init_reporting_ctx
I (3260) ZBOSS: zcl/zcl_main.c:94 <<zcl_init
I (3260) ZBOSS: zll/zll_sas.c:105 > zb_zll_process_sas
I (3270) ZBOSS: zll/zll_sas.c:42 > zb_zll_sas_startup_attr
I (3280) ZBOSS: zll/zll_sas.c:61 < zb_zll_sas_startup_attr
I (3280) ZBOSS: zll/zll_sas.c:99 < zb_zll_sas_security_attr
I (3290) ZBOSS: zll/zll_sas.c:113 < zb_zll_process_sas
I (3300) ZBOSS: common/zb_init_default.c:183 FFD build
I (3300) ZBOSS: common/zb_init_default.c:187 sizes: g_zb 19924 sched 1312 bpool 9856 nwk 1908 aps 3904 addr 660 zdo 836
I (3310) ZBOSS: common/zb_init_default.c:196 sec 2
I (3320) ZBOSS: common/zb_init_default.c:198 zcl 600
I (3330) ZBOSS: common/zb_init_default.c:201 zll 380
I (3330) ZBOSS: common/zb_init_default.c:207 nvram 140
I (3340) ZBOSS: common/zb_init_default.c:210 buttons 140
I (3340) ZBOSS: common/zb_init_default.c:212 err_ind 4
I (3350) ZBOSS: common/zb_init_default.c:218 scheduler q size 60
I (3360) ZBOSS: common/zb_init_default.c:221 g_mac 800 g_imac 28
I (3360) ZBOSS: common/zb_init_default.c:231 ZB_IOBUF_POOL_SIZE 60 ZB_NWK_IN_Q_SIZE 30 ZB_MAC_PENDING_QUEUE_SIZE 15 ZB_APS_DST_BINDING_TABLE_SIZE 64 ZB_APS_BIND_TRANS_TABLE_SIZE 16 ZB_N_APS_RETRANS_ENTRIES 20
I (3380) ZBOSS: common/zb_init_default.c:261 ZB_N_APS_KEY_PAIR_ARR_MAX_SIZE 32 ZB_IEEE_ADDR_TABLE_SIZE 32 ZB_NEIGHBOR_TABLE_SIZE 32 ZB_NWK_ROUTING_TABLE_SIZE 5 ZB_APS_DUPS_TABLE_SIZE 32
I (3400) ZBOSS: commissioning/bdb/bdb_finding_binding.c:60 > zb_bdb_finding_binding_init_ctx
I (3410) ZBOSS: commissioning/bdb/bdb_finding_binding.c:64 < zb_bdb_finding_binding_init_ctx
I (3420) ZBOSS: zcl/zcl_diagnostics_commands.c:109 >>zb_zcl_diagnostics_sync_counters(), cb_param 0, cb 0x0x0
I (3430) ZBOSS: zcl/zcl_diagnostics_commands.c:118 Synchronization is scheduled!
I (3440) ZBOSS: zcl/zcl_diagnostics_commands.c:128 <<zb_zcl_diagnostics_sync_counters()
I (3450) ZBOSS: zdo/zdo_app_prod_conf.c:144 no production config block found
I (3450) ZBOSS: zdo/zdo_app_prod_conf.c:781 no valid production configuration found, signaling to application
I (3470) ZIGBEE: Zigbee stack running
I (3470) ZBOSS: zcl/zcl_diagnostics_commands.c:74 >>zb_zcl_diagnostics_sync_counters_cb(), param 25
I (3480) ZBOSS: zcl/zcl_diagnostics_commands.c:76 status 0x0
I (3490) ZBOSS: zcl/zcl_diagnostics_commands.c:101 <<zb_zcl_diagnostics_sync_counters_cb()
I (3500) ZBOSS: commissioning/bdb/zdo_commissioning_bdb.c:340 dev type 0, joined 1, ext_pan_id 1, authenticated 1
I (3510) ZBOSS: zdo/zdo_formation.c:78 zb_nlme_network_formation_confirm 26 status 0
W (3520) ZIGBEE: Network(0x5c56) closed, devices joining not allowed.
I (3520) RGB_LED: RGB Led R(0) G(0) B(0) Blink (0)
I (3630) ZBOSS: commissioning/bdb/zdo_commissioning_bdb.c:549 COMMISSIONING_STOP: app signal 6 comm status 0
I (3630) ZIGBEE: Start network formation
I (3630) ZBOSS: commissioning/bdb/zdo_commissioning_bdb.c:549 COMMISSIONING_STOP: app signal 11 comm status 0
I (3640) ZIGBEE: Formed network successfully (ieee_address: 40:4c:ca:ff:fe:4a:c6:e4, PAN ID: 0x5c56, Channel:13)
I (4250) ZIGBEE: Network(0x5c56) is open for 180 seconds
I (4250) RGB_LED: RGB Led R(0) G(0) B(255) Blink (250)
I (4350) ZBOSS: commissioning/bdb/zdo_commissioning_bdb.c:549 COMMISSIONING_STOP: app signal 10 comm status 0
I (4350) ZIGBEE: Joined network successfully (Extended PAN ID: 40:4c:ca:ff:fe:4a:c6:e4, PAN ID: 0x5c56, Channel:13, Short Address: 0x0000)
I (8200) ZIGBEE: Device not found IEEE address: 00:15:8d:00:02:82:ee:2d
I (28200) ZIGBEE: Device not found IEEE address: 00:15:8d:00:02:82:ee:2d
I (48200) ZIGBEE: Device not found IEEE address: 00:15:8d:00:02:82:ee:2d
I (49930) ZBOSS: nwk/nwk_cr_join.c:1269 association: status 0, address 0x18af, device 00:15:8d:00:02:82:ee:2d, mac_iface_idx 0
I (50650) ZBOSS: secur/bdb_secur.c:397 ACHTUNG: schedule bdb_link_key_refresh_alarm, ref 31
I (50910) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (50910) ZIGBEE: New device commissioned or rejoined (short: 0x18af) Capability 0x80
I (50960) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (50960) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (50960) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (50970) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (50980) ZBOSS: zdo/af_rx.c:459 APS pkt 11 for ep 1 is not recognized - drop
I (51760) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (51760) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (51770) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (51770) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (51780) ZBOSS: zdo/af_rx.c:459 APS pkt 12 for ep 1 is not recognized - drop
I (52280) ZIGBEE: Found new End Device: status(0), address(0x18af), endpoint(1)
I (55530) ZIGBEE: New End Device Active endpoint response: status(0) and endpoint count(1)
I (55530) ZIGBEE: End Device Endpoint ID List: 1
I (55740) ZIGBEE: End Device IEEE address : 00:15:8d:00:02:82:ee:2d
I (55940) ZIGBEE: End Device Simple descriptor response: status(0), device_id(0x302), app_version(1), profile_id(0x104), endpoint_ID(1)
I (55940) ZIGBEE: Cluster ID list: 0x0
I (55940) ZIGBEE: Cluster ID list: 0x3
I (55950) ZIGBEE: Cluster ID list: 0xffff
I (55950) ZIGBEE: Cluster ID list: 0x402
I (55960) ZIGBEE: Found temperature measurement device
I (55960) ZIGBEE: Device not found IEEE address: 00:15:8d:00:02:82:ee:2d
I (55970) ZIGBEE: Devices free index 0
I (55980) ZIGBEE: Binding End Device endpoint (0x1), address(0x18af), cluster(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d
I (55990) ZIGBEE: Cluster ID list: 0x403
I (55990) ZIGBEE: Cluster ID list: 0x405
I (56000) ZIGBEE: Found humidity measurement device
I (56000) ZIGBEE: Device not found IEEE address: 00:15:8d:00:02:82:ee:2d
I (56010) ZIGBEE: Devices free index 1
I (56010) ZIGBEE: Binding End Device endpoint (0x1), address(0x18af), cluster(0x405), IEEE address: 00:15:8d:00:02:82:ee:2d
I (56030) ZIGBEE: Cluster ID list: 0x0
I (56030) ZIGBEE: Cluster ID list: 0x4
I (56030) ZIGBEE: Cluster ID list: 0xffff
I (56040) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 1032
I (56050) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (56060) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 1124
I (56080) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (56080) ZIGBEE: Bind success, response from endpoint(0x1), address(0x18af) with status(0x0)
I (56080) ZIGBEE: Device bound to gateway endpoint(0x1), address(0x18af), clusterId(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d
I (56100) RGB_LED: RGB Led R(255) G(0) B(255) Blink (500)
I (56700) ZIGBEE: Updating device with addr 00:15:8d:00:02:82:ee:2d, cluster (0x402)
I (56700) CONFIG: Updating device 00:15:8d:00:02:82:ee:2d mode:(0x402) status: (0x1)
I (56700) CONFIG: Adding new device 00:15:8d:00:02:82:ee:2d
I (56760) ZIGBEE: Bind success, response from endpoint(0x1), address(0x18af) with status(0x0)
I (56760) ZIGBEE: Device bound to gateway endpoint(0x1), address(0x18af), clusterId(0x405), IEEE address: 00:15:8d:00:02:82:ee:2d
I (56770) RGB_LED: RGB Led R(255) G(0) B(255) Blink (500)
I (57880) ZIGBEE: Updating device with addr 00:15:8d:00:02:82:ee:2d, cluster (0x405)
I (57880) CONFIG: Updating device 00:15:8d:00:02:82:ee:2d mode:(0x405) status: (0x1)
I (57880) CONFIG: Adding new device 00:15:8d:00:02:82:ee:2d
I (57910) ZBOSS: nwk/nwk_main.c:3688 Put 7 into input queue (blocked by 26)
I (57910) ZBOSS: nwk/nwk_main.c:3688 Put 8 into input queue (blocked by 26)
I (57910) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (57920) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (57930) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (57940) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (57940) ZBOSS: zdo/af_rx.c:459 APS pkt 26 for ep 1 is not recognized - drop
I (57950) ZBOSS: nwk/nwk_main.c:2301 set input_blocked_by and process 7 from in queue
I (57960) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (57970) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (57980) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (57990) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (57990) ZBOSS: zdo/af_rx.c:459 APS pkt 7 for ep 1 is not recognized - drop
I (58000) ZBOSS: nwk/nwk_main.c:2301 set input_blocked_by and process 8 from in queue
I (58010) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (58020) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (58030) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (58030) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (58040) ZBOSS: zdo/af_rx.c:459 APS pkt 8 for ep 1 is not recognized - drop
I (59840) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (59840) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (59850) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (59860) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (59870) ZBOSS: zdo/af_rx.c:459 APS pkt 10 for ep 1 is not recognized - drop
I (59880) ZBOSS: nwk/nwk_main.c:3688 Put 12 into input queue (blocked by 11)
I (59880) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (59890) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (59900) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (59910) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (59910) ZBOSS: zdo/af_rx.c:459 APS pkt 11 for ep 1 is not recognized - drop
I (59920) ZBOSS: nwk/nwk_main.c:2301 set input_blocked_by and process 12 from in queue
I (59930) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (59940) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (59950) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (59960) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (59960) ZBOSS: zdo/af_rx.c:459 APS pkt 12 for ep 1 is not recognized - drop
I (63110) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (63110) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (63120) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (63130) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (63130) ZBOSS: zdo/af_rx.c:459 APS pkt 6 for ep 1 is not recognized - drop
I (63140) ZBOSS: nwk/nwk_main.c:3688 Put 14 into input queue (blocked by 15)
I (63150) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (63160) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (63170) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (63170) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (63180) ZBOSS: zdo/af_rx.c:459 APS pkt 15 for ep 1 is not recognized - drop
I (63190) ZBOSS: nwk/nwk_main.c:2301 set input_blocked_by and process 14 from in queue
I (63200) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (63210) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (63210) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (63220) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (63230) ZBOSS: zdo/af_rx.c:459 APS pkt 14 for ep 1 is not recognized - drop
I (66180) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 1288
I (66180) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (66190) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 1412
I (66190) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (66210) ZBOSS: common/zb_nvram.c:3401 zb_nvram_aps_groups_length 4
I (66210) ZBOSS: common/zb_nvram.c:3372 > zb_nvram_write_aps_groups_dataset page 0 pos 1436
I (66220) ZBOSS: common/zb_nvram.c:3384 < zb_nvram_write_aps_groups_dataset
I (66240) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 1536
I (66240) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (66240) ZBOSS: nwk/nwk_main.c:4278 Failed zb_nwk_neighbor_delete [-28]
I (68200) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x18af), clusterId(0x402),
IEEE address: 00:15:8d:00:02:82:ee:2d
I (68200) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 15 delay 0
I (68210) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (68220) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1
I (68230) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0
I (68230) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1
I (68240) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes
I (68250) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 1
I (68260) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff
I (68270) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 1 cluster 0x402 res 0
I (68280) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x402, APS security required: no
I (68280) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 15, cb 0x0
I (68290) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0
I (68300) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0xf, ref 15, len 5
I (68310) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x0 CMD: 0x0
I (88310) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x18af), clusterId(0x402),
IEEE address: 00:15:8d:00:02:82:ee:2d
I (88310) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 2 delay 0
I (88320) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (88330) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1
I (88340) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0
I (88340) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1
I (88350) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes
I (88360) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 1
I (88370) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff
I (88380) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 1 cluster 0x402 res 0
I (88390) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x402, APS security required: no
I (88390) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 2, cb 0x0
I (88400) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0
I (88410) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0x2, ref 2, len 5
I (88420) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x1 CMD: 0x0
I (90590) ZBOSS: nwk/nwk_cr_join.c:703 rejoined old 0x18af new 0x18af = 00:15:8d:00:02:82:ee:2d
I (90600) ZIGBEE: New device commissioned or rejoined (short: 0x18af) Capability 0x80
I (95690) ESP_ZIGBEE_API_ZDO: ZDO match descriptor request timeout! NO DEVICE FOUND !
I (95690) ZIGBEE: Error device_find_cb addr: (0xffff) endpoint: (0xff) status:133
W (96110) ESP_ZIGBEE_API_ZDO: The tsn of callback is not found
W (96110) ESP_ZIGBEE_API_ZDO: The tsn of callback is not found and can't remove
I (96310) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (99550) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (99790) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (99790) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (99790) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (99800) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (99810) ZBOSS: zdo/af_rx.c:459 APS pkt 14 for ep 1 is not recognized - drop
I (99820) ZBOSS: nwk/nwk_main.c:3688 Put 17 into input queue (blocked by 16)
I (99830) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (99830) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (99840) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (99850) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (99860) ZBOSS: zdo/af_rx.c:459 APS pkt 16 for ep 1 is not recognized - drop
I (99870) ZBOSS: nwk/nwk_main.c:2301 set input_blocked_by and process 17 from in queue
I (99870) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (99880) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (99890) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (99900) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (99910) ZBOSS: zdo/af_rx.c:459 APS pkt 17 for ep 1 is not recognized - drop
I (103050) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (103050) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (103060) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (103070) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (103070) ZBOSS: zdo/af_rx.c:459 APS pkt 19 for ep 1 is not recognized - drop
I (103090) ZBOSS: nwk/nwk_main.c:3688 Put 21 into input queue (blocked by 20)
I (103090) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (103100) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (103110) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (103120) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (103120) ZBOSS: zdo/af_rx.c:459 APS pkt 20 for ep 1 is not recognized - drop
I (103130) ZBOSS: nwk/nwk_main.c:2301 set input_blocked_by and process 21 from in queue
I (103140) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (103150) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104
I (103160) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist!
I (103170) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0
I (103170) ZBOSS: zdo/af_rx.c:459 APS pkt 21 for ep 1 is not recognized - drop
I (106120) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 1808
I (106120) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (106130) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 1932
I (106140) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (106150) ZBOSS: common/zb_nvram.c:3401 zb_nvram_aps_groups_length 4
I (106150) ZBOSS: common/zb_nvram.c:3372 > zb_nvram_write_aps_groups_dataset page 0 pos 1956
I (106160) ZBOSS: common/zb_nvram.c:3384 < zb_nvram_write_aps_groups_dataset
I (106180) ZBOSS: common/zb_nvram.c:3248 > zb_nvram_write_aps_binding_dataset page 0 pos 2056
I (106180) ZBOSS: common/zb_nvram.c:3303 < zb_nvram_write_aps_binding_dataset
I (106190) ZBOSS: nwk/nwk_main.c:4278 Failed zb_nwk_neighbor_delete [-28]
I (108420) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x18af), clusterId(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d
I (108420) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 4 delay 0
I (108430) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (108440) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1
I (108450) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0
I (108450) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1
I (108460) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes
I (108470) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 1
I (108480) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff
I (108490) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 1 cluster 0x402 res 0
I (108500) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x402, APS security required: no
I (108510) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 4, cb 0x0
I (108510) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0
I (108520) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0x4, ref 4, len 5
I (108530) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x2 CMD: 0x0
I (128530) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x18af), clusterId(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d
I (128530) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 7 delay 0
I (128540) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (128550) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1
I (128560) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0
I (128560) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1
I (128570) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes
I (128580) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 1
I (128590) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff
I (128600) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 1 cluster 0x402 res 0
I (128610) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x402, APS security required: no
I (128620) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 7, cb 0x0
I (128620) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0
I (128630) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0x7, ref 7, len 5
I (128640) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x3 CMD: 0x0
I (148640) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x18af), clusterId(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d
I (148640) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 6 delay 0
I (148650) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (148660) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1
I (148670) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0
I (148670) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1
I (148680) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes
I (148690) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 1
I (148700) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff
I (148710) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 1 cluster 0x402 res 0
I (148720) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x402, APS security required: no
I (148730) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 6, cb 0x0
I (148730) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0
I (148740) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0x6, ref 6, len 5
I (148750) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x4 CMD: 0x0
I (168750) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x18af), clusterId(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d
I (168750) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 15 delay 0
I (168760) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (168770) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1
I (168780) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0
I (168780) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1
I (168790) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes
I (168800) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 1
I (168810) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff
I (168820) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 1 cluster 0x402 res 0
I (168830) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x402, APS security required: no
I (168840) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 15, cb 0x0
I (168840) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0
I (168850) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0xf, ref 15, len 5
I (168860) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x5 CMD: 0x0
I (169470) ZBOSS: zdo/af_rx.c:490 zb_zdo_device_is_unreachable: addr_ref 22
I (169470) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
I (169470) ZBOSS: zdo/zdo_app_leave.c:358 no nbt for addr_ref 22, do nothing
I (169480) ZBOSS: zdo/zdo_app_leave.c:381 zb_nwk_neighbor_delete addr_ref not found [-28]
W (186730) ZIGBEE: Network(0x5c56) closed, devices joining not allowed.
WIRESHARK LOGS 1 0.000000 0x0000 Broadcast ZigBee 56 Data, Dst: Broadcast, Src: 0x0000 2 0.559063 0x0000 Broadcast ZigBee 56 Data, Dst: Broadcast, Src: 0x0000 3 14.880014 0x0000 Broadcast ZigBee 47 Command, Dst: Broadcast, Src: 0x0000 4 18.360759 Broadcast IEEE 802.15.4 10 Beacon Request 5 18.448883 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 6 29.900573 0x0000 Broadcast ZigBee 47 Command, Dst: Broadcast, Src: 0x0000 7 30.082540 Broadcast IEEE 802.15.4 10 Beacon Request 8 30.169368 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 9 39.661228 Broadcast IEEE 802.15.4 10 Beacon Request 10 39.769780 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 11 44.961188 0x0000 Broadcast ZigBee 47 Command, Dst: Broadcast, Src: 0x0000 12 46.167003 Broadcast IEEE 802.15.4 10 Beacon Request 13 46.190052 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 14 46.244737 00:15:8d:00:02:82:ee:2d 0x0000 IEEE 802.15.4 21 Association Request, RFD 15 46.245801 IEEE 802.15.4 5 Ack 16 46.737687 00:15:8d:00:02:82:ee:2d 0x0000 IEEE 802.15.4 18 Data Request 17 46.738655 IEEE 802.15.4 5 Ack 18 46.740042 40:4c:ca:ff:fe:4a:c6:e4 00:15:8d:00:02:82:ee:2d IEEE 802.15.4 27 Association Response, PAN: 0x5c56 Addr: 0x18af 19 46.741291 IEEE 802.15.4 5 Ack 20 46.962733 0x18af 0x0000 IEEE 802.15.4 12 Data Request 21 46.963508 IEEE 802.15.4 5 Ack 22 47.161715 0x18af 0x0000 IEEE 802.15.4 12 Data Request 23 47.162491 IEEE 802.15.4 5 Ack 24 47.166243 0x0000 0x18af ZigBee 89 Transport Key 25 47.169475 IEEE 802.15.4 5 Ack 26 47.220705 0x18af Broadcast ZigBee ZDP 57 Device Announcement, Nwk Addr: 0x18af, Ext Addr: Jennic_00:02:82:ee:2d 27 47.220872 IEEE 802.15.4 5 Ack 28 47.265622 0x18af 0x0000 ZigBee HA 68 ZCL: Report Attributes, Seq: 0 29 47.268189 IEEE 802.15.4 5 Ack 30 47.302686 0x18af Broadcast ZigBee ZDP 57 Device Announcement, Nwk Addr: 0x18af, Ext Addr: Jennic_00:02:82:ee:2d 31 48.068076 0x18af 0x0000 ZigBee HA 89 ZCL: Report Attributes, Seq: 1 32 48.071315 IEEE 802.15.4 5 Ack 33 48.579906 0x18af 0x0000 IEEE 802.15.4 12 Data Request 34 48.580681 IEEE 802.15.4 5 Ack 35 48.583084 0x0000 0x18af ZigBee ZDP 74 Match Descriptor Request, Nwk Addr: 0x18af, Profile: 0x0104 36 48.585838 IEEE 802.15.4 5 Ack 37 48.588642 0x18af 0x0000 ZigBee 45 APS: Ack, Dst Endpt: 0, Src Endpt: 0 38 48.590474 IEEE 802.15.4 5 Ack 39 48.592338 0x18af 0x0000 ZigBee ZDP 51 Match Descriptor Response, Nwk Addr: 0x18af, Status: Success 40 48.594362 IEEE 802.15.4 5 Ack 41 48.786908 0x18af 0x0000 IEEE 802.15.4 12 Data Request 42 48.787684 IEEE 802.15.4 5 Ack 43 48.789972 0x0000 0x18af ZigBee 61 APS: Ack, Dst Endpt: 0, Src Endpt: 0 44 48.792308 IEEE 802.15.4 5 Ack 45 51.831830 0x18af 0x0000 IEEE 802.15.4 12 Data Request 46 51.832606 IEEE 802.15.4 5 Ack 47 51.834691 0x0000 0x18af ZigBee ZDP 64 Active Endpoint Request, Nwk Addr: 0x18af 48 51.837122 IEEE 802.15.4 5 Ack 49 51.839890 0x18af 0x0000 ZigBee 45 APS: Ack, Dst Endpt: 0, Src Endpt: 0 50 51.841722 IEEE 802.15.4 5 Ack 51 51.843593 0x18af 0x0000 ZigBee ZDP 51 Active Endpoint Response, Nwk Addr: 0x18af, Status: Success 52 51.845610 IEEE 802.15.4 5 Ack 53 52.037805 0x18af 0x0000 IEEE 802.15.4 12 Data Request 54 52.038600 IEEE 802.15.4 5 Ack 55 52.040868 0x0000 0x18af ZigBee ZDP 66 Extended Address Request, Nwk Addr: 0x18af 56 52.043364 IEEE 802.15.4 5 Ack 57 52.045808 0x18af 0x0000 ZigBee 45 APS: Ack, Dst Endpt: 0, Src Endpt: 0 58 52.047640 IEEE 802.15.4 5 Ack 59 52.048872 0x18af 0x0000 ZigBee ZDP 57 Extended Address Response, Status: Success, Nwk Addr: 0x18af = Jennic_00:02:82:ee:2d 60 52.051088 IEEE 802.15.4 5 Ack 61 52.236165 0x18af 0x0000 IEEE 802.15.4 12 Data Request 62 52.236941 IEEE 802.15.4 5 Ack 63 52.239276 0x0000 0x18af ZigBee ZDP 65 Simple Descriptor Request, Nwk Addr: 0x18af, Endpoint: 1 64 52.241741 IEEE 802.15.4 5 Ack 65 52.243561 0x18af 0x0000 ZigBee 45 APS: Ack, Dst Endpt: 0, Src Endpt: 0 66 52.245393 IEEE 802.15.4 5 Ack 67 52.246626 0x18af 0x0000 ZigBee ZDP 76 Simple Descriptor Response, Nwk Addr: 0x18af, Status: Success 68 52.249450 IEEE 802.15.4 5 Ack 69 52.435127 0x18af 0x0000 IEEE 802.15.4 12 Data Request 70 52.435903 IEEE 802.15.4 5 Ack 71 52.883399 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 0 72 52.885486 IEEE 802.15.4 5 Ack 73 52.887671 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 1 74 52.889773 IEEE 802.15.4 5 Ack 75 52.891631 0x18af 0x0000 ZigBee HA 62 ZCL: Report Attributes, Seq: 2 76 52.893999 IEEE 802.15.4 5 Ack 77 54.218680 0x0000 0x18af ZigBee 61 APS: Ack, Dst Endpt: 0, Src Endpt: 0 78 55.941214 0x18af 0x0000 IEEE 802.15.4 12 Data Request 79 55.941989 IEEE 802.15.4 5 Ack 80 55.944257 0x0000 0x18af ZigBee 61 APS: Ack, Dst Endpt: 0, Src Endpt: 0 81 55.946594 IEEE 802.15.4 5 Ack 82 56.154056 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 3 83 56.156144 IEEE 802.15.4 5 Ack 84 56.158329 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 4 85 56.160429 IEEE 802.15.4 5 Ack 86 56.162280 0x18af 0x0000 ZigBee HA 62 ZCL: Report Attributes, Seq: 5 87 56.164656 IEEE 802.15.4 5 Ack 88 59.208864 0x18af 0x0000 IEEE 802.15.4 12 Data Request 89 59.209635 IEEE 802.15.4 5 Ack 90 59.211864 0x0000 0x18af ZigBee 61 APS: Ack, Dst Endpt: 0, Src Endpt: 0 91 59.214184 IEEE 802.15.4 5 Ack 92 59.421589 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 6 93 59.423677 IEEE 802.15.4 5 Ack 94 59.425871 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 7 95 59.427949 IEEE 802.15.4 5 Ack 96 59.429814 0x18af 0x0000 ZigBee HA 62 ZCL: Report Attributes, Seq: 8 97 59.432190 IEEE 802.15.4 5 Ack 98 59.971911 0x0000 Broadcast ZigBee 47 Link Status 99 62.478090 0x18af 0x0000 IEEE 802.15.4 12 Data Request 100 62.478866 IEEE 802.15.4 5 Ack 101 62.481084 0x0000 0x18af ZigBee 55 Leave 102 62.483230 IEEE 802.15.4 5 Ack 103 62.485890 0x18af Broadcast ZigBee 47 Leave 104 62.487786 IEEE 802.15.4 5 Ack 105 64.662116 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 106 64.971616 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 107 65.281655 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 108 65.999372 Broadcast IEEE 802.15.4 10 Beacon Request 109 66.090905 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 110 70.117718 Broadcast IEEE 802.15.4 10 Beacon Request 111 70.201042 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 112 74.236758 Broadcast IEEE 802.15.4 10 Beacon Request 113 74.311264 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 114 75.020418 0x0000 Broadcast ZigBee 47 Link Status 115 78.355446 Broadcast IEEE 802.15.4 10 Beacon Request 116 78.431434 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 117 79.902644 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 118 80.222308 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 119 80.532278 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 120 82.475977 Broadcast IEEE 802.15.4 10 Beacon Request 121 82.611615 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 122 86.595183 Broadcast IEEE 802.15.4 10 Beacon Request 123 86.597004 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 124 86.640873 0x18af 0x0000 ZigBee 47 Rejoin Request, Device: 0x18af 125 86.642748 IEEE 802.15.4 5 Ack 126 86.644613 0x18af 0x0000 IEEE 802.15.4 12 Data Request 127 86.645388 IEEE 802.15.4 5 Ack 128 86.649532 0x0000 0x18af ZigBee HA 66 ZCL: Read Attributes, Seq: 0 129 86.652029 IEEE 802.15.4 5 Ack 130 86.762432 0x18af 0x0000 IEEE 802.15.4 12 Data Request 131 86.763207 IEEE 802.15.4 5 Ack 132 86.765318 0x0000 0x18af ZigBee HA 66 ZCL: Read Attributes, Seq: 1 133 86.767816 IEEE 802.15.4 5 Ack 134 86.885623 0x18af 0x0000 IEEE 802.15.4 12 Data Request 135 86.886399 IEEE 802.15.4 5 Ack 136 86.888419 0x0000 0x18af ZigBee 57 Rejoin Response, New Address: 0x18af 137 86.888580 IEEE 802.15.4 5 Ack 138 86.901680 0x18af Broadcast ZigBee ZDP 57 Device Announcement, Nwk Addr: 0x18af, Ext Addr: Jennic_00:02:82:ee:2d 139 86.903895 IEEE 802.15.4 5 Ack 140 86.953199 0x18af Broadcast ZigBee ZDP 57 Device Announcement, Nwk Addr: 0x18af, Ext Addr: Jennic_00:02:82:ee:2d 141 90.063036 0x0000 Broadcast ZigBee 47 Link Status 142 92.407442 0x18af 0x0000 IEEE 802.15.4 12 Data Request 143 92.408217 IEEE 802.15.4 5 Ack 144 92.410580 0x0000 0x18af ZigBee ZDP 74 Match Descriptor Request, Nwk Addr: 0x18af, Profile: 0x0104 145 92.413334 IEEE 802.15.4 5 Ack 146 92.414102 0x18af 0x0000 ZigBee 45 APS: Ack, Dst Endpt: 0, Src Endpt: 0 147 92.417981 IEEE 802.15.4 5 Ack 148 92.419846 0x18af 0x0000 ZigBee ZDP 51 Match Descriptor Response, Nwk Addr: 0x18af, Status: Success 149 92.421869 IEEE 802.15.4 5 Ack 150 92.614431 0x18af 0x0000 IEEE 802.15.4 12 Data Request 151 92.615207 IEEE 802.15.4 5 Ack 152 92.617524 0x0000 0x18af ZigBee HA 66 ZCL: Read Attributes, Seq: 0 153 92.620020 IEEE 802.15.4 5 Ack 154 92.622464 0x18af 0x0000 ZigBee 45 APS: Ack, Dst Endpt: 1, Src Endpt: 1 155 92.624295 IEEE 802.15.4 5 Ack 156 92.812781 0x18af 0x0000 IEEE 802.15.4 12 Data Request 157 92.813557 IEEE 802.15.4 5 Ack 158 92.815810 0x0000 0x18af ZigBee 61 APS: Ack, Dst Endpt: 0, Src Endpt: 0 159 92.818145 IEEE 802.15.4 5 Ack 160 95.856729 0x18af 0x0000 IEEE 802.15.4 12 Data Request 161 95.857503 IEEE 802.15.4 5 Ack 162 95.859759 0x0000 0x18af ZigBee HA 66 ZCL: Read Attributes, Seq: 1 163 95.862256 IEEE 802.15.4 5 Ack 164 95.865020 0x18af 0x0000 ZigBee 45 APS: Ack, Dst Endpt: 1, Src Endpt: 1 165 95.866851 IEEE 802.15.4 5 Ack 166 96.099311 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 1 167 96.101398 IEEE 802.15.4 5 Ack 168 96.103583 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 2 169 96.105671 IEEE 802.15.4 5 Ack 170 96.107535 0x18af 0x0000 ZigBee HA 62 ZCL: Report Attributes, Seq: 3 171 96.109911 IEEE 802.15.4 5 Ack 172 99.157624 0x18af 0x0000 IEEE 802.15.4 12 Data Request 173 99.158400 IEEE 802.15.4 5 Ack 174 99.362946 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 4 175 99.367085 IEEE 802.15.4 5 Ack 176 99.369266 0x18af 0x0000 ZigBee HA 53 ZCL: Report Attributes, Seq: 5 177 99.371353 IEEE 802.15.4 5 Ack 178 99.373229 0x18af 0x0000 ZigBee HA 62 ZCL: Report Attributes, Seq: 6 179 99.375594 IEEE 802.15.4 5 Ack 180 102.422537 0x18af 0x0000 IEEE 802.15.4 12 Data Request 181 102.423310 IEEE 802.15.4 5 Ack 182 102.425531 0x0000 0x18af ZigBee 55 Leave 183 102.427674 IEEE 802.15.4 5 Ack 184 102.430334 0x18af Broadcast ZigBee 47 Leave 185 102.432230 IEEE 802.15.4 5 Ack 186 104.893835 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 187 105.123610 0x0000 Broadcast ZigBee 47 Link Status 188 105.203322 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 189 105.513381 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 190 105.942929 Broadcast IEEE 802.15.4 10 Beacon Request 191 106.032621 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 192 110.062648 Broadcast IEEE 802.15.4 10 Beacon Request 193 110.142743 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 194 114.404671 Broadcast IEEE 802.15.4 10 Beacon Request 195 114.522946 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 196 117.331539 Broadcast IEEE 802.15.4 10 Beacon Request 197 117.473103 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 198 120.134454 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 199 120.174360 0x0000 Broadcast ZigBee 47 Link Status 200 120.453960 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 201 120.774064 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 202 122.902261 Broadcast IEEE 802.15.4 10 Beacon Request 203 122.943366 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 204 125.924070 Broadcast IEEE 802.15.4 10 Beacon Request 205 126.003521 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 206 129.596897 Broadcast IEEE 802.15.4 10 Beacon Request 207 129.653606 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 208 135.094806 Broadcast IEEE 802.15.4 10 Beacon Request 209 135.133847 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 210 135.265112 0x0000 Broadcast ZigBee 47 Link Status 211 135.374923 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 212 135.694798 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 213 136.014646 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 214 138.024277 Broadcast IEEE 802.15.4 10 Beacon Request 215 138.163986 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 216 144.539766 Broadcast IEEE 802.15.4 10 Beacon Request 217 144.674257 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 218 147.403652 Broadcast IEEE 802.15.4 10 Beacon Request 219 147.514431 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 220 150.355755 0x0000 Broadcast ZigBee 47 Link Status 221 150.605619 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 222 150.905319 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 223 151.225320 0x0000 Broadcast ZigBee 59 Route Request, Dst: 0x18af, Src: 0x0000 224 153.554402 Broadcast IEEE 802.15.4 10 Beacon Request 225 153.644666 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4 226 156.410808 Broadcast IEEE 802.15.4 10 Beacon Request 227 156.544774 0x0000 ZigBee 28 Beacon, Src: 0x0000, EPID: Espressif_ff:fe:4a:c6:e4
Dear support, here under comparison of dialog between ESP32C6 and a IKEA TRAFRI ON/OFF and AQARA TEMPERATURE sensor AQUARA never gets callback from esp_zb_zcl_read_attr_cmd_req
IKEA TRADFRI ON/OFF I (16592) ZIGBEE: Reading state from local endpoint (0x3), distant endpoint(0x1), address(0xe707), clusterId(0x6), IEEE address: 14:b4:57:ff:fe:c5:08:d7 I (16592) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 2 delay 0 I (16602) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0 I (16612) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1 I (16622) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0 I (16632) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1 I (16642) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes I (16642) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 3 I (16652) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff I (16662) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 3 cluster 0x6 res 0 I (16672) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x6, APS security required: no I (16682) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 2, cb 0x0 I (16692) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0 I (16692) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0x2, ref 2, len 5 I (16702) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x0 CMD: 0x0 I (16732) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0 I (16732) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104 I (16742) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist! I (16752) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0 I (16752) ZBOSS: zdo/af_rx.c:459 APS pkt 3 for ep 3 is not recognized - drop I (16772) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0
4 7.948006 0x0000 0xe707 ZigBee 66 Data, Dst: 0xe707, Src: 0x0000 5 7.950501 IEEE 802.15.4 5 Ack 6 7.960161 0xe707 0x0000 ZigBee 53 Data, Dst: 0x0000, Src: 0xe707 7 7.962249 IEEE 802.15.4 5 Ack 8 7.964259 0xe707 0x0000 ZigBee 61 Data, Dst: 0x0000, Src: 0xe707 9 7.966602 IEEE 802.15.4 5 Ack 10 8.008216 0x0000 0xe707 ZigBee 61 Data, Dst: 0xe707, Src: 0x0000 11 8.010552 IEEE 802.15.4 5 Ack
XIAOMI AQUARA TEMPERATURE SENSOR ZIGBEE 1.2 I (16401) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x18af), clusterId(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d I (16401) ZBOSS: zcl/zcl_common.c:2209 >> zb_zcl_finish_and_send_packet_common param 2 delay 0 I (16411) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0 I (16421) ZBOSS: zcl/zcl_common.c:1667 >>get_cluster_desc ep_desc 0x0, cluster_id 0x0 cluster_role 1 I (16431) ZBOSS: zcl/zcl_common.c:1682 <<get_cluster_desc cluster_desc 0x0 I (16431) ZBOSS: zcl/zcl_basic_commands.c:144 < zb_zcl_check_is_device_enabled ret 1 I (16441) ZBOSS: zcl/zcl_common.c:2242 extending packet to 5 bytes I (16451) ZBOSS: zcl/zcl_common.c:1762 >>get_profile_id_by_endpoint endpoint_id = 1 I (16461) ZBOSS: zcl/zcl_common.c:1781 <<get_profile_id_by_endpoint profile_id = 0xffff I (16471) ZBOSS: zcl/zcl_common.c:1308 cluster_needs_aps_encryption: ep 1 cluster 0x402 res 0 I (16481) ZBOSS: zcl/zcl_common.c:2450 ZCL (out): cluster: 0x402, APS security required: no I (16481) ZBOSS: zcl/zcl_common.c:650 >> zb_zcl_register_cb param 2, cb 0x0 I (16491) ZBOSS: zcl/zcl_common.c:681 << zb_zcl_register_cb ret 0 I (16501) ZBOSS: zcl/zcl_common.c:1979 ZCL packet: buf 0x2, ref 2, len 5 I (16511) ZBOSS: zcl/zcl_common.c:1980 FC: 0x0 TSN: 0x0 CMD: 0x0 I (17291) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0 I (17311) ZBOSS: zcl/zcl_common.c:602 <<get_endpoint_desc desc 0x0 I (17311) ZBOSS: zcl/zcl_common.c:1053 > zb_zcl_is_target_endpoint: ep_desc 0x0, profile_id 0x104 I (17311) ZBOSS: zcl/zcl_common.c:1057 ep or simple desc for it doesn't exist! I (17331) ZBOSS: zcl/zcl_common.c:1113 < zb_zcl_is_target_endpoint, match 0 I (17331) ZBOSS: zdo/af_rx.c:459 APS pkt 6 for ep 1 is not recognized - drop
22 9.136148 0x0000 0x18af ZigBee 58 Data, Dst: 0x18af, Src: 0x0000 23 9.136359 IEEE 802.15.4 5 Ack 24 9.141104 0x18af 0x0000 ZigBee 45 Data, Dst: 0x0000, Src: 0x18af 25 9.142927 IEEE 802.15.4 5 Ack 26 9.144792 0x18af 0x0000 ZigBee 54 Data, Dst: 0x0000, Src: 0x18af 27 9.146904 IEEE 802.15.4 5 Ack 28 9.151586 0x18af 0x0000 ZigBee 45 Data, Dst: 0x0000, Src: 0x18af 29 9.153418 IEEE 802.15.4 5 Ack 30 9.157771 0xe707 0x0000 ZigBee 77 Command, Dst: 0x0000, Src: 0xe707 31 9.160627 IEEE 802.15.4 5 Ack 32 9.163941 0x18af 0x0000 ZigBee 54 Data, Dst: 0x0000, Src: 0x18af 33 9.166061 IEEE 802.15.4 5 Ack 34 9.206665 0x0000 0x18af ZigBee 53 Data, Dst: 0x18af, Src: 0x0000 35 9.208745 IEEE 802.15.4 5 Ack 36 9.339821 0x18af 0xe707 IEEE 802.15.4 12 Data Request 37 9.340589 IEEE 802.15.4 5 Ack 38 9.346639 0x0000 0x18af ZigBee 53 Data, Dst: 0x18af, Src: 0x0000 39 9.348721 IEEE 802.15.4 5 Ack 40 9.568516 0xe707 0x0000 ZigBee 77 Command, Dst: 0x0000, Src: 0xe707 41 9.571372 IEEE 802.15.4 5 Ack 42 12.389896 0x18af 0xe707 IEEE 802.15.4 12 Data Request 43 12.390664 IEEE 802.15.4 5 Ack 44 15.426483 0x18af 0xe707 IEEE 802.15.4 12 Data Request 45 15.427251 IEEE 802.15.4 5 Ack 46 18.460564 0x18af 0xe707 IEEE 802.15.4 12 Data Request 47 18.461332 IEEE 802.15.4 5 Ack 48 21.497710 0x18af 0xe707 IEEE 802.15.4 12 Data Request 49 21.498477 IEEE 802.15.4 5 Ack
@RVC69 ,
From the Wireshark log, it appears that the Aqara Zigbee 1.2 device did not respond to the read_attribute_response
, leading to the failure of triggering zb_core_action_handler()
. I recommend checking the features and specifications of the Aqara device to identify and address this issues.
Dear xieqinan, thanks for your expertise. best regards
Answers checklist.
IDF version.
ESP-IDF v5.1.2
esp-zigbee-lib version.
1.0.6
esp-zboss-lib version.
1.0.6
Espressif SoC revision.
ESP32C6
What is the expected behavior?
Expected zb_action_handler callback when calling esp_zb_zcl_read_attr_cmd_req on zigbee 1.2 and 3.0 devices__
What is the actual behavior?
no callback using esp_zb_zcl_read_attr_cmd_req on aqara zigbee 1.2 devices
Steps to reproduce.
1) this code works with ikea tradfri switch device // ------------------------------------------------------------------------------------------------------------------- void switch_state(void) { uint8_t index = devices_find_index_str(ON_OFF_SWITCH_IKEA_1, ESP_ZB_ZCL_CLUSTER_ID_ON_OFF); if (index == 0xff) return; ESP_LOGI(TAG, "Reading state from local endpoint (0x%x), distant endpoint(0x%x), address(0x%x), clusterId(0x%x), IEEE address: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", ha_devices[index].coordinator_endpoint, ha_devices[index].endpoint, ha_devices[index].short_addr,ha_devices[index].cluster_id, ha_devices[index].ieee_addr[7], ha_devices[index].ieee_addr[6], ha_devices[index].ieee_addr[5], ha_devices[index].ieee_addr[4], ha_devices[index].ieee_addr[3], ha_devices[index].ieee_addr[2], ha_devices[index].ieee_addr[1], ha_devices[index].ieee_addr[0]); static esp_zb_zcl_read_attr_cmd_t cmd_req; cmd_req.zcl_basic_cmd.src_endpoint = ha_devices[index].coordinator_endpoint; cmd_req.address_mode = ESP_ZB_APS_ADDR_MODE_16_ENDP_PRESENT; //cmd_req.address_mode = ESP_ZB_APS_ADDR_MODE_64_ENDP_PRESENT; cmd_req.zcl_basic_cmd.dst_endpoint = ha_devices[index].endpoint; cmd_req.zcl_basic_cmd.dst_addr_u.addr_short = ha_devices[index].short_addr;
} Got : I (576198) ZIGBEE: Send 'on_off toggle' from local endpoint(0x3), distant endpoint(0x1), address(0x21a1), clusterId(0x6), IEEE address: 14:b4:57:ff:fe:c5:08:d7 I (578198) ZIGBEE: Reading state from local endpoint (0x3), distant endpoint(0x1), address(0x21a1), clusterId(0x6), IEEE address: 14:b4:57:ff:fe:c5:08:d7 W (578218) ZIGBEE: Zigbee action(0x1000) callback W (578218) ZIGBEE: ESP_ZB_CORE_CMD_READ_ATTR_RESP_CB_ID 0x1000 I (578218) ZIGBEE: Received attribute response to local endpoint (0x3) from distant endpoint(0x1) address(0x21a1) cluster(0x6) I (578228) ZIGBEE: Received attribute response: attribute(0x0), type(0x10), value(0)
2) Same code on aqara 1.2 temperature sensor, correctly bound, not working (no action handler callback) // ------------------------------------------------------------------------------------------------------------------- void temperature_state(void) { uint8_t index = devices_find_index_str(TEMPERATURE_MEASUREMENT_AQUARA_1, ESP_ZB_ZCL_CLUSTER_ID_TEMP_MEASUREMENT); if (index == 0xff) return; ESP_LOGI(TAG, "Reading state from local endpoint (0x%x), distant endpoint(0x%x), address(0x%x), clusterId(0x%x), IEEE address: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", ha_devices[index].coordinator_endpoint, ha_devices[index].endpoint, ha_devices[index].short_addr,ha_devices[index].cluster_id, ha_devices[index].ieee_addr[7], ha_devices[index].ieee_addr[6], ha_devices[index].ieee_addr[5], ha_devices[index].ieee_addr[4], ha_devices[index].ieee_addr[3], ha_devices[index].ieee_addr[2], ha_devices[index].ieee_addr[1], ha_devices[index].ieee_addr[0]); static esp_zb_zcl_read_attr_cmd_t cmd_req; cmd_req.zcl_basic_cmd.src_endpoint = ha_devices[index].coordinator_endpoint; cmd_req.address_mode = ESP_ZB_APS_ADDR_MODE_16_ENDP_PRESENT; //cmd_req.address_mode = ESP_ZB_APS_ADDR_MODE_64_ENDP_PRESENT; cmd_req.zcl_basic_cmd.dst_endpoint = ha_devices[index].endpoint; cmd_req.zcl_basic_cmd.dst_addr_u.addr_short = ha_devices[index].short_addr;
} I (10198) ZIGBEE: Reading state from local endpoint (0x1), distant endpoint(0x1), address(0x1dd), clusterId(0x402), IEEE address: 00:15:8d:00:02:82:ee:2d
Got no action handler callback
More Information.
No response