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

◆ util_string_to_double_get()

int util_string_to_double_get ( struct at_parser parser,
size_t  index,
double *  value 
)

Get double value from string value input in AT command.

Note
The string cannot be larger than 32.
Parameters
[in]parserAT parser.
[in]indexParameter index in the AT parser.
[out]valuePointer to the double where to store the value.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.