Hello All,
I have an issue with Format value of an edit text node. The edit text node receive a buffer of 8 bytes from an UDP port.
I would like to display the first field of the buffer. to do that I set Format Value of the Edit Text Node with:
{{payload.readUInt8(0)}}
That doesn't work in the edit text node. but in a function that's work fine:
var value = msg.payload.readUInt8();
var newmsg = { payload: value, topic: "first" };
return newmsg;
What am I doing wrong ? Could you please help me ?