10.1.11.2 Get Configuration

This is done by means of a specific function provided by the controller descriptor:

typedef bool (*pf_mng_get_cfg_t)(uint16_t us_param_id, void *px_value, uint8_t uc_len, bool b_sync);

Parameters:

us_param_idPIB ID (see PIB Objects Specification and Access (PRIME) and PIB Objects Specification and Access (G3))
*px_valuePointer to parameter value to get
uc_lenLength of parameter
b_syncSet synchronous (True) or asynchronous mode (False)

The function returns 0 if the result is invalid, otherwise returns 1.