-
Notifications
You must be signed in to change notification settings - Fork 106
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
What is the data format for STRING ? #60
Comments
in ethernet-ip/tag/index.js |
What about writing the string ? I've tried to use generateWriteMessageRequestForAtomic(..) function, to add the case for STRING, and then handle it like below 👍
However, it keeps giving me error 255 . Any idea ? |
Just commited STRING and LINT support to my fork: https://github.com/SerafinTech/node-ethernet-ip (Tests still need to be written: USE WITH CAUTION!) |
If someone still interested this is my solution for read / write string parseReadMessageResponseValueForAtomic(data) { generateWriteMessageRequestForAtomic(value, size) {
... |
I've tried to implement the STRING dataformat myself, as I need it.
I was filling up the buffer as a null-ending string , however, the data is not sent correctly.
Is there a specific data format for STRING ?
The text was updated successfully, but these errors were encountered: