Skip to content

writeBuffer not writing all bytes #597

@ricomercader

Description

@ricomercader

Hello,
I am having an issue when writing bytes with a certain device. I can read/write several messages. The read messages can be of 100+ bytes. However, when writing, I am having success with short messages (up to 12 bytes), but then, trying to write 32 bytes, only 24 of them get written. I am able to obtain the amount of written bytes through the output of writeBytes function, but what should I do next? Should I rewrite with an offset? Has something like this happened before?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions