-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
Subscribe to value changes #26
Comments
Hi, I've tried to reproduce against the provider from this library but Can you provide a pcap file with the socket communication? |
Thanks for the tip with the callback on a specific leaf with the getElementByPath function. That worked for PowerCore, unfortunately not on Riedels Mediornet. I can send a pcap file on Thursday. |
I captured the traffic to the "Riedel MicroN" with wireshark. Hopefully that might help you solve my problem. |
I also caputured the Traffic to "Lawo's PowerCore". The callback in this case works.
|
@baltedewit did my provided pcap files help you find my error? If not i can try to produce another one. Thanks a lot! |
Made further tests with the original Lawo implementation in C. There does the GetDirectory work for value changes of the labels. |
And I still have troubles querying the PowerCore Matrix. I get the following error:
could you verify this behavior in your environment? |
Sorry, I haven't been able to look at this yet. Hopefully soon! There has been some changes in the master regarding communication with the riedel stuff on the master branch, perhaps these may be related? |
Hi, with a build from latest master i am getting the same error when trying to access a matrix node on a DHD device: Error (InvalidAsn1Error]: Expected Oxa0: got 0x0
at newInvalidAsn1Error (/.../node_modules/asni/lib/ber/errors.js:7:13)
at Reader. readSequence (/.../node_modules/asn1/lib/ber/reader.js:188:11)
at decodeMatrixContents (/.../node_modules/emberplus-connection/dist/encodings/ber/decoder/Matrix.js:142:28)
at decodeMatrix (/.../node_modules/emberplus-connection/dist/encodings/ber/decoder/Matrix.js:36:61)
at decodeGenericElement (/.../node_modules/emberplus-connection/dist/encodings/ber/decoder/Tree.js:46:42)
at decodeRootElements (/.../node_modules/emberplus-connection/dist/encodings/ber/decoder/Tree.js:164:24.
at berDecode (/.../node_modules/emberplus-connection/dist/encodings/ber/index.js:59:52)
at S101Codec.<anonymous> (/.../node_modules/emberplus-connection/dist/Ember/Socket/S101Socket.js:32:48)
at S101Codec.emit (node: events: 513:28)
at S101Codec.handleEmberPacket (/.../node_modules /emberplus-connection/dist/S101/S101Codec.js:151:14) |
i have the same problem with LAWO vpro8, Riedel micron and still with LAWO PowerCore |
@Nico96R is the error you're seeing the same as with the DHD device? (i.e. NRK is not currently using subscriptions on matrices so that explains why we haven't seen this. I'm not sure if I can get this prioritised, and I'm also not very familiar with the workings of the asn1 library we use so I'm not sure how hard it is to fix. |
Yes it is the same error. The error hasn’t changed since last year.
|
Unfortunately NRK currently does not have the capacity to look at this issue further, as always we are more than happy to accept pull requests regarding this issue. |
I think #39 should fix this problem. It did for me. If you requested path "1.2.3.4.5" and 5 is the parameter, the last "getDirectory()" was for node 4 instead of 5. |
I've experienced a problem with the subscription to a specific node with a leaf. I've use the following code, slightly adapted from your example.
I do get the node and its child leaf, but when I change the value of the leaf I do not get an update. Am I doing something wrong or is there an error in the implementation. Most likely I'm wrong and forgot something.
I've had the same results on the user labels of Lawos PowerCore Sources and on Matrix Labels by Riedels Mediornet.
On the Riedel Matrizes the following code worked perfectly.
Looking forward to your solution.
The text was updated successfully, but these errors were encountered: