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_id | PIB ID (see PIB Objects Specification and Access (PRIME) and PIB Objects Specification and Access (G3)) |
*px_value | Pointer to parameter value to get |
uc_len | Length of parameter |
b_sync | Set synchronous (True) or asynchronous mode (False) |
The function returns 0 if the result is invalid, otherwise returns 1.