nRF Connect SDK API 0.1.0
|
int at_parser_cmd_type_get | ( | struct at_parser * | parser, |
enum at_parser_cmd_type * | type | ||
) |
#include <include/modem/at_parser.h>
Get the type of the command prefix in the current AT command line.
[in] | parser | A pointer to the AT parser. |
[out] | type | A pointer to the AT command prefix type. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |
-EINVAL | One or more of the supplied parameters are invalid. |
-EPERM | parser has not been initialized. |
-EOPNOTSUPP | Operation not supported for the given AT command line. |