view uptools/atcmd/resp_parse.h @ 558:a59a7f838fce

CHANGES: better explain that the newly added Am29DL640G flash support also covers S29PL064J and S71PL064J
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 29 Jan 2020 08:03:19 +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