Skip to content

SLIPPacketSerial send() gives me two 0xc0 as the end of packet #11

@latonita

Description

@latonita

I simply do slip.send(buff*,size) and it gives me nice slip packet, but with two 0xc0 in the end instead of one. this makes stream desynchronized and i loose packets on receiving side

I suppose it shall be only one 0xc0 in the end.

what i get:
[0xc0,data,0xc0,0xc0][0xc0,data,0xc0,0xc0]...

what i expect:
[0xc0,data,0xc0][0xc0,data,0xc0]...

thanks

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