C library that allows to implement AT commands interpreter.
- AT
- ATE0 ATE1
- AT+CMEE
- A/
Tests and examples requires CMake, C++ compiler, and gtest (Google C++ test library).
Copy source files from ath/ directory in to your project, check examples.
Uses stdin to parse input commands, and stdout to output results.
Livetest program registers "at+exit" command. Also some unsolicited status messages are displayed.
Pstest example program opens pseudo-terminal, and sent its name to stdout. Use terminal program (picocom, minicom, etc) to connect to the file.
This example also suports "at+exit" command.
Check tests/at_tests.cpp file, test_10 for single parameter parsing, and test_19 for two parameters parsing examples.
MIT