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: Temperature Sensor reporting questions with Z-Stack 3.0 ZC.

Part Number: CC2652R
Other Parts Discussed in Thread: Z-STACK

I use CC2652R1 LaunchPad as "golden ZED" which flashed with zed_temperaturesensor (5_20_00_52) build.

The Zigbee Linux Gateway I download is Zigbee_3_0_Linux_Gateway_1_0_1.run. I have build native on x86 PC host and talks to another CC2652R1 LaunchPad flashed with standard znp FW via USB as "ZC".

The Z-Stack Linux Gateway is started with zigbeeHAgw script & run normally.

I have another temperature sensor (as "test ZED")to cross check with above "golden ZED" with above "ZC" and have two questions.

1. For ZED actively report temperature value, the "golden ZED" know the "ZC" endpoint number but "test ZED" does not know. So both have Report Attributes packets over the air, but "test ZED" cannot pass correct temperature value due to destination endpoint number is not correct. I check sniffer log and see no relevant packets info. My question is: How ZC pass its endpoint number to ZED after it joined?

2. For ZED passively report temperature value, I use start_application script & toggle a/A key to test it. The "golden ZED" is fine to response value, but "test ZED" cannot. I observed the Read Attributes / Read Attributes Response packets over the air for "golden ZED" case, but even no Read Attributes packets for "test ZED" case. My question is: What else I miss for this test case (cmd_id: GW_CMD_ID_T__DEV_GET_TEMP_REQ)?

Regards,

