Skip to content

Consider making AtDigester support echo off mode #231

Description

@tmpfs

Hi,

Great library! I am new to AT commands and just trying to figure out URC parsing. I thought disabling echo (with ATE0) would be a good idea to use less resources and send slightly less data over the UART however when i did that it seems impossible for me to get URC parsing working as intended.

I think the culprit is that the AtDigester assumes echo is enabled: https://github.com/FactbirdHQ/atat/blob/master/atat/src/digest.rs#L121-L125 which means that when echo is disabled more bytes are consumed and Parser::parse never gets called with the bytes it expects.

For now I have re-enabled echo with ATE1 and i can parse URC's ok but I wonder it there is an easy way to make AtDigester echo-aware so it could be used to parse URC when echo is disabled.

Thanks 🙏

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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