nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ at_parser_int64_get()

int at_parser_int64_get ( struct at_parser parser,
size_t  index,
int64_t *  value 
)

#include <include/modem/at_parser.h>

Get a signed 64-bit integer value.

Parameters
[in]parserAT parser.
[in]indexSubparameter index in the current AT command line configured in parser.
[out]valueSubparameter value.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.
-EINVALOne or more of the supplied parameters are invalid.
-EPERMparser has not been initialized.
-EOPNOTSUPPOperation not supported for the type of value at the given index.
-ERANGEParsed integer value is out of range for the expected type.
-EBADMSGThe AT command string is malformed.
-EAGAINParsing of the current AT command line is terminated and a subsequent line is available. Returned when index is greater than the maximum index for the current AT command line.
-EIOThere is nothing more to parse in the AT command string configured in parser. Returned when index is greater than the maximum index for the current AT command line.