blob: 04206ae961f9b47facf5e472b3a63db7a612b4fb [file] [log] [blame]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>EPTF_LwM2M_Object_Definitions - Massive IoT Test Tools</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script></head><body class="FramedContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.52 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="EPTF_LwM2M_Object_Definitions"></a>EPTF_LwM2M_Object_Definitions</h1><div class=CBody><h4 class=CHeading>Purpose</h4><p>This module contains the smart object decoder functions</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#EPTF_LwM2M_Object_Definitions" >EPTF_LwM2M_Object_Definitions</a></td><td class=SDescription>This module contains the smart object decoder functions</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_Resource_decode" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">f_LwM2M_Resource_decode</a></td><td class=SDescription>Decodes a resource based on a contnet format and its spceification</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_Resource_decode"></a>f_LwM2M_Resource_decode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_LwM2M_Resource_decode(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_res,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_contentFormat</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Decodes a resource based on a contnet format and its spceification</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_res</td><td class=CDLDescription><b>inout</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">LwM2M_Resource</a> - the resource to be decoded (it will be updated)</td></tr><tr><td class=CDLEntry>p_spec</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">LwM2M_ResourceSpecification</a> - the specification of the resource</td></tr><tr><td class=CDLEntry>p_contentFormat</td><td class=CDLDescription><b>in integer</b> - the content format code</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link4 onMouseOver="ShowTip(event, 'tt2', 'link4')" onMouseOut="HideTip('tt2')">LwM2M_Resource</a></p></div></div></div>
</div><!--Content-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=4>function f_LwM2M_Resource_decode(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_res,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_contentFormat</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Decodes a resource based on a contnet format and its spceification</div></div><div class=CToolTip id="tt2"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_Resource</td></tr></table></blockquote>Models a smart resource</div></div><div class=CToolTip id="tt3"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_ResourceSpecification</td></tr></table></blockquote>Defines a smart resource</div></div><!--END_ND_TOOLTIPS-->
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>