Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Shylock-Hg/AT-interpreter
AT command library
https://github.com/Shylock-Hg/AT-interpreter
at at-command c
Last synced: 3 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-11T00:36:59.000Z (over 5 years ago)
- Last Synced: 2024-04-24T15:34:35.279Z (6 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|
|:--|:--|:--|:--|:--|
|[![Build Status](https://travis-ci.org/Shylock-Hg/AT-interpreter.svg?branch=master)](https://travis-ci.org/Shylock-Hg/AT-interpreter)|[![codecov](https://codecov.io/gh/Shylock-Hg/AT-interpreter/branch/master/graph/badge.svg)](https://codecov.io/gh/Shylock-Hg/AT-interpreter)|[![CodeFactor](https://www.codefactor.io/repository/github/shylock-hg/at-interpreter/badge)](https://www.codefactor.io/repository/github/shylock-hg/at-interpreter)|[![BCH compliance](https://bettercodehub.com/edge/badge/Shylock-Hg/AT-interpreter?branch=master)](https://bettercodehub.com/)|[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)|
|||[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/Shylock-Hg/AT-interpreter.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Shylock-Hg/AT-interpreter/context:cpp)|||
|||[![Codacy Badge](https://api.codacy.com/project/badge/Grade/21fd3d5c574d4c658a1691102546a8ad)](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
------------------![AT-FSM](https://drive.google.com/uc?id=1gcYMMP4pJyG8tfi-xOeEGJjwGsGMwHuJ)
Usage
-------Please refer to smaple.c for usage of libat API.