C API for BALTECH SDK

§ brp_exec_Sys_CfgGetValue()

BRP_LIB brp_errcode brp_exec_Sys_CfgGetValue ( brp_protocol  protocol,
int  key,
int  value,
brp_buf  data,
size_t  max_data_len,
size_t *  data_len 
)

Retrieves a configuration value from the device.

(see also brp_exec_Sys_CfgSetValue())

Deprecated:
Attention
This function has to be move to "Baltech API" and renamed to brp_Sys_CfgGetValue()!
Parameters
protocolthe BRP protocol to the device
keythe key of the configuration value
valuethe value of the configuration value
datathe buffer, where the content of the configuration value shall be stored into. If NULL, the value has to be empty
max_data_lenthe size of 'data'. If the configuration value is bigger than max_data_len an BRP_ERR_INVALID_API_CALL is returned.
data_lenthe actual length of the configuraiton value. If NULL, the actual length has to be identical to max_data_len