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
The static code analysis showed that I even forgot to implement some more stubs (around 6). They're now all implemented and the static code analysis is happy now, so something like this shouldn't repeat itself in the future.
The problem is now solved in the latest release "0.0.1-beta.3".
encode_application_enumerated is referenced in bacapp_encode_application_data:
but not defined as a function. Here is my version to make it work:
var encode_application_enumerated = module.exports.encode_application_enumerated = function(buffer, value) {
var len;
if (value < 0x100) {
len = 1;
} else if (value < 0x10000) {
len = 2;
} else if (value < 0x1000000) {
len = 3;
} else {
len = 4;
}
encodeTag(buffer, baEnum.BacnetApplicationTags.BACNET_APPLICATION_TAG_ENUMERATED, false, len);
encodeBacnetEnumerated(buffer, value);
};
Thank you!
The text was updated successfully, but these errors were encountered: