Hi, linux noob, just mucking round with the exec node:
Why does the payload of the command sometimes display human readable ascii string and sometimes hex:
e.g with ls -a cmd, display a nice string of human readable ascii:
with cat /sys/firmware/devicetree/base/model:
While a function node can change it to readable string:
msg.payload = Buffer.from(msg.payload);
msg.payload = msg.payload.toString();
return msg;
jus like to understand why it does not display ascii string in the first instance.
Thanks
Ken