FactbirdHQ / atat

no_std crate for parsing AT commands
Apache License 2.0
115 stars 31 forks source link

Ensure that any leading leftover space is trimmed in digester #155

Closed rmja closed 1 year ago

rmja commented 1 year ago

The reason for this change is that e.g. the prompt which can be any of ">" or "> " (with space). If the device uses "> " as prompt, and if we digest the partial prompt ">", then there will be a space in the ingress buffer for the next digest. This space should be trimmed.