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

◆ at_params_list_init()

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.

Parameters
[in]listParameter list to initialize.
[in]max_params_countMaximum number of element that the list can store.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.