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

◆ at_params_string_ptr_get()

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.

Parameters
[in]listParameter list.
[in]indexParameter index in the list.
[out]at_paramPointer to the address of the string.
[out]lenLength of the parameter value.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.