This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652R: Zigbee 3.0 sensor to cloud gateway not update report command data.

Guru 14820 points
Part Number: CC2652R

Hello,

ZigBee 3.0 sensor to cloud gateway did not update report command data to gateway terminal application as well to node js application.

from the log it seems like nwkmgr is not sending report command data to the gateway application.

  • Hello Dhanraj,

    Please provide the Linux environment used, gateway logs, and sniffer logs along with replication steps required to observe the behavior. Please also refer to the User/Developer Guides for adding functionality beyond the basic example provided: software-dl.ti.com/.../Zigbee Sensor to Cloud - User Guide.pdf

    Regards,
    Ryan
  • To replicate the issue you just have to send ZCL report command from any ZED/ZR .
    Report command will not appear on gateway terminal app(In older gateway it use to appear) as well on node is app
  • llo Ryan,

    We are using:

    1) Linux environment  = Raspbian stretch OS, running on Raspberry Pi. 

    2) Ubiqua sniffer log = GwRptCmdBug.zip

    (change the file extension to .cubx Refer packet number 801 and 2556)

    3) gateway log = 

    [11:13:51.898,279] [SMPLAPP/MAIN] MISC2  : --- App started ---
    [11:13:51.899,120] [SMPLAPP/MAIN] MISC2  : TI Home Automation Gateway Sample Application, version 2.01
    [11:13:51.899,458] [SMPLAPP/MAIN] MISC2  : Cannot open macro file for reading
    [11:13:51.900,448] [SMPLAPP/MAIN] MISC2  : Successfully connected to NWK_MGR server
    [11:13:51.900,709] [SMPLAPP/MAIN] MISC2  : nwk_mgr_server_connected_disconnected_handler
    [11:13:51.900,957] [SMPLAPP/MAIN] MISC2  : about to send
    [11:13:51.901,713] [SMPLAPP/MAIN] MISC2  : Successfully connected to GATEWAY server
    [11:13:51.901,928] [SMPLAPP/MAIN] MISC2  : gateway_server_connected_disconnected_handler
    [11:13:51.902,130] [SMPLAPP/MAIN] MISC2  : about to send
    [11:13:51.902,640] [SMPLAPP/MAIN] MISC2  : Successfully connected to OTASRVR server
    [11:13:51.902,847] [SMPLAPP/MAIN] MISC2  : ota_server_connected_disconnected_handler
    [11:13:51.903,049] [SMPLAPP/MAIN] MISC2  : about to send
    [11:13:52.901,013] [SMPLAPP/MAIN] MISC2  : Init state 1
    [11:13:52.901,287] [SMPLAPP/MAIN] MISC2  : Created new idle_cb entry (#0) for func (0001d620), arg (00000000)
    [11:13:52.901,413] [SMPLAPP/MAIN] MISC2  : nwk_send_info_request: Sending NWK_INFO_REQ__INIT
    [11:13:52.901,699] [SMPLAPP/MAIN] PKTTYPE: [                           NWK_MGR<<<<<<<<<<<SMPLAPP] NwkZigbeeNwkInfoReq
    [11:13:52.901,796] [SMPLAPP/MAIN] PKTBODY:                                                          cmdId = NWK_ZIGBEE_NWK_INFO_REQ
    [11:13:52.902,105] [SMPLAPP/MAIN] MISC2  : sent to NWK_MGR: len=2, cmd_id=10, subsystem=18
    [11:13:52.902,232] [SMPLAPP/MAIN] MISC2  :  Raw=02:00:12:0A:08:0A
    [11:13:52.905,798] [SMPLAPP/MAIN] MISC2  : received from NWK_MGR: len=19, cmd_id=11, subsystem=114
    [11:13:52.908,203] [SMPLAPP/MAIN] MISC2  :  Raw=13:00:72:0B:08:0B:10:01:18:1A:20:84:96:03:29:F0:17:0E:06:00:4B:12:00
    [11:13:52.908,359] [SMPLAPP/MAIN] PKTTYPE: [                           NWK_MGR>>>>>>>>>>>SMPLAPP] NwkZigbeeNwkInfoCnf
    [11:13:52.908,437] [SMPLAPP/MAIN] PKTBODY:                                                          cmdId = NWK_ZIGBEE_NWK_INFO_CNF
    [11:13:52.908,496] [SMPLAPP/MAIN] PKTBODY:                                                          status = NWK_UP
    [11:13:52.908,556] [SMPLAPP/MAIN] PKTBODY:                                                          nwkChannel = 0x0000001A (26)
    [11:13:52.908,613] [SMPLAPP/MAIN] PKTBODY:                                                          panId = 0x0000CB04 (51972)
    [11:13:52.908,674] [SMPLAPP/MAIN] PKTBODY:                                                          extPanId = 00:12:4B:00:06:0E:17:F0
    [11:13:52.908,877] [SMPLAPP/MAIN] MISC2  : Calling confirmation callback
    [11:13:52.908,990] [SMPLAPP/MAIN] MISC2  : nwk_process_info_cnf: Received NWK_ZIGBEE_NWK_INFO_CNF
    [11:13:52.909,091] [SMPLAPP/MAIN] MISC2  : msg->status = 1
    [11:13:52.909,202] [SMPLAPP/MAIN] MISC2  : nwk_process_info_cnf: Network ready
    [11:13:52.910,372] [SMPLAPP/MAIN] MISC2  : Init state 2
    [11:13:52.910,504] [SMPLAPP/MAIN] MISC2  : device_send_local_device_info_request: Sending NWK_GET_LOCAL_DEVICE_INFO_REQ
    [11:13:52.910,657] [SMPLAPP/MAIN] PKTTYPE: [                           NWK_MGR<<<<<<<<<<<SMPLAPP] NwkGetLocalDeviceInfoReq
    [11:13:52.910,762] [SMPLAPP/MAIN] PKTBODY:                                                          cmdId = NWK_GET_LOCAL_DEVICE_INFO_REQ
    [11:13:52.910,982] [SMPLAPP/MAIN] MISC2  : sent to NWK_MGR: len=2, cmd_id=7, subsystem=18
    [11:13:52.911,117] [SMPLAPP/MAIN] MISC2  :  Raw=02:00:12:07:08:07
    [11:13:52.912,726] [SMPLAPP/MAIN] MISC2  : received from NWK_MGR: len=68, cmd_id=8, subsystem=114
    [11:13:52.913,044] [SMPLAPP/MAIN] MISC2  :  Raw=44:00:72:08:08:08:12:40:08:00:11:F0:17:0E:06:00:4B:12:00:20:07:2A:20:08:04:10:84:02:18:07:20:00:28:00:28:03:28:81:0A:30:06:30:04:30:05:30:80:0A:30:09:30:81:02:30:20:2A:0D...
    [11:13:52.913,188] [SMPLAPP/MAIN] PKTTYPE: [                           NWK_MGR>>>>>>>>>>>SMPLAPP] NwkGetLocalDeviceInfoCnf
    [11:13:52.913,290] [SMPLAPP/MAIN] PKTBODY:                                                          cmdId = NWK_GET_LOCAL_DEVICE_INFO_CNF
    [11:13:52.913,351] [SMPLAPP/MAIN] PKTBODY:                                                          deviceInfoList :
    [11:13:52.913,406] [SMPLAPP/MAIN] PKTBODY:                                                            networkAddress = 0x00000000 (0)
    [11:13:52.913,467] [SMPLAPP/MAIN] PKTBODY:                                                            ieeeAddress = 00:12:4B:00:06:0E:17:F0
    [11:13:52.913,526] [SMPLAPP/MAIN] PKTBODY:                                                            manufacturerId = 0x00000007 (7)
    [11:13:52.913,582] [SMPLAPP/MAIN] PKTBODY:                                                            simpleDescList :
    [11:13:52.913,633] [SMPLAPP/MAIN] PKTBODY:                                                              [000] :
    [11:13:52.913,686] [SMPLAPP/MAIN] PKTBODY:                                                                endpointId = 0x00000004 (4)
    [11:13:52.913,742] [SMPLAPP/MAIN] PKTBODY:                                                                profileId = 0x00000104 (260)
    [11:13:52.913,798] [SMPLAPP/MAIN] PKTBODY:                                                                deviceId = 0x00000007 (7)
    [11:13:52.913,855] [SMPLAPP/MAIN] PKTBODY:                                                                deviceVer = 0x00000000 (0)
    [11:13:52.913,908] [SMPLAPP/MAIN] PKTBODY:                                                                inputClusters :
    [11:13:52.913,962] [SMPLAPP/MAIN] PKTBODY:                                                                  [000] = 0x00000000 (0)
    [11:13:52.914,015] [SMPLAPP/MAIN] PKTBODY:                                                                  [001] = 0x00000003 (3)
    [11:13:52.914,068] [SMPLAPP/MAIN] PKTBODY:                                                                  [002] = 0x00000501 (1281)
    [11:13:52.914,121] [SMPLAPP/MAIN] PKTBODY:                                                                outputClusters :
    [11:13:52.914,173] [SMPLAPP/MAIN] PKTBODY:                                                                  [000] = 0x00000006 (6)
    [11:13:52.914,225] [SMPLAPP/MAIN] PKTBODY:                                                                  [001] = 0x00000004 (4)
    [11:13:52.914,278] [SMPLAPP/MAIN] PKTBODY:                                                                  [002] = 0x00000005 (5)
    [11:13:52.914,358] [SMPLAPP/MAIN] PKTBODY:                                                                  [003] = 0x00000500 (1280)
    [11:13:52.914,412] [SMPLAPP/MAIN] PKTBODY:                                                                  [004] = 0x00000009 (9)
    [11:13:52.914,465] [SMPLAPP/MAIN] PKTBODY:                                                                  [005] = 0x00000101 (257)
    [11:13:52.914,518] [SMPLAPP/MAIN] PKTBODY:                                                                  [006] = 0x00000020 (32)
    [11:13:52.914,572] [SMPLAPP/MAIN] PKTBODY:                                                              [001] :
    [11:13:52.914,625] [SMPLAPP/MAIN] PKTBODY:                                                                endpointId = 0x000000F2 (242)
    [11:13:52.914,681] [SMPLAPP/MAIN] PKTBODY:                                                                profileId = 0x0000A1E0 (41440)
    [11:13:52.914,737] [SMPLAPP/MAIN] PKTBODY:                                                                deviceId = 0x00000061 (97)
    [11:13:52.914,793] [SMPLAPP/MAIN] PKTBODY:                                                                deviceVer = 0x00000000 (0)
    [11:13:52.914,849] [SMPLAPP/MAIN] PKTBODY:                                                                outputClusters :
    [11:13:52.914,901] [SMPLAPP/MAIN] PKTBODY:                                                                  [000] = 0x00000021 (33)
    [11:13:52.914,960] [SMPLAPP/MAIN] PKTBODY:                                                            deviceStatus = DEVICE_ON_LINE
    [11:13:52.915,160] [SMPLAPP/MAIN] MISC2  : Calling confirmation callback
    [11:13:52.915,273] [SMPLAPP/MAIN] MISC2  : device_process_local_info_response: Received NWK_GET_LOCAL_DEVICE_INFO_CNF
    [11:13:52.915,485] [SMPLAPP/MAIN] MISC2  : update_device_table_entry: Adding/Updating enry info nwk_addr 0x0 ieeeaddr 0x124B00060E17F0 manu id 0x7 status 1 num endpoints 2
    [11:13:52.916,626] [SMPLAPP/MAIN] MISC2  : Init state 3
    [11:13:52.916,734] [SMPLAPP/MAIN] MISC2  : device_send_list_request: Sending NWK_GET_DEVICE_LIST_REQ
    [11:13:52.919,833] [SMPLAPP/MAIN] MISC2  : Calling confirmation callback
    [11:13:52.919,975] [SMPLAPP/MAIN] MISC2  : device_process_list_response: Received NWK_GET_DEVICE_LIST_CNF
    [11:13:52.920,127] [SMPLAPP/MAIN] MISC2  : device_process_list_response: Status SUCCESS.
    [11:13:52.920,238] [SMPLAPP/MAIN] MISC2  : device_process_list_response: Total Devices 3
    [11:13:52.922,035] [SMPLAPP/MAIN] MISC2  : update_device_table_entry: Adding/Updating enry info nwk_addr 0xeeec ieeeaddr 0x124B001C9EA678 manu id 0x0 status 1 num endpoints 1
    [11:13:52.922,161] [SMPLAPP/MAIN] MISC2  : update_device_table_entry: Adding/Updating enry info nwk_addr 0x6581 ieeeaddr 0x124B00060E180D manu id 0x0 status 1 num endpoints 2
    [11:13:52.923,373] [SMPLAPP/MAIN] MISC2  : Created new idle_cb entry (#1) for func (0001d620), arg (00000000)
    [11:13:52.923,499] [SMPLAPP/MAIN] MISC2  : Init state 4
    [11:13:52.923,607] [SMPLAPP/MAIN] MISC2  : Unregistering state machine (0001d620)
    [11:13:52.923,718] [SMPLAPP/MAIN] MISC2  : Unregistering state machine (0002d0b0)
    [11:13:52.923,824] [SMPLAPP/MAIN] MISC2  : device_get_gw_endpoint_info_request: Sending NWK_GET_GW_ENDPOINT_INFO_REQ
    [11:13:52.923,998] [SMPLAPP/MAIN] PKTTYPE: [                           NWK_MGR<<<<<<<<<<<SMPLAPP] NwkGetGwEndpointInfoReq
    [11:13:52.924,065] [SMPLAPP/MAIN] PKTBODY:                                                          cmdId = NWK_GET_GW_ENDPOINT_INFO_REQ
    [11:13:52.924,321] [SMPLAPP/MAIN] MISC2  : sent to NWK_MGR: len=2, cmd_id=33, subsystem=18
    [11:13:52.924,448] [SMPLAPP/MAIN] MISC2  :  Raw=02:00:12:21:08:21
    [11:13:52.924,635] [SMPLAPP/MAIN] MISC2  : sensor read - idle
    [11:13:52.924,742] [SMPLAPP/MAIN] MISC2  : snsr_zone_commissioning_state_machine - done
    [11:13:52.924,849] [SMPLAPP/MAIN] MISC2  : device_get_gw_endpoint_info_request: Sending NWK_GET_GW_ENDPOINT_INFO_REQ
    [11:13:52.924,985] [SMPLAPP/MAIN] PKTTYPE: [                           NWK_MGR<<<<<<<<<<<SMPLAPP] NwkGetGwEndpointInfoReq
    [11:13:52.925,045] [SMPLAPP/MAIN] PKTBODY:                                                          cmdId = NWK_GET_GW_ENDPOINT_INFO_REQ
    [11:13:52.925,205] [SMPLAPP/MAIN] MISC2  : device_get_gw_endpoint_info_request: Error: Could not send msg
    [11:13:52.927,984] [SMPLAPP/MAIN] MISC2  : received from NWK_MGR: len=68, cmd_id=34, subsystem=114
    [11:13:52.928,293] [SMPLAPP/MAIN] MISC2  :  Raw=44:00:72:22:08:22:12:40:08:00:11:F0:17:0E:06:00:4B:12:00:20:07:2A:20:08:04:10:84:02:18:07:20:00:28:00:28:03:28:81:0A:30:06:30:04:30:05:30:80:0A:30:09:30:81:02:30:20:2A:0D...
    [11:13:52.928,427] [SMPLAPP/MAIN] PKTTYPE: [                           NWK_MGR>>>>>>>>>>>SMPLAPP] NwkGetGwEndpointInfoCnf
    [11:13:52.928,509] [SMPLAPP/MAIN] PKTBODY:                                                          cmdId = NWK_GET_GW_ENDPOINT_INFO_CNF
    [11:13:52.928,569] [SMPLAPP/MAIN] PKTBODY:                                                          deviceInfoList :
    [11:13:52.928,623] [SMPLAPP/MAIN] PKTBODY:                                                            networkAddress = 0x00000000 (0)
    [11:13:52.928,685] [SMPLAPP/MAIN] PKTBODY:                                                            ieeeAddress = 00:12:4B:00:06:0E:17:F0
    [11:13:52.928,745] [SMPLAPP/MAIN] PKTBODY:                                                            manufacturerId = 0x00000007 (7)
    [11:13:52.928,800] [SMPLAPP/MAIN] PKTBODY:                                                            simpleDescList :
    [11:13:52.928,850] [SMPLAPP/MAIN] PKTBODY:                                                              [000] :
    [11:13:52.928,904] [SMPLAPP/MAIN] PKTBODY:                                                                endpointId = 0x00000004 (4)
    [11:13:52.928,960] [SMPLAPP/MAIN] PKTBODY:                                                                profileId = 0x00000104 (260)
    [11:13:52.929,016] [SMPLAPP/MAIN] PKTBODY:                                                                deviceId = 0x00000007 (7)
    [11:13:52.929,071] [SMPLAPP/MAIN] PKTBODY:                                                                deviceVer = 0x00000000 (0)
    [11:13:52.929,125] [SMPLAPP/MAIN] PKTBODY:                                                                inputClusters :
    [11:13:52.929,177] [SMPLAPP/MAIN] PKTBODY:                                                                  [000] = 0x00000000 (0)
    [11:13:52.929,269] [SMPLAPP/MAIN] PKTBODY:                                                                  [001] = 0x00000003 (3)
    [11:13:52.929,323] [SMPLAPP/MAIN] PKTBODY:                                                                  [002] = 0x00000501 (1281)
    [11:13:52.929,376] [SMPLAPP/MAIN] PKTBODY:                                                                outputClusters :
    [11:13:52.929,429] [SMPLAPP/MAIN] PKTBODY:                                                                  [000] = 0x00000006 (6)
    [11:13:52.929,482] [SMPLAPP/MAIN] PKTBODY:                                                                  [001] = 0x00000004 (4)
    [11:13:52.929,534] [SMPLAPP/MAIN] PKTBODY:                                                                  [002] = 0x00000005 (5)
    [11:13:52.929,586] [SMPLAPP/MAIN] PKTBODY:                                                                  [003] = 0x00000500 (1280)
    [11:13:52.929,638] [SMPLAPP/MAIN] PKTBODY:                                                                  [004] = 0x00000009 (9)
    [11:13:52.929,690] [SMPLAPP/MAIN] PKTBODY:                                                                  [005] = 0x00000101 (257)
    [11:13:52.929,808] [SMPLAPP/MAIN] PKTBODY:                                                                  [006] = 0x00000020 (32)
    [11:13:52.929,865] [SMPLAPP/MAIN] PKTBODY:                                                              [001] :
    [11:13:52.929,918] [SMPLAPP/MAIN] PKTBODY:                                                                endpointId = 0x000000F2 (242)
    [11:13:52.929,974] [SMPLAPP/MAIN] PKTBODY:                                                                profileId = 0x0000A1E0 (41440)
    [11:13:52.930,030] [SMPLAPP/MAIN] PKTBODY:                                                                deviceId = 0x00000061 (97)
    [11:13:52.930,086] [SMPLAPP/MAIN] PKTBODY:                                                                deviceVer = 0x00000000 (0)
    [11:13:52.930,142] [SMPLAPP/MAIN] PKTBODY:                                                                outputClusters :
    [11:13:52.930,194] [SMPLAPP/MAIN] PKTBODY:                                                                  [000] = 0x00000021 (33)
    [11:13:52.930,253] [SMPLAPP/MAIN] PKTBODY:                                                            deviceStatus = DEVICE_ON_LINE
    [11:13:52.930,447] [SMPLAPP/MAIN] MISC2  : Calling confirmation callback
    [11:13:52.930,557] [SMPLAPP/MAIN] MISC2  : device_process_local_info_response: Received NWK_GET_GW_ENDPOINT_INFO_CNF
    

    4) ./zigbeeHAgw script prints the below messages onto the console whenever the ZED/ZR sends report command (at periodic intervals). 

  • Thanks for providing what I asked for, I will attempt to recreate this behavior and get back with you.

    Regards,
    Ryan

  • Hi Prem,

    I ran a test and had no issues receiving report attribute commands with the Linux Gateway. I notice that your destination endpoint is 0x02, is this intentional? The default gateway endpoint is 0x08 and the fact that you are not even receiving an "unsupported command" default response indicates that this is the wrong endpoint value.

    Regards,
    Ryan