view uptools/atcmd/resp_parse.h @ 556:9a53f62c9990

doc/Loadtools-usage: updated for Leonardo and Tango support
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 05 Jan 2020 23:04:22 +0000
parents 02d6c8469535
children
line wrap: on
line source

/*
 * 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