Skip to content

I found an escape bug,at line 353 of the adafruit_miniesptool.py file #24

Closed
@Vinx911

Description

@Vinx911

https://github.com/espressif/esptool/wiki/Serial-Protocol#low-level-protocol
Each SLIP packet begins and ends with 0xC0. Within the packet, all occurrences of 0xC0 and 0xDB are replaced with 0xDB 0xDC and 0xDB 0xDD, respectively. The replacing is to be done after the checksum and lengths are calculated, so the packet length may be longer than the size field below.

reply += b"\xDC" ===>> reply += b"\xDB"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions