diff --git a/LibOneM2M/OneM2M_Functions.ttcn b/LibOneM2M/OneM2M_Functions.ttcn index a02ef6c9175b5416beec6439be7ff023c27fe870..58d85bd81fd9a5306f990f8fe6285362fe37440e 100644 --- a/LibOneM2M/OneM2M_Functions.ttcn +++ b/LibOneM2M/OneM2M_Functions.ttcn @@ -5623,7 +5623,7 @@ module OneM2M_Functions { } else { vc_response.primitive.responsePrimitive := valueof(m_responsePrimitive(p_responseStatusCode,p_request.requestIdentifier)); - if(p_responseStatusCode == int2001) { + if(p_responseStatusCode == int2004) { setverdict(pass, __SCOPE__&":INFO: Resource updated successfuly"); f_updateLocalResource(v_targetLocalResourceIndex, p_request.primitiveContent); vc_response.primitive.responsePrimitive.primitiveContent := vc_localResourcesList[v_targetLocalResourceIndex].resource;