-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change improves the robustness of the AT command parser against noise or arbitrary (non-AT) data. The new version can detect the AT prefix in the middle of arbitrary input, e.g., the data generated when the port is initially configured with the wrong baud rate. This is more in-line with the original algorithm from the Hayes AT command interface which detects AT command sequences in arbitrary data stream. The Hayes approach uses a guard interface to only detect AT commands after a short period of inactivity. We do not implement this here since our AT command interface only supports AT commands, not arbitrary data.
- Loading branch information
Showing
1 changed file
with
118 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters