FreeCalypso > hg > freecalypso-tools
diff uptools/atcmd/resp_parse.h @ 352:02d6c8469535
fcup-smdump implemented, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 05 Feb 2018 08:47:45 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uptools/atcmd/resp_parse.h Mon Feb 05 08:47:45 2018 +0000 @@ -0,0 +1,13 @@ +/* + * Data structures for parsing structured responses to AT commands + */ + +struct resp_field { + int type; + unsigned num; + char *str; +}; + +#define RESP_FIELD_EMPTY 0 +#define RESP_FIELD_NUMBER 1 +#define RESP_FIELD_STRING 2