Skip to content

Problem when using a buffer in messages, #5

@GusanoGris

Description

@GusanoGris

I have found a problem when using a buffer in messages, it seems that when retrieving the message some of the characteristics of the buffer change and when sending it to a PLC it does not recognize it.

I have seen that in the in and out

JSON.parse(JSON.stringify(msg))

is used and I do not understand this double transformation. Wouldn't it be better to use the message directly?

queue.push(msg);

node.send(msg);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions