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
Hello,
is there any example of how to convert from an interface{} to a writable slice of bytes respecting modbus type and endianness.
I was able to find the opposite (from byte slice read from modbus to interface{}) in telegraf code. Now I shall implement the opposite API for writing into modbus and all that conversions appears tricky.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
is there any example of how to convert from an interface{} to a writable slice of bytes respecting modbus type and endianness.
I was able to find the opposite (from byte slice read from modbus to interface{}) in telegraf code. Now I shall implement the opposite API for writing into modbus and all that conversions appears tricky.
Thanks
The text was updated successfully, but these errors were encountered: