device_id = device_id_param;
uci_handle = load_device_config(device_id_param);
if (uci_handle != NULL) {
device_id = device_id_param;
uci_handle = load_device_config(device_id_param);
if (uci_handle != NULL) {
cfg_fl.c_str(),
DEVICE_CONFIG__SECTION_TYPE,
DEVICE_CONFIG__SECTION_NAME,
key.c_str(),
cfg_fl.c_str(),
DEVICE_CONFIG__SECTION_TYPE,
DEVICE_CONFIG__SECTION_NAME,
key.c_str(),
}
else {
log_debug("Failed to load device configuration: %s, err code: %d.\n", cfg_fl.c_str(), UCI_OK);
}
else {
log_debug("Failed to load device configuration: %s, err code: %d.\n", cfg_fl.c_str(), UCI_OK);