Skip to content

On Write action: [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 1 #14

Description

@sandroelmo

Solved by changing at line 1358 in MCprotocol.js file:
From
writeResponse = theData.readUInt8(9);
to
writeResponse = theData.readUInt8(1);

image

Please @plcpeople , can you update the package on npm? thank you

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