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

◆ util_string_to_float_get()

int util_string_to_float_get ( struct at_parser parser,
size_t  index,
float *  value 
)

Get float 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 float where to store the value.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.