Skip to content

Wrong LRC calculation in ASCII MODE #125

@uaranguren

Description

@uaranguren

When trying to use ASCII mode, the LRC is not correctly calculated.

The function _calculate_lrc receives data in ASCII (not converted to hex). Then, it performs the correct operations but the input is incorrect. To solve this problem, _calculate_lrc shoult convert its input to hex using _hexencode. It could be also possible that the previous function (_embed_payload) performed this conversion before.

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