Description
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 🙏