nRF Connect SDK API 2.8.99
|
int at_params_list_init | ( | struct at_param_list * | list, |
size_t | max_params_count ) |
#include <include/modem/at_params.h>
Create a list of parameters.
An array of max_params_count
is allocated. Each parameter is initialized to its default value. This function should not be called again before freeing the list.
[in] | list | Parameter list to initialize. |
[in] | max_params_count | Maximum number of element that the list can store. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |