view uptools/atcmd/resp_parse.h @ 530:c4c0c9cc2a7c

CHANGES: refer to the new doc/Target-utils document
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 16 Jun 2019 19:02:52 +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