nRF Connect SDK API 2.8.99
|
int at_params_array_get | ( | const struct at_param_list * | list, |
size_t | index, | ||
uint32_t * | array, | ||
size_t * | len ) |
#include <include/modem/at_params.h>
Get a parameter value as an array.
The parameter type must be an array, or an error is returned. The string parameter value is copied to the buffer. len
must be equal or bigger than the array length, or an error is returned. The copied string is not null-terminated.
[in] | list | Parameter list. |
[in] | index | Parameter index in the list. |
[out] | array | Pointer to the buffer where to copy the array. |
[in,out] | len | Available space in value , returns actual length copied into array buffer in bytes. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |