BALTECH Docs |
C API for BALTECH SDK
|
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())
protocol | the BRP protocol to the device |
key | the key of the configuration value |
value | the value of the configuration value |
data | the buffer, where the content of the configuration value shall be stored into. If NULL, the value has to be empty |
max_data_len | the size of 'data'. If the configuration value is bigger than max_data_len an BRP_ERR_INVALID_API_CALL is returned. |
data_len | the actual length of the configuraiton value. If NULL, the actual length has to be identical to max_data_len |