Peter.

  • 1. We usually use binding to assign reporting destination short address and endpoint to device.

    2. Can you attach your sniffer log to check this?

  • Hi YiKai,

    Two attached files: one is 20220428_ti_cc2652_temperature_sensor.pcapng.txt, and the other is 20220428_em357_temperature_sensor.pcapng.txt.

    Just remove txt extension to make them become *.pcapng files which can be understood by Wireshark v2.0.7 tool. (Note: I cannot upload with *.pcapng)

    From 20220428_ti_cc2652_temperature_sensor.pcapng, I check packets after join and cannot find any relevant packet for ZC to tell ZED the ZC endpoint number. (Actually no binding packet, but Device Announcement, Node Descriptor Request/Response, Active Endpoint Request/Response, Simple Descriptor Request/Response, etc) Do you mean I need to set extra binding command before command: GW_CMD_ID_T__DEV_GET_TEMP_REQ for "test ZED"?

    From 20220428_em357_temperature_sensor.pcapng, there is no packet over the air even when I try to read temperature from "test ZED". You can check line # after 80. I open debug log and did see "npi_sendframe: subSys:36, cmdId:2" log. I guess it is blocked in znp and not send out to ZED. But I have no idea why. (Note for "golden ZED", in line #176 & #178 of 20220428_ti_cc2652_temperature_sensor.pcapng, I can read temperature from "golden ZED".)

    Regards,

    Peter.

    
    
    M<+��������h�����\\.\pipe\tiwspc_data	+64-bit Windows 7 Service Pack 1, build 7601h�'O��LkkEk��+����EZEZW�&EX
    ���3/A�N���	��=踟!K(&踟!K��=h����'���LllEl��*����EZEZX� EX
    ���40A�O�����>(&踟!K�6�
    ��8Xli!��'z��MkkEk��+����EZEZWmEX
    ���5/A�P���	��?踟!K(&踟!K��S=�t ���'`ĠNkkEk��+����EZEZW�cEX
    ���6/A�Q���	��@踟!K(&踟!K�0L)&��h'o�NFFEF��P����EZEZ2�EX
    ���7
    >�����hx'��NXXEX��>����EZEZDmEX
    ���8�
    ���"�踟!K����xt'��NQQEQ��E����EZEZ=�oEX
    ���9#�?�����!K��td'���NAAEA��U����EZEZ-�EX
    ���:? �dp'i��NNNEN��H����EZEZ:��EX
    ���;c�@���!K�pd')��NAAEA��U����EZEZ-��EX
    ���<@ �dx'H��NWWEW��?����EZEZC�#EX
    ���=c�R���!K踟!K� �xt'U��NQQEQ��E����EZEZ={kEX
    ���>#�A�����!K��td'u��NAAEA��U����EZEZ-�EX
    ���?A �dp'߬�NNNEN��H����EZEZ:��EX
    ���@c�B���!K�pd'���NAAEA��U����EZEZ-��EX
    ���AB �dx'���NWWEW��?����EZEZCz#EX
    ���Bc�S���!K踟!K� �xd'ں�NAAEA��U����EZEZ-��EX
    ���CS�dh'���NHHEH��N����EZEZ4o5EX
    ���Dc�C���hd'���NAAEA��U����EZEZ-��EX
    ���EC �d�'���N��E�������EZEZqGgEX
    ���FIa�T��H�A!�0踟!KY(�(�B��p$��lxv
    �\�O,P�r7��ǚ_�N�2 ��d'>��NAAEA��U����EZEZ-��EX
    ���GT�d�'7C�NttEt��"����EZEZ`�)EX
    ���H8a�D��	��踟!K��!K(����!K�=�8���d'�K�NAAEA��U����EZEZ-��EX
    ���ID�dh'V�NHHEH��N����EZEZ4e5EX
    ���Jc�E���hd'Y�NAAEA��U����EZEZ-��EX
    ���KE�d�'3^�NuuEu��!����EZEZa��EX
    ���L9a�F������(����!K�/��TT|^�I<�-*�C���$���d'�f�NAAEA��U����EZEZ-��EX
    ���MF�d�'�j�NttEt��"����EZEZ`~EX
    ���N8a�U��	�B��!K踟!K(	&踟!K��GD�G3�d',s�NAAEA��U����EZEZ-��EX
    ���OU�d�'�x�NllEl��*����EZEZX�}EX
    ���P0a�G��H��(����!K4I!{)�]�-|��u��d'��NAAEA��U����EZEZ-��EX
    ���QG�d�'-��NuuEu��!����EZEZa�cEX
    ���R9A�V�������(
    &踟!KM�J�+oab�m�2,�톋�r���h'��NHHEH��N����EZEZ4Y5EX
    ���Sc�H���hd'��NAAEA��U����EZEZ-��EX
    ���TH�d�'���NzzEz������EZEZf:MEX
    ���U>a�W��H�C(&踟!K��c&x?'u���*�c槫��xp{-��r��d'���NAAEA��U����EZEZ-��EX
    ���VW�d�'!��NvvEv�� ����EZEZb
    +EX
    ���W:a�I��H"��(����!KF:ŵ3����R�f*�̆�{d�R�t��d'���NAAEA��U����EZEZ-��EX
    ���XI�dh'&G�NHHEH��N����EZEZ4Q5EX
    ���Yc�J���hd'&J�NAAEA��U����EZEZ-��EX
    ���ZJ�d�'�]�NllEl��*����EZEZXBXEX
    ���[0a�X��H�D(&踟!K�
    ��O5�^�|Ҡ�t�d'Ke�NAAEA��U����EZEZ-��EX
    ���\X�d�'Wp�NzzEz������EZEZfڂEX
    ���]>a�K��H"��(����!K[��yJ��M4m][ò�ynC+SV������d'�y�NAAEA��U����EZEZ-��EX
    ���^K�d�'���N��E��������EZEZ�?�EX
    ���_ll���i&1H&1$��@��xo
    (O�x�xo
    �	kP��<���yw�����l����l�������������߯�������슮�����h'��NHHEH��N����EZEZ4J5EX
    ���`c�L���hd'��NAAEA��U����EZEZ-��EX
    ���aL �d�'9��N��E��������EZEZ�҉EX
    ���bll��ԉ&1H 17�c�:��j��f�_m��w�V�����DU�ε���.����$r��9�����l��{�{.�$n�"4<Ϫ2�\�/\�����j$��h'@��NHHEH��N����EZEZ4I6EX
    ���cc�M���hh'�NHHEH��N����EZEZ4J6EX
    ���dc�M��
    �hd'�NAAEA��U����EZEZ-��EX
    ���eM �d�'��N��E�������EZEZ��PEX
    ���fZa�Z��H�E(&踟!K�V���[����i�=���PH(���zA~�*��e�L᫦F�m�lZi�.���*`� ��d'�(�NAAEA��U����EZEZ-��EX
    ���gZ
    �d�'xU�N}}E}������EZEZip�EX
    ���hAa�N��H"��(����!K{��6Ւs
    9sD,�"�Pش[.'O�M
    
    ��d'_�NAAEA��U����EZEZ-��EX
    ���iN �dh'���NHHEH��N����EZEZ4B5EX
    ���jc�O��
    �hd'���NAAEA��U����EZEZ-��EX
    ���kO�d�'���NllEl��*����EZEZX��EX
    ���l0a�[��H�F(&踟!KjB���	��,�����d']��NAAEA��U����EZEZ-��EX
    ���m[
    �d�'o��NooEo��'����EZEZ[q�EX
    ���n3a�P��H"��(����!K�.I
    <^S͖$�CO�U
    ��d'O��NAAEA��U����EZEZ-��EX
    ���oP�dh']@�NHHEH��N����EZEZ4;5EX
    ���pc�Q���hd']C�NAAEA��U����EZEZ-��EX
    ���qQ�d�'�\�NccEc��3����EZEZO��EX
    ���r'a�\��H�G(&踟!KE��]����d'�b�NAAEA��U����EZEZ-��EX
    ���s\�dh'���NHHEH��N����EZEZ4:5EX
    ���tc�R���hd'���NAAEA��U����EZEZ-��EX
    ���uR�d�':��NE������EZEZk\�EX
    ���vCa�]��H�H(&踟!Ki�U��6w
    {M�7GCH�g�+A2t�E���ΐ7:���d'��NAAEA��U����EZEZ-��EX
    ���w]	�d�'���NllEl��*����EZEZXѻEX
    ���x0a�S��H"��(����!K�D�3��d�y'@r͙	�d'B��NAAEA��U����EZEZ-��EX
    ���yS�dh'
    P�NHHEH��N����EZEZ435EX
    ���zc�T���hd'
    S�NAAEA��U����EZEZ-��EX
    ���{T�d�'�a�NmmEm��)����EZEZY�EX
    ���|1a�^��H�I(&踟!K��|�Fq_����v<��d']i�NAAEA��U����EZEZ-��EX
    ���}^�d�'�u�N~~E~������EZEZj֤EX
    ���~Ba�U��H"��(����!K-{:1	g��{�>�*�^A�0���	}��z�f���d'i�NAAEA��U����EZEZ-��EX
    ���U�d�'���NllEl��*����EZEZXu�EX
    ��ƀ0a�V��"����(����!K�̯e��Ɨ������	�d'��NAAEA��U����EZEZ-��EX
    ��ƁV�d�'���NllEl��*����EZEZX�KEX
    ��Ƃ0A�_�������(&踟!K�WQ�b�]l���dz���'�r�NllEl��*����EZEZX�<EX
    ��ƃ0a�W��"����(����!K������Cu�%�}�d'z�NAAEA��U����EZEZ-��EX
    ��ƄW�d�'|��NllEl��*����EZEZXBcEX
    ��ƅ0A�`�������(&踟!K��O�QnD�\��g�h'���NHHEH��N����EZEZ45EX
    ��Ɔc�X���hd'���NAAEA��U����EZEZ-��EX
    ��ƇX�dh'�OHHEH��N����EZEZ45EX
    ��ƈc�Y���hd'�OAAEA��U����EZEZ-��EX
    ��ƉY�dh'��?OHHEH��N����EZEZ45EX
    ��Ɗc�Z��
    �hd'��?OAAEA��U����EZEZ-��EX
    ��ƋZ�dh'�\mOHHEH��N����EZEZ45EX
    ��ƌc�[��
    �hd'�_mOAAEA��U����EZEZ-��EX
    ��ƍ[�d�'+مOkkEk��+����EZEZWb0EX
    ��Ǝ/A�a���	��J踟!K(&踟!K�B:�lf ��h'���OHHEH��N����EZEZ45EX
    ��Əc�\���hd'��OAAEA��U����EZEZ-��EX
    ��Ɛ\ �d�'qq�OllEl��*����EZEZX�WEX
    ��Ƒ0a�]��"����(����!K�ʩs֒���
    �a��d'�x�OAAEA��U����EZEZ-��EX
    ��ƒ]!�dh'���OHHEH��N����EZEZ45EX
    ��Ɠc�^���hd'���OAAEA��U����EZEZ-��EX
    ��Ɣ^!�d�'�M�OttEt��"����EZEZ`íEX
    ��ƕ8A��ԉ��&1	��&1)�xo
    (U�x�xo
    �ٚE>�� ��i�l�h'���OHHEH��N����EZEZ45EX
    ��Ɩc�_���hd'���OAAEA��U����EZEZ-��EX
    ��Ɨ_!�dh'��$PHHEH��N����EZEZ45EX
    ��Ƙc�`���hd'��$PAAEA��U����EZEZ-��EX
    ��ƙ`!�dh'�ZRPHHEH��N����EZEZ4�4EX
    ��ƚc�a���hd'�]RPAAEA��U����EZEZ-��EX
    ��ƛa�d�' �jPkkEk��+����EZEZWt]EX
    ��Ɯ/A�c���	��K踟!K(&踟!K�<}�� ��h'y�PHHEH��N����EZEZ4�4EX
    ��Ɲc�c���hd'|�PAAEA��U����EZEZ-��EX
    ��ƞc�d�'V�PllEl��*����EZEZX�EX
    ��Ɵ0a�d��"����(����!K���_�Fo�kbS#h�d'�]�PAAEA��U����EZEZ-��EX
    ��Ơd!�d�'ku�PllEl��*����EZEZX@�EX
    ��ơ0A�d�������(&踟!K���s�����>4�&	"�h'sحPHHEH��N����EZEZ4�4EX
    ��Ƣc�e���hd'sۭPAAEA��U����EZEZ-�EX
    ��ƣe"�dh'��PHHEH��N����EZEZ44EX
    ��Ƥc�f����hd'��PAAEA��U����EZEZ-|�EX
    ��ƥf�d�'IH�PqqEq��%����EZEZ]΋EX
    ��Ʀ5A��ԉ��&1��&1*�x0o
    (V�x�xo
    �����E��۬��l�h'X~	QHHEH��N����EZEZ4�4EX
    ��Ƨc�g���hd'X�	QAAEA��U����EZEZ-x�EX
    ��ƨg�dh'@<7QHHEH��N����EZEZ4�4EX
    ��Ʃc�h���hd'@?7QAAEA��U����EZEZ-u�EX
    ��ƪh�d�'�5PQkkEk��+����EZEZW�6EX
    ��ƫ/A�e���	��L踟!K(&踟!K{��"���h'�eQHHEH��N����EZEZ4�4EX
    ��Ƭc�i���hd'�eQAAEA��U����EZEZ-q�EX
    ��ƭi�d�'�0�QllEl��*����EZEZX7EX
    ��Ʈ0a�j��"����(����!K�j�?GT6���x���k�d'K8�QAAEA��U����EZEZ-n�EX
    ��Ưj�d�'�I�QllEl��*����EZEZX�EX
    ��ư0A�f�������(&踟!K������B���,���h'-��QHHEH��N����EZEZ4�4EX
    ��Ʊc�k���hd'-��QAAEA��U����EZEZ-j�EX
    ��Ʋk�dh'l��QHHEH��N����EZEZ4�4EX
    ��Ƴc�l���hd'l��QAAEA��U����EZEZ-g�EX
    ��ƴl�dh'e��QHHEH��N����EZEZ4�4EX
    ��Ƶc�n���hd'e��QAAEA��U����EZEZ-c�EX
    ��ƶn�dh'<RHHEH��N����EZEZ4�4EX
    ��Ʒc�o���hd'<RAAEA��U����EZEZ-`�EX
    ��Ƹo�d�'�	5RkkEk��+����EZEZW��EX
    ��ƹ/A�g���	��M踟!K(&踟!K�Q��R2��h'��JRHHEH��N����EZEZ4�4EX
    ��ƺc�p���hd'��JRAAEA��U����EZEZ-\�EX
    ��ƻp�d�'��sR��E��������EZEZ���EX
    ��Ƽll���&1H#1]��@�)�o
    *x��xo
    � �����5
    �_�C��
    �=��9�lm�lZi�.���*`� �2�\�/\�����j$���'0�sR��E�������EZEZl�EX
    ��ƽDD��ԉ&1H&1-��@��ج�k
    (U�x�xo
    �&���15
    ���C��
    p
    ���'�otR��E�������EZEZl"EX
    ��ƾDD��Ԋ&1H&1-��P
    ����xo
    (Y�x�x�
    X��=K���	�1�gkKI?��'�~tR��E�������EZEZnlYEX
    ��ƿFF��ԉ�1�&1-��@��xo
    (Y��>�؁��߸X��=K���LJ�gkLI?����'+6uRnnEn��(����EZEZZRxEX
    ����22��ԉ&!&1-��@��xo
    (Z�x�xo
    2����'��uR{{E{������EZEZg	�EX
    ����??�ԉ1H&6�-��@��xo
    .[[x�xo}wwW��(YwwwVt�����'U
    vR��E�������EZEZnl�EX
    ����FF�ԏ&1H&1'��@��{o
    ([�x�x	o
    `]��(�B�W[t���(8�Y����'�evRzzEz������EZEZfK�EX
    ����>>�ԉ&1H&1-��@��}o
    (\�x�xo
    
    q��an'%��	�"2��'d�vRuuEu��!����EZEZa�EX
    ����99�ԉ&1H&1-��@p��8qo	(\�x�xo
     cq��a�%����'�vR}}E}������EZEZiF�EX
    ����AA��I&1H&1-��@��xo}(\�r�x�po
    pq���N�%��	�"2���'�wRllEl��*����EZEZX��EX
    ����0a�q��"����(����!Kڃ�&�3��hf1.�d'NwRAAEA��U����EZEZ-O�EX
    ����q�d�'#5wRllEl��*����EZEZX�{EX
    ����0A�h�������(&踟!K�?��v�4B(	�羻�h'�xRHHEH��N����EZEZ4�4EX
    ����c�r���hd'
    �xRAAEA��U����EZEZ-K�EX
    ����r�d�'Z.�RqqEq��%����EZEZ]�PEX
    ����5A�ԃ��&1	��&1�.�ho
    (^�x�yxo
    
    9�J����*f�l�h'�m�RHHEH��N����EZEZ4�4EX
    ����c�s���hd'�p�RAAEA��U����EZEZ-G�EX
    ����s�dh'%1�RHHEH��N����EZEZ4�4EX
    ����c�t���hd'%4�RAAEA��U����EZEZ-D�EX
    ����t�dh'��SHHEH��N����EZEZ4�4EX
    ����c�u���hd'��SAAEA��U����EZEZ-A�EX
    ����u�d�'�SkkEk��+����EZEZW��EX
    ����/A�i���	��N踟!K(&踟!K�0��i��h'Q�/SHHEH��N����EZEZ4�4EX
    ����c�v���hd'Q�/SAAEA��U����EZEZ-=�EX
    ����v�d�'��[SllEl��*����EZEZX�9EX
    ����0a�w��"����(����!K��A
    �<�8G;�0�d'�[SAAEA��U����EZEZ-:�EX
    ����w�dh'~]SHHEH��N����EZEZ4�4EX
    ����c�x���hd'�]SAAEA��U����EZEZ-7�EX
    ����x�dh'V�SHHEH��N����EZEZ4�4EX
    ����c�y���hd'Y�SAAEA��U����EZEZ-4�EX
    ����y�dh'��SHHEH��N����EZEZ4�4EX
    ����c�z���hd'��SAAEA��U����EZEZ-1�EX
    ����z�dh'���SHHEH��N����EZEZ4�4EX
    ����c�{���hd'���SAAEA��U����EZEZ-.�EX
    ����{�d�'�2�SkkEk��+����EZEZW~�EX
    ����/A�k���	��O踟!K(&踟!K�t-�Ң��h'ɷTHHEH��N����EZEZ4�4EX
    ����c�|��
    �hd'ȺTAAEA��U����EZEZ-�EX
    ����|�d�'y�TnnEn��(����EZEZZ��EX
    ����2a�l��H�P( &踟!KK�u���f�2�jៃA��d'9�TAAEA��U����EZEZ-8�EX
    ����l
    �d�'-TrrEr��$����EZEZ^��EX
    ����6a�}��H"��(����!K@~�%��g'!{��7�����}
    ��d'lTAAEA��U����EZEZ-%�EX
    ����}�dh'GiTHHEH��N����EZEZ4�4EX
    ����c�~��
    �hd'FlTAAEA��U����EZEZ-"�EX
    ����~�d�'X�@TllEl��*����EZEZX�^EX
    ����0a���"����(����!K����:�N5��P�Fׄ�d'��@TAAEA��U����EZEZ-�EX
    �����d�'4KBTllEl��*����EZEZX0�EX
    ����0A�m�������(!&踟!K0q,��$����i��"�h'�\BTHHEH��N����EZEZ4�4EX
    ����c�����hd'�_BTAAEA��U����EZEZ-�EX
    ������dh'7/pTHHEH��N����EZEZ4�4EX
    ����c�����hd'72pTAAEA��U����EZEZ-�EX
    ����� �dh'���THHEH��N����EZEZ4�4EX
    ����c�����hd'���TAAEA��U����EZEZ-�EX
    ������dh'c��THHEH��N����EZEZ4�4EX
    ����c�����hd'c��TAAEA��U����EZEZ-�EX
    ������d
    
    
    M<+��������h�����\\.\pipe\tiwspc_data	+64-bit Windows 7 Service Pack 1, build 7601h�'��w�kkEk��+����EZEZW�EX
    ���/A�����	���踟!K((踟!K�]
    c����'=��llEl��*����EZEZX�OEX
    ���0A��������((踟!K�����d���M^& ��'AT]�kkEk��+����EZEZWYEX
    ���/A�����	���踟!K((踟!KY]u�qQ!��h'�)_�FFEF��P����EZEZ29�EX
    ���
    (�����hx'c4_�XXEX��>����EZEZD�hEX
    ��������"�踟!K��� �xh'Wa�FFEF��P����EZEZ26�EX
    ���
    )�����hx''^a�XXEX��>����EZEZD~hEX
    ��������"�踟!K��� �xt'y�c�QQEQ��E����EZEZ=�!EX
    ���#�*���"�xo
    ��td'��c�AAEA��U����EZEZ-G�EX
    ���* �dp'd|f�NNEN��H����EZEZ:=EX
    ���c�+�"�xo
    �pd'$�f�AAEA��U����EZEZ-4�EX
    ���+ �dx'��f�WWEW��?����EZEZC��EX
    ���č�"�xo
    踟!K�� �xd'��f�AAEA��U����EZEZ-��EX
    �����dh'��f�HHEH��N����EZEZ4��EX
    ���c�,����hd'��f�AAEA��U����EZEZ-?�EX
    ���, �d�'i���E��������EZEZ���EX
    ���ll�{ԉ&1H&1���@�	�xo
    (��x�xo-���@��T�#��u2��F̍J�l�Jp�@.\ծWB}��B���ߏ��ߍ������ژ�:��'K*i���E�������EZEZo�EX
    ���GG��yv1H&1���@��xo
    (��x�xo
    ���@��T�#��u2��F̈J�h'�i�HHEH��N����EZEZ4��EX
    ���c�-����hd'�i�AAEA��U����EZEZ-:�EX
    ��� - �d�':�i���E��������EZEZ���EX
    ���!ll�|ԉ&1H&1���p��xo
    (��x�xo
    �A@�"�b��On?��H�v�u뢫�l�Jp�@.\ծWB}��B���ߏ��ߍ������ژ�:��'��j�ffEf��0����EZEZRf�EX
    ���"**�}��&1H&1�U�L��xo
    (��x�x��'��k�ppEp��&����EZEZ\
    �EX
    ���#44�~ԉ&1H&1���@��~o
    (��x�xk
    o�ڝ��'��k���E�������EZEZ{<�EX
    ���$SS�~ԉ!1H&2���@��xo}��x�xo
    o�כ�ޠSVl!�߬�r�r"`�Z�Sퟗ�F�I$�O�d'0�l�AAEA��U����EZEZ-$�EX
    ���%. �dh'��l�HHEH��N����EZEZ4��EX
    ���&c�.����hd'��l�AAEA��U����EZEZ-"�EX
    ���'. �dd'z�l�AAEA��U����EZEZ-!�EX
    ���(.!�dh'��l�HHEH��N����EZEZ4��EX
    ���)c�.����hd'�m�AAEA��U����EZEZ-�EX
    ���*. �d�'�4m���E�������EZEZq#�EX
    ���+Ia�����H���!0@踟!K�Ljy}NN�����e���n�g(X�q>@������p$ ���'�Gm���E�������EZEZq"�EX
    ���,Ia�����H���!0@踟!K�Ljy}NN�����e���n�g(X�q>@������p$ ���'�[m���E�������EZEZq!�EX
    ���-Ia�����H���!0@踟!K�Ljy}NN�����e���n�g(X�q>@������p$ ���'rm���E�������EZEZq �EX
    ���.Ia�����H���!0@踟!K�Ljy}NN�����e���n�g(X�q>@������p$ ��h'_�m�GGEG��O����EZEZ3;zEX
    ���/a����� �hh'y�m�GGEG��O����EZEZ39zEX
    ���0a����� �hh'N�m�GGEG��O����EZEZ37zEX
    ���1a����� �hh'��o�HHEH��N����EZEZ4|�EX
    ���2c�/����hd'��o�AAEA��U����EZEZ-�EX
    ���3/ �dh'��r�HHEH��N����EZEZ4z�EX
    ���4c�0����hd'��r�AAEA��U����EZEZ-�EX
    ���50 �d�'��r���E�������EZEZq�EX
    ���6Ia�����H���!0@踟!K�Ljy}NN�����e���n�g(X�q>@������p$ ��d'��r�AAEA��U����EZEZ-��EX
    ���7��d�'�"s�}}E}������EZEZi��EX
    ���8Aa�1�������)"�xo
    ("�xo
    }�'�9�Z[o+�$��5X�|M���d'R,s�AAEA��U����EZEZ-�EX
    ���91 �d�'3s�}}E}������EZEZi��EX
    ���:Aa�1�������)"�xo
    ("�xo
    }�'�9�Z[o+�$��5X�|M���d'�<s�AAEA��U����EZEZ-�EX
    ���;1 �d�'[Hs�}}E}������EZEZi��EX
    ���<AA���������)"�xo
    ((踟!KY���������k���@�aW�lr# ��h'�N��HHEH��N����EZEZ4o�EX
    ���=c�2����hd'�Q��AAEA��U����EZEZ-�EX
    ���>2 �d�'T^��llEl��*����EZEZX~�EX
    ���?0a�����H���((踟!KV����1���Y`~� �d'�e��AAEA��U����EZEZ-��EX
    ���@��d�'�u��zzEz������EZEZf'�EX
    ���A>a�3���H��+("�xo
    m
    �X����rƇ<��W�x�M�B^��0���d'/��AAEA��U����EZEZ-�EX
    ���B3 �dh'����HHEH��N����EZEZ4i�EX
    ���Cc�4����hd'����AAEA��U����EZEZ-��EX
    ���D4!�d�')���llEl��*����EZEZX�*EX
    ���E0a�����H���((踟!K������uDWf��v�!�d'����AAEA��U����EZEZ-��EX
    ���F��d�'𷑅ooEo��'����EZEZ[��EX
    ���G3a�5���H��-("�xo
    d�{V0v[Fx
    ��d'Ͽ��AAEA��U����EZEZ-
    �EX
    ���H5!�dh'�ڠ�HHEH��N����EZEZ4a�EX
    ���Ic�6����hd'�ݠ�AAEA��U����EZEZ-��EX
    ���J6 �d�'d��mmEm��)����EZEZY��EX
    ���K1a�����H���((踟!Kڒ�m�6l�"(��
    �� ��d'���AAEA��U����EZEZ-��EX
    ���L��d�'g����E�������EZEZnm�EX
    ���MFa�7���H��/("�xo
    :)Z�=R�e�u�H���[$ˎ>�,�:��|cm��d'���AAEA��U����EZEZ-�EX
    ���N7 �dh' ��HHEH��N����EZEZ4Q�EX
    ���Oc�8����hd'#��AAEA��U����EZEZ-��EX
    ���P8�dh'H)��HHEH��N����EZEZ4O�EX
    ���Qc�8����hd'H,��AAEA��U����EZEZ-��EX
    ���R8�d�''Q'�rrEr��$����EZEZ^�DEX
    ���S6a�9���H��1("�xo
    �3�D���E=�zi�&*��d'gY'�AAEA��U����EZEZ-��EX
    ���T9 �d�'�e'�ttEt��"����EZEZ`ϽEX
    ���U8a�:���H��3("�xo
    mQpxޓx�|��9+d�E���*�d'=n'�AAEA��U����EZEZ-��EX
    ���V: �d�'�w'�qqEq��%����EZEZ]EX
    ���W5a�;���H��5("�xo
    �&S�K�no��`��D�;�*��d'�'�AAEA��U����EZEZ-��EX
    ���X; �dh'9�6�HHEH��N����EZEZ47�EX
    ���Yc�<���*�hd'9�6�AAEA��U����EZEZ-��EX
    ���Z<�d�'D꽆qqEq��%����EZEZ]��EX
    ���[5A��ԉ��&1	<�&1��xo
    (��t�xo
    R��k�a�CYf�l��'�(�kkEk��+����EZEZW>EX
    ���\/A�����	���踟!K((踟!KQ���� ���'Na
    �kkEk��+����EZEZW�>EX
    ���]/A�����	���踟!K((踟!K���b�+���'���kkEk��+����EZEZW��EX
    ���^/A�����	���踟!K((踟!Kk}��M!��d'A�
    �AAEA��U����EZEZ-��EX
    ���_r�ld�'�H؉kkEk��+����EZEZW,�EX
    ���`/A�����	���踟!K((踟!K.���!��

  • I only see erratic characters. Please zip your pcapng and attach it again.

  • For selected debug logging I have with respective to "goldenZED" and "test ZED" cases is listed below for your reference:

    // For golden ZED case, TI CC2652... (OK to read temperature)

    #Peter# zcl_SendRead - dstAddr:9109 EP:8,srcEP:1,clusterID:402,readCmd:-140506288
    [11:05:43.130,549] [GATEWAY/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:2395, srcEp:1, dstEp:8, cID:402, bufLen:5
    [11:05:43.130,650] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb zspbHandlePbCb: subsystemID:0x31, cmdId:0x22 #
    [11:05:43.130,683] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb Rcvd AF Data Request: addrMode: 2, dstAddr:2395, dep:8, sep:1
    [11:05:43.130,696] [Z_STACK/LSTN] UNMSKBL: #Peter# call AF_DataRequest
    [11:05:43.130,704] [Z_STACK/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:2395, srcEp:1, dstEp:8, cID:402, len:5...
    [11:05:43.130,714] [Z_STACK/LSTN] UNMSKBL: #Peter# znp_misc sendNPIExpectDefaultStatusZNP: subSys:4, cmdID:2, len::25
    [11:05:43.130,780] [NPISRVR/MAIN] UNMSKBL: #Peter# Receive message...
    [11:05:43.130,813] [NPISRVR/MAIN] UNMSKBL: #Peter# NPI_UART_SendSynchData: cmdId:2 #
    [11:05:43.130,844] [NPISRVR/MAIN] UNMSKBL: #Peter# npi_sendframe: subSys:36, cmdId:2 OK. #
    [11:05:43.135,367] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x64, Cmd ID: 0x02, length: 1
    [11:05:45.034,200] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x44, Cmd ID: 0x80, length: 3
    [11:05:45.034,408] [Z_STACK/HNDL] UNMSKBL: #Peter# znp_misc handleAsyncMsgs: subSys:4, cmdID:0x80 #
    [11:05:45.046,771] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x44, Cmd ID: 0x81, length: 29
    [11:05:45.046,991] [Z_STACK/HNDL] UNMSKBL: #Peter# znp_misc handleAsyncMsgs: subSys:4, cmdID:0x81 #
    [11:05:45.047,168] [GATEWAY/HNDL] UNMSKBL: #Peter# handleAsyncMsgs: ZSTACK_CMD_IDS__AF_INCOMING_MSG_IND #

    // For test ZED case. EM357... (Failed to read temperature)

    #Peter# zcl_SendRead - dstAddr:56934 EP:1,srcEP:1,clusterID:402,readCmd:-140506288
    [11:06:18.136,854] [GATEWAY/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:de66, srcEp:1, dstEp:1, cID:402, bufLen:5
    [11:06:18.137,027] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb zspbHandlePbCb: subsystemID:0x31, cmdId:0x22 #
    [11:06:18.137,149] [NPISRVR/MAIN] UNMSKBL: #Peter# Receive message...
    [11:06:18.137,063] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb Rcvd AF Data Request: addrMode: 2, dstAddr:de66, dep:1, sep:1
    [11:06:18.137,075] [Z_STACK/LSTN] UNMSKBL: #Peter# call AF_DataRequest
    [11:06:18.137,084] [Z_STACK/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:de66, srcEp:1, dstEp:1, cID:402, len:5...
    [11:06:18.137,093] [Z_STACK/LSTN] UNMSKBL: #Peter# znp_misc sendNPIExpectDefaultStatusZNP: subSys:4, cmdID:2, len::25
    [11:06:18.137,185] [NPISRVR/MAIN] UNMSKBL: #Peter# NPI_UART_SendSynchData: cmdId:2 #
    [11:06:18.137,216] [NPISRVR/MAIN] UNMSKBL: #Peter# npi_sendframe: subSys:36, cmdId:2 OK. #
    [11:06:18.141,744] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x64, Cmd ID: 0x02, length: 1
    [11:06:24.630,765] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x44, Cmd ID: 0x80, length: 3
    [11:06:24.630,964] [Z_STACK/HNDL] UNMSKBL: #Peter# znp_misc handleAsyncMsgs: subSys:4, cmdID:0x80 #
    [11:06:27.089,855] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb zspbHandlePbCb: subsystemID:0x31, cmdId:0x15 #
    [11:06:27.089,898] [Z_STACK/LSTN] UNMSKBL: #Peter# znp_misc sendNPIExpectDefaultStatusZNP: subSys:5, cmdID:45, len::4
    [11:06:27.089,965] [NPISRVR/MAIN] UNMSKBL: #Peter# Receive message...
    [11:06:27.089,998] [NPISRVR/MAIN] UNMSKBL: #Peter# NPI_UART_SendSynchData: cmdId:69 #
    [11:06:27.090,028] [NPISRVR/MAIN] UNMSKBL: #Peter# npi_sendframe: subSys:37, cmdId:69 OK. #
    [11:06:27.092,468] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x65, Cmd ID: 0x45, length: 1

  • In you em357 sniffer log, I don't see coordinator sent ZCL read attribute command to your em357 temperature sensor.

  • Yes. This confused me.

    So I print out some debug logs (as above) for cmd_id: GW_CMD_ID_T__DEV_GET_TEMP_REQ, and you can see that both ZEDs have "npi_sendframe: subSys:36, cmdId:2 OK". The npi_sendframe should be the most bottom line before sending to znp FW via UART. I have no idea to dig more for "test ZED" case.

  • Your serial log shows em357  dstAddr:de66 but that's not the same in your sniffer log. Please do the test again and provide match sniffer and serial log.

  • You might need to dump the length: 1 payload content of "Peter# [UART] npi_procframe, subsys: 0x64, Cmd ID: 0x02, length: 1" to know the AF_DATA_REQUEST_EXT SRSP status code for further debugging.

  • Debug logging after add more debug info listed below:

    // Below is cc2652 ZED logging which is fine to passively report temperature with request command.

    =========== start logging ============

    #Peter# zcl_SendRead - dstAddr:38234 EP:8,srcEP:1,clusterID:402,readCmd:-140506512
    [08:53:05.366,106] [GATEWAY/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:955a, srcEp:1, dstEp:8, cID:402, bufLen:5
    [08:53:05.366,302] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb zspbHandlePbCb: subsystemID:0x31, cmdId:0x22 #
    [08:53:05.366,335] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb Rcvd AF Data Request: addrMode: 2, dstAddr:955a, dep:8, sep:1
    [08:53:05.366,424] [Z_STACK/LSTN] UNMSKBL: #Peter# call AF_DataRequest
    [08:53:05.366,501] [Z_STACK/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:955a, srcEp:1, dstEp:8, cID:402, len:5...
    [08:53:05.366,572] [Z_STACK/LSTN] UNMSKBL: #Peter# znp_misc sendNPIExpectDefaultStatusZNP: subSys:4, cmdID:2, len::25
    [08:53:05.366,680] [NPISRVR/MAIN] UNMSKBL: #Peter# Receive message...
    [08:53:05.366,717] [NPISRVR/MAIN] UNMSKBL: #Peter# NPI_UART_SendSynchData: cmdId:2 #
    [08:53:05.366,750] [NPISRVR/MAIN] UNMSKBL: #Peter# npi_sendframe: subSys:36, cmdId:2 OK. #
    [08:53:05.371,281] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_parseframe: found frame, going to npi_procframe
    [08:53:05.371,312] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x64, Cmd ID: 0x02, length: 1
    [08:53:05.371,327] [NPISRVR/U_RX] UNMSKBL: #Peter# [SRSP] 01:64:02:
    [08:53:05.371,362] [NPISRVR/U_RX] UNMSKBL: #Peter# [synchronous response] 01:0:64:02:
    [08:53:05.371,379] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe signal synch response received (invoked by read loop)
    [08:53:05.656,165] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_parseframe: found frame, going to npi_procframe
    [08:53:05.656,205] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x44, Cmd ID: 0x80, length: 3
    [08:53:05.656,221] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe signal areq callback thread (invoked by read loop)
    [08:53:05.656,389] [Z_STACK/HNDL] UNMSKBL: #Peter# znp_misc handleAsyncMsgs: subSys:4, cmdID:0x80 #
    [08:53:05.673,630] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_parseframe: found frame, going to npi_procframe
    [08:53:05.673,833] [Z_STACK/HNDL] UNMSKBL: #Peter# znp_misc handleAsyncMsgs: subSys:4, cmdID:0x81 #
    [08:53:05.674,009] [GATEWAY/HNDL] UNMSKBL: #Peter# handleAsyncMsgs: ZSTACK_CMD_IDS__AF_INCOMING_MSG_IND #
    [08:53:05.673,668] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x44, Cmd ID: 0x81, length: 29
    [08:53:05.673,685] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe signal areq callback thread (invoked by read loop)

    // Below is em357 ZED logging which is failure to passively report temperature with request command

    #Peter# zcl_SendRead - dstAddr:51233 EP:1,srcEP:1,clusterID:402,readCmd:-140506512
    [08:53:41.002,522] [GATEWAY/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:c821, srcEp:1, dstEp:1, cID:402, bufLen:5
    [08:53:41.002,626] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb zspbHandlePbCb: subsystemID:0x31, cmdId:0x22 #
    [08:53:41.002,660] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb Rcvd AF Data Request: addrMode: 2, dstAddr:c821, dep:1, sep:1
    [08:53:41.002,672] [Z_STACK/LSTN] UNMSKBL: #Peter# call AF_DataRequest
    [08:53:41.002,681] [Z_STACK/LSTN] UNMSKBL: #Peter# Sending AF Data Request - dstAddr:c821, srcEp:1, dstEp:1, cID:402, len:5...
    [08:53:41.002,690] [Z_STACK/LSTN] UNMSKBL: #Peter# znp_misc sendNPIExpectDefaultStatusZNP: subSys:4, cmdID:2, len::25
    [08:53:41.002,732] [NPISRVR/MAIN] UNMSKBL: #Peter# Receive message...
    [08:53:41.002,767] [NPISRVR/MAIN] UNMSKBL: #Peter# NPI_UART_SendSynchData: cmdId:2 #
    [08:53:41.002,799] [NPISRVR/MAIN] UNMSKBL: #Peter# npi_sendframe: subSys:36, cmdId:2 OK. #
    [08:53:41.007,293] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_parseframe: found frame, going to npi_procframe
    [08:53:41.007,329] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x64, Cmd ID: 0x02, length: 1
    [08:53:41.007,345] [NPISRVR/U_RX] UNMSKBL: #Peter# [SRSP] 01:64:02:
    [08:53:41.007,384] [NPISRVR/U_RX] UNMSKBL: #Peter# [synchronous response] 01:0:64:02:
    [08:53:41.007,393] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe signal synch response received (invoked by read loop)
    [08:53:47.164,546] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_parseframe: found frame, going to npi_procframe
    [08:53:47.164,595] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x44, Cmd ID: 0x80, length: 3
    [08:53:47.164,616] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe signal areq callback thread (invoked by read loop)
    [08:53:47.164,806] [Z_STACK/HNDL] UNMSKBL: #Peter# znp_misc handleAsyncMsgs: subSys:4, cmdID:0x80 #
    [08:53:49.912,362] [Z_STACK/LSTN] UNMSKBL: #Peter# zstackpb zspbHandlePbCb: subsystemID:0x31, cmdId:0x15 #
    [08:53:49.912,406] [Z_STACK/LSTN] UNMSKBL: #Peter# znp_misc sendNPIExpectDefaultStatusZNP: subSys:5, cmdID:45, len::4
    [08:53:49.912,464] [NPISRVR/MAIN] UNMSKBL: #Peter# Receive message...
    [08:53:49.912,497] [NPISRVR/MAIN] UNMSKBL: #Peter# NPI_UART_SendSynchData: cmdId:69 #
    [08:53:49.912,529] [NPISRVR/MAIN] UNMSKBL: #Peter# npi_sendframe: subSys:37, cmdId:69 OK. #
    [08:53:49.915,004] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_parseframe: found frame, going to npi_procframe
    [08:53:49.915,056] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe, subsys: 0x65, Cmd ID: 0x45, length: 1
    [08:53:49.915,072] [NPISRVR/U_RX] UNMSKBL: #Peter# [SRSP] 01:65:45:
    [08:53:49.915,108] [NPISRVR/U_RX] UNMSKBL: #Peter# [synchronous response] 01:0:65:45:
    [08:53:49.915,118] [NPISRVR/U_RX] UNMSKBL: #Peter# [UART] npi_procframe signal synch response received (invoked by read loop)

    ========== end of logging ===========

    The blue color text print out one byte payload data and both have value 0 (second one).

    The weird is red color text. The time gap for normal one (cc2652) is short. But time gap for failure one (em357) is longer than 5 seconds. It seems the znp firmware did not response and host is timeout.

  • I think the problem is caused by your em357 device not polling frequently so it cannot get your ZCl read attribute command from coordinator.

  • I agree with your comment.

  • Hi TI experts,

    Answer provided did not resolve my issue yet as I cannot modify code for "test ZED" to verify.

    However, I did not see any data request packet over the air during my tests with "test ZED". Instead, I see high frequency of data request packets for "golden ZED" test cases. This dis-similar match the above answer and I agree with it. And this symptom seems reasonable from my understanding.

    Maybe I need to debug with znp firmware I build or check the source code to know more inside.

    Anyway, I update my previous conclusion and keep watching it. Thanks.

    Regards,

    Peter.

  • Data request packet is majorly configured on ZED so you have to check why this ZED doesn't want polling fast enough during joining process. There is not much you can do on ZNP.

  • I know data requests come from ZED site. The reason I want to debug ZNP is wanting to make sure: ZNP not send out GW_CMD_ID_T__DEV_GET_TEMP_REQ is because no data request comes from ZED or not. Or any spec is addressing this issue?

    BTW, "test ZED" did send some few data requests during joining stage, and will not to send any data requests for the other stages to save battery life.

  • Actually, it's difficult to know if ZED is polling or will do polling in time. So, you cannot do much on this on ZNP. The message for ZED would be kept on indirect message buffer of its parent node but will be dropped if ZED doesn't do polling in time.

  • You mean Read Attributes packet is one of the message type that still need for data request from ZED to be sent out to ZED? 

    If yes and "test ZED" will work as it is now, It means I cannot support this passively read temperature for the "test ZED" due to its lack of data request feature.

  • Yes, sleeping ZED needs to do polling to receive data. Without polling, sleeping ZED cannot receive anything.