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
I only get the last line ("Done\r\n") but not the other ones. I fiddled out, that it seems, that responses are broken up when a newline is read from the device. Is there any way to work around this?
With best regards
Bernhard
The text was updated successfully, but these errors were encountered:
Hi Bernhard, I'd have to dig into this with some tests. I would think what you've got should work. Not sure why it's not. I wonder what happens if you try:
Here, instead of relying on the RegEx to work, I explicitly check the length and end delimiter for the incoming packet. The caveat here is that you won't get the "Done\r\n" because of the length requirement, but if you need that, you could of course special case it in the packet evaluator closure.
(Incidentally, this will become easier when I implement #89.)
I got a device which sends upon a request things like this:
Every line is 168 bytes long. If I send a request to the device using the following code
I'd expect it to read the all the lines. However, when i inspect the response
I only get the last line ("Done\r\n") but not the other ones. I fiddled out, that it seems, that responses are broken up when a newline is read from the device. Is there any way to work around this?
With best regards
Bernhard
The text was updated successfully, but these errors were encountered: