You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Appbuilder, the predecessor of ZAP was a All in one application which could generate code for both the ZCL and the actual implementation. With ZAP the only information available is the one provided by the ZCL8 spec. Meaning that ZAP cannot produce code for things that he's not aware of. For example the fact that some cluster have an Init function and some doesn't have any. As a consequence the GENERATED_FUNCTION array is now being generated with a hardcoded preset since ZAP is unable to produce it.
Proposed Solution
Find a way to either :
Removed the GENERATED_FUNCTIONS array by changing the ZCL framework
Add back the GENERATED_FUNCTIONS array in a way that is easily scalable and not hardcoded directly in the helper.js file. Meaning that we should have an external way of signifying to zap if a cluster have an INIT_FUNCTION, MESSAGE_SENT_FUNCTION or PRE_ATTRIBUTE_CHANGED_FUNCTION
The text was updated successfully, but these errors were encountered:
Problem
Appbuilder, the predecessor of ZAP was a All in one application which could generate code for both the ZCL and the actual implementation. With ZAP the only information available is the one provided by the ZCL8 spec. Meaning that ZAP cannot produce code for things that he's not aware of. For example the fact that some cluster have an
Init
function and some doesn't have any. As a consequence theGENERATED_FUNCTION
array is now being generated with a hardcoded preset since ZAP is unable to produce it.Proposed Solution
Find a way to either :
Removed the
GENERATED_FUNCTIONS
array by changing the ZCL frameworkAdd back the
GENERATED_FUNCTIONS
array in a way that is easily scalable and not hardcoded directly in thehelper.js
file. Meaning that we should have an external way of signifying to zap if a cluster have anINIT_FUNCTION
,MESSAGE_SENT_FUNCTION
orPRE_ATTRIBUTE_CHANGED_FUNCTION
The text was updated successfully, but these errors were encountered: