ZCL Reporting Interval threshold question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ZCL Reporting Interval threshold question

779 Views
18341265598
Contributor II

Hi nxp:

    The path is:

        C: \ NXP \ bstudio_nxp \ SDK \ \ Jacqueline Nottingham - SW - 4170 Components \ ZCIF \ Source

    and the file is:

         zcl_reportManager.c

    there is a function called:

        eZCLCheckReportingConfigurationRecord

    as below

pastedImage_1.png

This position is doing parameter check, when checking the maximum time interval, why is it illegal when it is less than but not greater than?

Labels (2)
0 Kudos
4 Replies

632 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Zhang,

Please look at the https://www.nxp.com/docs/en/user-guide/JN-UG-3077.pdf

B.7 Profile Initialisation of Attribute Reporting

Regards,

Mario

0 Kudos

632 Views
18341265598
Contributor II

Hi Mario,

I looked at the document you said, but I didn't get the answer.

My question is that shouldn't we use the ">" here, rather than "<"

Because this location is compared to ZCL_Cmmon MAX interval,only if we pass in parameters beyond the ZCL_Cmmon MAX interval, it is E_ZCL_ERR_INVALID_VALLUE

0 Kudos

632 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Zhang,

Thank you for your feedback, it should be like you suggest.

I am already reported.

Regards,

Mario

0 Kudos

632 Views
18341265598
Contributor II

I looked at the document you said, but I didn't get the answer.

My question is that shouldn't we use the ">" here, rather than "<"

Because this location is compared to ZCL_Cmmon MAX interval,only if we pass in parameters beyond the ZCL_Cmmon MAX interval, it is E_ZCL_ERR_INVALID_VALLUE

0 Kudos