nRF Connect SDK API 2.8.99
|
int at_params_string_ptr_get | ( | const struct at_param_list * | list, |
size_t | index, | ||
const char ** | at_param, | ||
size_t * | len ) |
#include <include/modem/at_params.h>
Get a pointer to the string parameter value.
The parameter type must be a string, or an error is returned. Allows for custom copying of the value. at_params_list_clear will invalidate the pointer. String parameter is not null-terminated.
[in] | list | Parameter list. |
[in] | index | Parameter index in the list. |
[out] | at_param | Pointer to the address of the string. |
[out] | len | Length of the parameter value. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |