Skip to content
/ ath Public
forked from arekmd/ath

AT (Hayes) commands host library

Notifications You must be signed in to change notification settings

bliptrip/ath

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AT (Hayes) commands host library

C library that allows to implement AT commands interpreter.

Buildin commands:

  • AT
  • ATE0 ATE1
  • AT+CMEE
  • A/

Requirements

Tests and examples requires CMake, C++ compiler, and gtest (Google C++ test library).

How to use

Copy source files from ath/ directory in to your project, check examples.

Examples

livetest

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

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.

AT command parameters parsing

Check tests/at_tests.cpp file, test_10 for single parameter parsing, and test_19 for two parameters parsing examples.

License

MIT

About

AT (Hayes) commands host library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 53.7%
  • C++ 42.9%
  • CMake 3.4%