https://github.com/Shylock-Hg/AT-interpreter
AT command library
https://github.com/Shylock-Hg/AT-interpreter
at at-command c
Last synced: 5 months ago
JSON representation
AT command library
- Host: GitHub
- URL: https://github.com/Shylock-Hg/AT-interpreter
- Owner: Shylock-Hg
- License: apache-2.0
- Created: 2018-04-14T04:45:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-11T00:36:59.000Z (almost 6 years ago)
- Last Synced: 2024-04-24T15:34:35.279Z (12 months ago)
- Topics: at, at-command, c
- Language: C
- Size: 115 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - AT-interpreter
README
AT-command interpreter
=========================A simple AT command library implement based on *FSM*(parse AT-script) , *queue*(AT-notation buffer) and *hash looup*(AT-notation store).
|CI|Coverage|Lint|Project|PR|
|:--|:--|:--|:--|:--|
|[](https://travis-ci.org/Shylock-Hg/AT-interpreter)|[](https://codecov.io/gh/Shylock-Hg/AT-interpreter)|[](https://www.codefactor.io/repository/github/shylock-hg/at-interpreter)|[](https://bettercodehub.com/)|[](http://makeapullrequest.com)|
|||[](https://lgtm.com/projects/g/Shylock-Hg/AT-interpreter/context:cpp)|||
|||[](https://www.codacy.com/app/Shylock-Hg/AT-interpreter?utm_source=github.com&utm_medium=referral&utm_content=Shylock-Hg/AT-interpreter&utm_campaign=Badge_Grade)|||overview
---------standard record string : "AT+HGABC?;+HGDDD=?;+HGSBD;+HGHIO=1,2,\"hello world!\n\"\n"
1. at command register sequence :
at command struct table --> hash lookup table.2. at command handle sequence :
origin input string -*filter*-> standard record string -*fsm*-> list of at_cmd_t
--> perform list --> release list.terminology
------------1. record : "AT+HGABC?;+HGDDD=?;+HGSBD;+HGHIO=1,2,\"hello world!\n\"\n"
2. prefix : "AT"
3. command : "+HGABC?" , "+HGDDD=?" , "+HGSBD" and "+HGHIO=1,2,\"hello world!\n\"\n"
4. command name : "+HGABC" , "+HGDDD" , "+HGSBD" and "+HGHIO"
5. delimiter command : ';'
6. delimiter record : '\n'AT front-end FSM
------------------
Usage
-------Please refer to smaple.c for usage of libat API.