We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in bacnet-client.js - writePropery function: invokeCounter - being increased twice:
Once in line: baAdpu.encodeConfirmedServiceRequest(buffer, baEnum.BacnetPduTypes.PDU_TYPE_CONFIRMED_SERVICE_REQUEST, baEnum.BacnetConfirmedServices.SERV ICE_CONFIRMED_WRITE_PROPERTY, maxSegments, baEnum.BacnetMaxAdpu.MAX_APDU1476, invokeCounter++, 0, 0);
Then: addCallback(invokeCounter++, function(err, data) {
This causes callback to always timeout.
The text was updated successfully, but these errors were encountered:
fix(bacnet-client): prevent redundant increment of invoke counter
a59b023
Closes issue #2
Hi @narbuzov
Thank you very much for your bug report, I really appreciate this 👍
The problem is now solved in the latest release "0.0.1-beta.3".
Cheers
Sorry, something went wrong.
fh1ch
No branches or pull requests
in bacnet-client.js - writePropery function:
invokeCounter - being increased twice:
Once in line:
baAdpu.encodeConfirmedServiceRequest(buffer, baEnum.BacnetPduTypes.PDU_TYPE_CONFIRMED_SERVICE_REQUEST, baEnum.BacnetConfirmedServices.SERV
ICE_CONFIRMED_WRITE_PROPERTY, maxSegments, baEnum.BacnetMaxAdpu.MAX_APDU1476, invokeCounter++, 0, 0);
Then:
addCallback(invokeCounter++, function(err, data) {
This causes callback to always timeout.
The text was updated successfully, but these errors were encountered: