view uptools/atcmd/resp_parse.h @ 410:e3d976e1f814

loadtools/loadtool.help: update for FC devices having flash2 like the Pirelli DP-L10
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Oct 2018 18:19:02 +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