}
case UAM_REQUEST_REGISTER_SERVICE: {
uam_service_info_s svc;
- svc.app_num = app_num;
__uam_manager_copy_params(in_param1,
&svc, sizeof(uam_service_info_s));
+
+ svc.app_num = app_num;
+
UAM_DBG("Name: [%s] Threshold presence: [%d] absence: [%d]",
svc.name, svc.presence_threshold, svc.absence_threshold);
result = _uam_core_register_service(&svc, app_num);
}
case UAM_REQUEST_UPDATE_SERVICE: {
uam_service_info_s svc;
- svc.app_num = app_num;
__uam_manager_copy_params(in_param1,
&svc, sizeof(uam_service_info_s));
+
+ svc.app_num = app_num;
+
UAM_DBG("Name: [%s] Threshold presence: [%d] absence: [%d]",
svc.name, svc.presence_threshold, svc.absence_threshold);