blob: 082eaeb9474f87459d32ecad734a0ad50bf506f8 [file] [log] [blame]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>EPTF_LwM2M_Object_Functions - 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_Functions"></a>EPTF_LwM2M_Object_Functions</h1><div class=CBody><h4 class=CHeading>Purpose</h4><p>This module contains the functions of the smart object definitions for the LWM2M load generator component</p><h4 class=CHeading>See also</h4><p>&lt;EPTF_COAP_LGen_Definitions&gt;</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_Functions" >EPTF_LwM2M_Object_Functions</a></td><td class=SDescription>This module contains the functions of the smart object definitions for the LWM2M load generator component</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectSpecificationDB_init" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">f_LwM2M_ObjectSpecificationDB_init</a></td><td class=SDescription>Initializes the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectSpecificationDB_cleanUp" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">f_LwM2M_ObjectSpecificationDB_cleanUp</a></td><td class=SDescription>Cleans up the reserved resources of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link4 onMouseOver="ShowTip(event, 'tt2', 'link4')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectSpecificationDB_add" id=link5 onMouseOver="ShowTip(event, 'tt4', 'link5')" onMouseOut="HideTip('tt4')">f_LwM2M_ObjectSpecificationDB_add</a></td><td class=SDescription>Adds a new <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link6 onMouseOver="ShowTip(event, 'tt5', 'link6')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> element to the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link7 onMouseOver="ShowTip(event, 'tt2', 'link7')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectSpecificationDB_lookUp" id=link8 onMouseOver="ShowTip(event, 'tt6', 'link8')" onMouseOut="HideTip('tt6')">f_LwM2M_ObjectSpecificationDB_lookUp</a></td><td class=SDescription>Gets the index of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link9 onMouseOver="ShowTip(event, 'tt5', 'link9')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> element in the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link10 onMouseOver="ShowTip(event, 'tt2', 'link10')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectSpecificationDB_getResourceSpecification" id=link11 onMouseOver="ShowTip(event, 'tt7', 'link11')" onMouseOut="HideTip('tt7')">f_LwM2M_ObjectSpecificationDB_getResourceSpecification</a></td><td class=SDescription>Retrieves a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link12 onMouseOver="ShowTip(event, 'tt8', 'link12')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> element in the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link13 onMouseOver="ShowTip(event, 'tt2', 'link13')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectSpecificationDB_fillInOmaSpecs" id=link14 onMouseOver="ShowTip(event, 'tt9', 'link14')" onMouseOut="HideTip('tt9')">f_LwM2M_ObjectSpecificationDB_fillInOmaSpecs</a></td><td class=SDescription>Loads known OMA related <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link15 onMouseOver="ShowTip(event, 'tt5', 'link15')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> elements into the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link16 onMouseOver="ShowTip(event, 'tt2', 'link16')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_init" id=link17 onMouseOver="ShowTip(event, 'tt10', 'link17')" onMouseOut="HideTip('tt10')">f_LwM2M_ObjectDB_init</a></td><td class=SDescription>Initializes the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link18 onMouseOver="ShowTip(event, 'tt11', 'link18')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_cleanUp" id=link19 onMouseOver="ShowTip(event, 'tt12', 'link19')" onMouseOut="HideTip('tt12')">f_LwM2M_ObjectDB_cleanUp</a></td><td class=SDescription>Cleans up the reserved resources of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link20 onMouseOver="ShowTip(event, 'tt11', 'link20')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_createObject" id=link21 onMouseOver="ShowTip(event, 'tt13', 'link21')" onMouseOut="HideTip('tt13')">f_LwM2M_ObjectDB_createObject</a></td><td class=SDescription>Creates a new instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link22 onMouseOver="ShowTip(event, 'tt14', 'link22')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> and adds it to the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link23 onMouseOver="ShowTip(event, 'tt11', 'link23')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_getObject" id=link24 onMouseOver="ShowTip(event, 'tt15', 'link24')" onMouseOut="HideTip('tt15')">f_LwM2M_ObjectDB_getObject</a></td><td class=SDescription>Retrieves an instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link25 onMouseOver="ShowTip(event, 'tt14', 'link25')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link26 onMouseOver="ShowTip(event, 'tt11', 'link26')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_getObjectIdx" id=link27 onMouseOver="ShowTip(event, 'tt16', 'link27')" onMouseOut="HideTip('tt16')">f_LwM2M_ObjectDB_getObjectIdx</a></td><td class=SDescription>Retrieves the index of an instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link28 onMouseOver="ShowTip(event, 'tt14', 'link28')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link29 onMouseOver="ShowTip(event, 'tt11', 'link29')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_setObjectObserved" id=link30 onMouseOver="ShowTip(event, 'tt17', 'link30')" onMouseOut="HideTip('tt17')">f_LwM2M_ObjectDB_setObjectObserved</a></td><td class=SDescription>Sets the observation flag of an already linked in <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link31 onMouseOver="ShowTip(event, 'tt14', 'link31')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link32 onMouseOver="ShowTip(event, 'tt11', 'link32')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_createObjectInstance" id=link33 onMouseOver="ShowTip(event, 'tt18', 'link33')" onMouseOut="HideTip('tt18')">f_LwM2M_ObjectDB_createObjectInstance</a></td><td class=SDescription>Creates an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link34 onMouseOver="ShowTip(event, 'tt19', 'link34')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link35 onMouseOver="ShowTip(event, 'tt14', 'link35')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link36 onMouseOver="ShowTip(event, 'tt11', 'link36')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_createObjectInstance" >f_LwM2M_ObjectDB_createObjectInstance</a></td><td class=SDescription>Links in an <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link37 onMouseOver="ShowTip(event, 'tt20', 'link37')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link38 onMouseOver="ShowTip(event, 'tt11', 'link38')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_getObjectInstance" id=link39 onMouseOver="ShowTip(event, 'tt21', 'link39')" onMouseOut="HideTip('tt21')">f_LwM2M_ObjectDB_getObjectInstance</a></td><td class=SDescription>Retrieves an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link40 onMouseOver="ShowTip(event, 'tt19', 'link40')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link41 onMouseOver="ShowTip(event, 'tt11', 'link41')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_setObjectInstanceObserved" id=link42 onMouseOver="ShowTip(event, 'tt22', 'link42')" onMouseOut="HideTip('tt22')">f_LwM2M_ObjectDB_setObjectInstanceObserved</a></td><td class=SDescription>Sets the observation flag of an already linked in <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link43 onMouseOver="ShowTip(event, 'tt19', 'link43')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link44 onMouseOver="ShowTip(event, 'tt11', 'link44')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_getResource" id=link45 onMouseOver="ShowTip(event, 'tt23', 'link45')" onMouseOut="HideTip('tt23')">f_LwM2M_ObjectDB_getResource</a></td><td class=SDescription>Retrieves an <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link46 onMouseOver="ShowTip(event, 'tt20', 'link46')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link47 onMouseOver="ShowTip(event, 'tt11', 'link47')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_setResource" id=link48 onMouseOver="ShowTip(event, 'tt24', 'link48')" onMouseOut="HideTip('tt24')">f_LwM2M_ObjectDB_setResource</a></td><td class=SDescription>Updates the contents of an already linked in <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link49 onMouseOver="ShowTip(event, 'tt20', 'link49')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link50 onMouseOver="ShowTip(event, 'tt11', 'link50')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_getResourceValue" id=link51 onMouseOver="ShowTip(event, 'tt25', 'link51')" onMouseOut="HideTip('tt25')">f_LwM2M_ObjectDB_getResourceValue</a></td><td class=SDescription>Retrieves the <a href="LightweightM2M_Types-ttcn.html#LwM2M_ResourceValue" class=LType id=link52 onMouseOver="ShowTip(event, 'tt26', 'link52')" onMouseOut="HideTip('tt26')">LwM2M_ResourceValue</a> of a <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link53 onMouseOver="ShowTip(event, 'tt20', 'link53')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link54 onMouseOver="ShowTip(event, 'tt11', 'link54')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_setResourceValue" id=link55 onMouseOver="ShowTip(event, 'tt27', 'link55')" onMouseOut="HideTip('tt27')">f_LwM2M_ObjectDB_setResourceValue</a></td><td class=SDescription>Sets the <a href="LightweightM2M_Types-ttcn.html#LwM2M_ResourceValue" class=LType id=link56 onMouseOver="ShowTip(event, 'tt26', 'link56')" onMouseOut="HideTip('tt26')">LwM2M_ResourceValue</a> of an already linked in <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link57 onMouseOver="ShowTip(event, 'tt20', 'link57')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link58 onMouseOver="ShowTip(event, 'tt11', 'link58')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_ObjectDB_setResourceObserved" id=link59 onMouseOver="ShowTip(event, 'tt28', 'link59')" onMouseOut="HideTip('tt28')">f_LwM2M_ObjectDB_setResourceObserved</a></td><td class=SDescription>Sets the observation flag of an already linked in <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link60 onMouseOver="ShowTip(event, 'tt20', 'link60')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link61 onMouseOver="ShowTip(event, 'tt11', 'link61')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_ObjectDB_getObjectPaths" id=link62 onMouseOver="ShowTip(event, 'tt29', 'link62')" onMouseOut="HideTip('tt29')">f_LwM2M_ObjectDB_getObjectPaths</a></td><td class=SDescription>Retrieves all the object paths <a href="LightweightM2M_Types-ttcn.html#ObjectPath_List" class=LType id=link63 onMouseOver="ShowTip(event, 'tt30', 'link63')" onMouseOut="HideTip('tt30')">ObjectPath_List</a> that are stored in the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link64 onMouseOver="ShowTip(event, 'tt11', 'link64')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_resourceHash_forResource" id=link65 onMouseOver="ShowTip(event, 'tt31', 'link65')" onMouseOut="HideTip('tt31')">f_LwM2M_resourceHash_forResource</a></td><td class=SDescription>Function to generate a unique key for the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link66 onMouseOver="ShowTip(event, 'tt20', 'link66')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_resourceHash_forIds" id=link67 onMouseOver="ShowTip(event, 'tt32', 'link67')" onMouseOut="HideTip('tt32')">f_LwM2M_resourceHash_forIds</a></td><td class=SDescription>Function to generate a unique key for <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link68 onMouseOver="ShowTip(event, 'tt20', 'link68')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> IDs</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_createResource" id=link69 onMouseOver="ShowTip(event, 'tt33', 'link69')" onMouseOut="HideTip('tt33')">f_LwM2M_createResource</a></td><td class=SDescription>Function to create an <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link70 onMouseOver="ShowTip(event, 'tt20', 'link70')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance based on a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link71 onMouseOver="ShowTip(event, 'tt8', 'link71')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> and link it into an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link72 onMouseOver="ShowTip(event, 'tt19', 'link72')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a></td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_Resource_getSpecification" id=link73 onMouseOver="ShowTip(event, 'tt34', 'link73')" onMouseOut="HideTip('tt34')">f_LwM2M_Resource_getSpecification</a></td><td class=SDescription>Function to look up the specification of a <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link74 onMouseOver="ShowTip(event, 'tt20', 'link74')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_Resource_checkSpecification" id=link75 onMouseOver="ShowTip(event, 'tt35', 'link75')" onMouseOut="HideTip('tt35')">f_LwM2M_Resource_checkSpecification</a></td><td class=SDescription>Function to check the specification of a <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link76 onMouseOver="ShowTip(event, 'tt20', 'link76')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance against a template</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_Resource_setNextDataSample" id=link77 onMouseOver="ShowTip(event, 'tt36', 'link77')" onMouseOut="HideTip('tt36')">f_LwM2M_Resource_setNextDataSample</a></td><td class=SDescription>In case the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link78 onMouseOver="ShowTip(event, 'tt20', 'link78')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance is associated with a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link79 onMouseOver="ShowTip(event, 'tt37', 'link79')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> it will set its value to the next from the samples</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_DataSamples_DB_init" id=link80 onMouseOver="ShowTip(event, 'tt38', 'link80')" onMouseOut="HideTip('tt38')">f_LwM2M_DataSamples_DB_init</a></td><td class=SDescription>Initializes a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link81 onMouseOver="ShowTip(event, 'tt39', 'link81')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_DataSamples_DB_add" id=link82 onMouseOver="ShowTip(event, 'tt40', 'link82')" onMouseOut="HideTip('tt40')">f_LwM2M_DataSamples_DB_add</a></td><td class=SDescription>Adds a new <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link83 onMouseOver="ShowTip(event, 'tt37', 'link83')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> element to a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link84 onMouseOver="ShowTip(event, 'tt39', 'link84')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_DataSamples_DB_lookUp" id=link85 onMouseOver="ShowTip(event, 'tt41', 'link85')" onMouseOut="HideTip('tt41')">f_LwM2M_DataSamples_DB_lookUp</a></td><td class=SDescription>Looks up a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link86 onMouseOver="ShowTip(event, 'tt37', 'link86')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> element from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link87 onMouseOver="ShowTip(event, 'tt39', 'link87')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database based on the samples&rsquo; name</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_DataSamples_DB_get" id=link88 onMouseOver="ShowTip(event, 'tt42', 'link88')" onMouseOut="HideTip('tt42')">f_LwM2M_DataSamples_DB_get</a></td><td class=SDescription>Retrieves a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link89 onMouseOver="ShowTip(event, 'tt37', 'link89')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> element from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link90 onMouseOver="ShowTip(event, 'tt39', 'link90')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database based on its internal index</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_DataSamples_DB_cleanUp" id=link91 onMouseOver="ShowTip(event, 'tt43', 'link91')" onMouseOut="HideTip('tt43')">f_LwM2M_DataSamples_DB_cleanUp</a></td><td class=SDescription>Cleans up the reserved resources of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link92 onMouseOver="ShowTip(event, 'tt39', 'link92')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectSpecificationDB_init"></a>f_LwM2M_ObjectSpecificationDB_init</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_ObjectSpecificationDB_init(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_id</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializes the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link93 onMouseOver="ShowTip(event, 'tt2', 'link93')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link94 onMouseOver="ShowTip(event, 'tt2', 'link94')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_id</td><td class=CDLDescription><b>in integer</b> - unique id for the instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link95 onMouseOver="ShowTip(event, 'tt2', 'link95')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectSpecificationDB_cleanUp"></a>f_LwM2M_ObjectSpecificationDB_cleanUp</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_ObjectSpecificationDB_cleanUp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Cleans up the reserved resources of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link96 onMouseOver="ShowTip(event, 'tt2', 'link96')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link97 onMouseOver="ShowTip(event, 'tt2', 'link97')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - DB instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link98 onMouseOver="ShowTip(event, 'tt2', 'link98')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectSpecificationDB_add"></a>f_LwM2M_ObjectSpecificationDB_add</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_ObjectSpecificationDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Adds a new <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link99 onMouseOver="ShowTip(event, 'tt5', 'link99')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> element to the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link100 onMouseOver="ShowTip(event, 'tt2', 'link100')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link101 onMouseOver="ShowTip(event, 'tt2', 'link101')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_spec</td><td class=CDLDescription><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link102 onMouseOver="ShowTip(event, 'tt5', 'link102')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> - new element</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link103 onMouseOver="ShowTip(event, 'tt2', 'link103')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectSpecificationDB_lookUp"></a>f_LwM2M_ObjectSpecificationDB_lookUp</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_ObjectSpecificationDB_lookUp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Gets the index of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link104 onMouseOver="ShowTip(event, 'tt5', 'link104')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> element in the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link105 onMouseOver="ShowTip(event, 'tt2', 'link105')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link106 onMouseOver="ShowTip(event, 'tt2', 'link106')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>integer</b> - obj id of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link107 onMouseOver="ShowTip(event, 'tt5', 'link107')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> to be retrieved</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*integer*</td><td class=CDLDescription>the index of the looked up element in the database, or -1 if not found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link108 onMouseOver="ShowTip(event, 'tt2', 'link108')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectSpecificationDB_getResourceSpecification"></a>f_LwM2M_ObjectSpecificationDB_getResourceSpecification</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_ObjectSpecificationDB_getResourceSpecification(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_objId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_resId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link109 onMouseOver="ShowTip(event, 'tt8', 'link109')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> element in the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link110 onMouseOver="ShowTip(event, 'tt2', 'link110')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_spec_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link111 onMouseOver="ShowTip(event, 'tt2', 'link111')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>integer</b> - obj id of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link112 onMouseOver="ShowTip(event, 'tt8', 'link112')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> to be retrieved</td></tr><tr><td class=CDLEntry>p_resId</td><td class=CDLDescription><b>integer</b> - resource id of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link113 onMouseOver="ShowTip(event, 'tt8', 'link113')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> to be retrieved</td></tr><tr><td class=CDLEntry>p_spec</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link114 onMouseOver="ShowTip(event, 'tt8', 'link114')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> - the returned specification</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*boolean*</td><td class=CDLDescription>true, in case the specification was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link115 onMouseOver="ShowTip(event, 'tt2', 'link115')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectSpecificationDB_fillInOmaSpecs"></a>f_LwM2M_ObjectSpecificationDB_fillInOmaSpecs</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_ObjectSpecificationDB_fillInOmaSpecs(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Loads known OMA related <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link116 onMouseOver="ShowTip(event, 'tt5', 'link116')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> elements into the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link117 onMouseOver="ShowTip(event, 'tt2', 'link117')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link118 onMouseOver="ShowTip(event, 'tt2', 'link118')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - DB instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link119 onMouseOver="ShowTip(event, 'tt2', 'link119')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_init"></a>f_LwM2M_ObjectDB_init</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 "nowrap>function f_LwM2M_ObjectDB_init(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_id</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializes the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link120 onMouseOver="ShowTip(event, 'tt11', 'link120')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link121 onMouseOver="ShowTip(event, 'tt11', 'link121')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_id</td><td class=CDLDescription><b>in integer</b> - unique id for the instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link122 onMouseOver="ShowTip(event, 'tt11', 'link122')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_cleanUp"></a>f_LwM2M_ObjectDB_cleanUp</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 "nowrap>function f_LwM2M_ObjectDB_cleanUp(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Cleans up the reserved resources of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link123 onMouseOver="ShowTip(event, 'tt11', 'link123')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link124 onMouseOver="ShowTip(event, 'tt11', 'link124')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link125 onMouseOver="ShowTip(event, 'tt11', 'link125')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_createObject"></a>f_LwM2M_ObjectDB_createObject</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_ObjectDB_createObject(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Creates a new instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link126 onMouseOver="ShowTip(event, 'tt14', 'link126')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> and adds it to the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link127 onMouseOver="ShowTip(event, 'tt11', 'link127')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link128 onMouseOver="ShowTip(event, 'tt11', 'link128')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_spec</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link129 onMouseOver="ShowTip(event, 'tt5', 'link129')" onMouseOut="HideTip('tt5')">LwM2M_ObjectSpecification</a> - specification of the smart object to be instantiated</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*integer*</td><td class=CDLDescription>the index of the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link130 onMouseOver="ShowTip(event, 'tt14', 'link130')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> instance in the database</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link131 onMouseOver="ShowTip(event, 'tt11', 'link131')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_getObject"></a>f_LwM2M_ObjectDB_getObject</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 "nowrap>function f_LwM2M_ObjectDB_getObject(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_id,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Object&nbsp;</td><td class="PParameter prettyprint " nowrap>p_obj</td><td class="PAfterParameters prettyprint "nowrap>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves an instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link132 onMouseOver="ShowTip(event, 'tt14', 'link132')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link133 onMouseOver="ShowTip(event, 'tt11', 'link133')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link134 onMouseOver="ShowTip(event, 'tt11', 'link134')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_id</td><td class=CDLDescription><b>in integer</b> - id of the smart object to be retrieved</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_obj</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link135 onMouseOver="ShowTip(event, 'tt14', 'link135')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> - the retrieved <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link136 onMouseOver="ShowTip(event, 'tt14', 'link136')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> instance</td></tr><tr><td class=CDLEntry>*boolean*</td><td class=CDLDescription>true if the instance was found, false otherwise</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link137 onMouseOver="ShowTip(event, 'tt11', 'link137')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_getObjectIdx"></a>f_LwM2M_ObjectDB_getObjectIdx</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 "nowrap>function f_LwM2M_ObjectDB_getObjectIdx(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_id</td><td class="PAfterParameters prettyprint "nowrap>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves the index of an instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link138 onMouseOver="ShowTip(event, 'tt14', 'link138')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link139 onMouseOver="ShowTip(event, 'tt11', 'link139')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link140 onMouseOver="ShowTip(event, 'tt11', 'link140')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_id</td><td class=CDLDescription><b>in integer</b> - id of the smart object to be retrieved</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>integer</td><td class=CDLDescription>index of an instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link141 onMouseOver="ShowTip(event, 'tt14', 'link141')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link142 onMouseOver="ShowTip(event, 'tt11', 'link142')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link143 onMouseOver="ShowTip(event, 'tt11', 'link143')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_setObjectObserved"></a>f_LwM2M_ObjectDB_setObjectObserved</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=6>function f_LwM2M_ObjectDB_setObjectObserved(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap>p_observed,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in template integer&nbsp;</td><td class="PType prettyprint " nowrap>p_contentFormat&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> omit</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Sets the observation flag of an already linked in <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link144 onMouseOver="ShowTip(event, 'tt14', 'link144')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link145 onMouseOver="ShowTip(event, 'tt11', 'link145')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link146 onMouseOver="ShowTip(event, 'tt11', 'link146')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_observed</td><td class=CDLDescription><b>in boolean</b> - observation flag</td></tr><tr><td class=CDLEntry>p_contentFormat</td><td class=CDLDescription><b>in integer optional</b> - preferred content format</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link147 onMouseOver="ShowTip(event, 'tt11', 'link147')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_createObjectInstance"></a>f_LwM2M_ObjectDB_createObjectInstance</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=6>function f_LwM2M_ObjectDB_createObjectInstance(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_spec_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_id,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in boolean&nbsp;</td><td class="PType prettyprint " nowrap>p_createResources&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> true</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Creates an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link148 onMouseOver="ShowTip(event, 'tt19', 'link148')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link149 onMouseOver="ShowTip(event, 'tt14', 'link149')" onMouseOut="HideTip('tt14')">LwM2M_Object</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link150 onMouseOver="ShowTip(event, 'tt11', 'link150')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link151 onMouseOver="ShowTip(event, 'tt11', 'link151')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_id</td><td class=CDLDescription><b>in integer</b> - id of the smart object to be instantiated</td></tr><tr><td class=CDLEntry>p_spec_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link152 onMouseOver="ShowTip(event, 'tt2', 'link152')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - object specification DB</td></tr><tr><td class=CDLEntry>p_createResources</td><td class=CDLDescription><b>in boolean</b> - should the func create the resource instances as well?</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>integer</td><td class=CDLDescription>index of an instance of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link153 onMouseOver="ShowTip(event, 'tt19', 'link153')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link154 onMouseOver="ShowTip(event, 'tt11', 'link154')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link155 onMouseOver="ShowTip(event, 'tt11', 'link155')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_createObjectInstance"></a>f_LwM2M_ObjectDB_createObjectInstance</h3><div class=CBody><h4 class=CHeading>Purpose</h4><p>Links in an <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link156 onMouseOver="ShowTip(event, 'tt20', 'link156')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link157 onMouseOver="ShowTip(event, 'tt11', 'link157')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link158 onMouseOver="ShowTip(event, 'tt11', 'link158')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_resource</td><td class=CDLDescription><b>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link159 onMouseOver="ShowTip(event, 'tt20', 'link159')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> - smart resource instance</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>true if it was succesful</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link160 onMouseOver="ShowTip(event, 'tt11', 'link160')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_getObjectInstance"></a>f_LwM2M_ObjectDB_getObjectInstance</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_ObjectDB_getObjectInstance(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectInstance&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_objInst</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link161 onMouseOver="ShowTip(event, 'tt19', 'link161')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link162 onMouseOver="ShowTip(event, 'tt11', 'link162')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link163 onMouseOver="ShowTip(event, 'tt11', 'link163')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_objInst</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link164 onMouseOver="ShowTip(event, 'tt19', 'link164')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> - object instance</td></tr><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link165 onMouseOver="ShowTip(event, 'tt11', 'link165')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_setObjectInstanceObserved"></a>f_LwM2M_ObjectDB_setObjectInstanceObserved</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=6>function f_LwM2M_ObjectDB_setObjectInstanceObserved(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objInstId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap>p_observed,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in template integer&nbsp;</td><td class="PType prettyprint " nowrap>p_contentFormat&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> omit</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Sets the observation flag of an already linked in <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link166 onMouseOver="ShowTip(event, 'tt19', 'link166')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link167 onMouseOver="ShowTip(event, 'tt11', 'link167')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link168 onMouseOver="ShowTip(event, 'tt11', 'link168')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr><tr><td class=CDLEntry>p_observed</td><td class=CDLDescription><b>in boolean</b> - observation flag</td></tr><tr><td class=CDLEntry>p_contentFormat</td><td class=CDLDescription><b>in integer optional</b> - preferred content format</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link169 onMouseOver="ShowTip(event, 'tt11', 'link169')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_getResource"></a>f_LwM2M_ObjectDB_getResource</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_ObjectDB_getResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</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_resource</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves an <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link170 onMouseOver="ShowTip(event, 'tt20', 'link170')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link171 onMouseOver="ShowTip(event, 'tt11', 'link171')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link172 onMouseOver="ShowTip(event, 'tt11', 'link172')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr><tr><td class=CDLEntry>p_resourceId</td><td class=CDLDescription><b>in integer</b> - resource id</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_resource</td><td class=CDLDescription><b>inout</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link173 onMouseOver="ShowTip(event, 'tt20', 'link173')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> - object instance</td></tr><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link174 onMouseOver="ShowTip(event, 'tt11', 'link174')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_setResource"></a>f_LwM2M_ObjectDB_setResource</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_ObjectDB_setResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_resource</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Updates the contents of an already linked in <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link175 onMouseOver="ShowTip(event, 'tt20', 'link175')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link176 onMouseOver="ShowTip(event, 'tt11', 'link176')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link177 onMouseOver="ShowTip(event, 'tt11', 'link177')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr><tr><td class=CDLEntry>p_resourceId</td><td class=CDLDescription><b>in integer</b> - resource id</td></tr><tr><td class=CDLEntry>p_resource</td><td class=CDLDescription><b>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link178 onMouseOver="ShowTip(event, 'tt20', 'link178')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> - resource instance</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link179 onMouseOver="ShowTip(event, 'tt11', 'link179')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_getResourceValue"></a>f_LwM2M_ObjectDB_getResourceValue</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_ObjectDB_getResourceValue(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceValue&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_value</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves the <a href="LightweightM2M_Types-ttcn.html#LwM2M_ResourceValue" class=LType id=link180 onMouseOver="ShowTip(event, 'tt26', 'link180')" onMouseOut="HideTip('tt26')">LwM2M_ResourceValue</a> of a <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link181 onMouseOver="ShowTip(event, 'tt20', 'link181')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link182 onMouseOver="ShowTip(event, 'tt11', 'link182')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link183 onMouseOver="ShowTip(event, 'tt11', 'link183')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr><tr><td class=CDLEntry>p_resourceId</td><td class=CDLDescription><b>in integer</b> - resource id</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_value</td><td class=CDLDescription><b>inout</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_ResourceValue" class=LType id=link184 onMouseOver="ShowTip(event, 'tt26', 'link184')" onMouseOut="HideTip('tt26')">LwM2M_ResourceValue</a> - resource value</td></tr><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link185 onMouseOver="ShowTip(event, 'tt11', 'link185')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_setResourceValue"></a>f_LwM2M_ObjectDB_setResourceValue</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_ObjectDB_setResourceValue(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceValue&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_value</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Sets the <a href="LightweightM2M_Types-ttcn.html#LwM2M_ResourceValue" class=LType id=link186 onMouseOver="ShowTip(event, 'tt26', 'link186')" onMouseOut="HideTip('tt26')">LwM2M_ResourceValue</a> of an already linked in <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link187 onMouseOver="ShowTip(event, 'tt20', 'link187')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link188 onMouseOver="ShowTip(event, 'tt11', 'link188')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link189 onMouseOver="ShowTip(event, 'tt11', 'link189')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr><tr><td class=CDLEntry>p_resourceId</td><td class=CDLDescription><b>in integer</b> - resource id</td></tr><tr><td class=CDLEntry>p_value</td><td class=CDLDescription><b>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_ResourceValue" class=LType id=link190 onMouseOver="ShowTip(event, 'tt26', 'link190')" onMouseOut="HideTip('tt26')">LwM2M_ResourceValue</a> - resource instance</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link191 onMouseOver="ShowTip(event, 'tt11', 'link191')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_setResourceObserved"></a>f_LwM2M_ObjectDB_setResourceObserved</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=6>function f_LwM2M_ObjectDB_setResourceObserved(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objInstId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_resourceId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap>p_observed,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in template integer&nbsp;</td><td class="PType prettyprint " nowrap>p_contentFormat&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> omit</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Sets the observation flag of an already linked in <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link192 onMouseOver="ShowTip(event, 'tt20', 'link192')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> in a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link193 onMouseOver="ShowTip(event, 'tt11', 'link193')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link194 onMouseOver="ShowTip(event, 'tt11', 'link194')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr><tr><td class=CDLEntry>p_resourceId</td><td class=CDLDescription><b>in integer</b> - resource id</td></tr><tr><td class=CDLEntry>p_observed</td><td class=CDLDescription><b>in boolean</b> - observation flag</td></tr><tr><td class=CDLEntry>p_contentFormat</td><td class=CDLDescription><b>in integer optional</b> - preferred content format</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>boolean</td><td class=CDLDescription>if the instance was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link195 onMouseOver="ShowTip(event, 'tt11', 'link195')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_ObjectDB_getObjectPaths"></a>f_LwM2M_ObjectDB_getObjectPaths</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 "nowrap>function f_LwM2M_ObjectDB_getObjectPaths(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>ObjectPath_List&nbsp;</td><td class="PParameter prettyprint " nowrap>p_paths</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves all the object paths <a href="LightweightM2M_Types-ttcn.html#ObjectPath_List" class=LType id=link196 onMouseOver="ShowTip(event, 'tt30', 'link196')" onMouseOut="HideTip('tt30')">ObjectPath_List</a> that are stored in the <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link197 onMouseOver="ShowTip(event, 'tt11', 'link197')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link198 onMouseOver="ShowTip(event, 'tt11', 'link198')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a> - DB instance</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_paths</td><td class=CDLDescription><b>inout</b> <a href="LightweightM2M_Types-ttcn.html#ObjectPath_List" class=LType id=link199 onMouseOver="ShowTip(event, 'tt30', 'link199')" onMouseOut="HideTip('tt30')">ObjectPath_List</a> - the pathes of the objects stored in the DB</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectDB" class=LType id=link200 onMouseOver="ShowTip(event, 'tt11', 'link200')" onMouseOut="HideTip('tt11')">LwM2M_ObjectDB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_resourceHash_forResource"></a>f_LwM2M_resourceHash_forResource</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_resourceHash_forResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_res</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return charstring</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Function to generate a unique key for the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link201 onMouseOver="ShowTip(event, 'tt20', 'link201')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance</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>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link202 onMouseOver="ShowTip(event, 'tt20', 'link202')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> - resource instance</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>charstring</td><td class=CDLDescription>unique hash for the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link203 onMouseOver="ShowTip(event, 'tt20', 'link203')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a></td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link204 onMouseOver="ShowTip(event, 'tt20', 'link204')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_resourceHash_forIds"></a>f_LwM2M_resourceHash_forIds</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 "nowrap>function f_LwM2M_resourceHash_forIds(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_objId,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_objInstId,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_resId</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Function to generate a unique key for <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link205 onMouseOver="ShowTip(event, 'tt20', 'link205')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> IDs</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_objId</td><td class=CDLDescription><b>in integer</b> - object id</td></tr><tr><td class=CDLEntry>p_objInstId</td><td class=CDLDescription><b>in integer</b> - object instance id</td></tr><tr><td class=CDLEntry>p_resId</td><td class=CDLDescription><b>in integer</b> - resource id</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>charstring</td><td class=CDLDescription>unique hash for the reource IDs</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link206 onMouseOver="ShowTip(event, 'tt20', 'link206')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_createResource"></a>f_LwM2M_createResource</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_createResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectInstance&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_oi,</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 class="PAfterParameters prettyprint "colspan=4>) return LwM2M_Resource</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Function to create an <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link207 onMouseOver="ShowTip(event, 'tt20', 'link207')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance based on a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link208 onMouseOver="ShowTip(event, 'tt8', 'link208')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> and link it into an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link209 onMouseOver="ShowTip(event, 'tt19', 'link209')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_oi</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link210 onMouseOver="ShowTip(event, 'tt19', 'link210')" onMouseOut="HideTip('tt19')">LwM2M_ObjectInstance</a> - object instance, where the rousrce will be added</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=link211 onMouseOver="ShowTip(event, 'tt8', 'link211')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> - resource specification for the instantiation</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>&lt;LwM2M_Resource&gt;</td><td class=CDLDescription>the create resource instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link212 onMouseOver="ShowTip(event, 'tt20', 'link212')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_Resource_getSpecification"></a>f_LwM2M_Resource_getSpecification</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_getSpecification(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&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_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Function to look up the specification of a <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link213 onMouseOver="ShowTip(event, 'tt20', 'link213')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance</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>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link214 onMouseOver="ShowTip(event, 'tt20', 'link214')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> - the resource</td></tr><tr><td class=CDLEntry>p_spec_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link215 onMouseOver="ShowTip(event, 'tt2', 'link215')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - object specification database</td></tr><tr><td class=CDLEntry>p_spec</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ResourceSpecification" class=LType id=link216 onMouseOver="ShowTip(event, 'tt8', 'link216')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> - resource specification for the instantiation</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*boolean*</td><td class=CDLDescription>true if the specification was found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link217 onMouseOver="ShowTip(event, 'tt20', 'link217')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_Resource_checkSpecification"></a>f_LwM2M_Resource_checkSpecification</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_checkSpecification(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&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_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>template&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Function to check the specification of a <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link218 onMouseOver="ShowTip(event, 'tt20', 'link218')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance against a template</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>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link219 onMouseOver="ShowTip(event, 'tt20', 'link219')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> - the resource</td></tr><tr><td class=CDLEntry>p_spec_db</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecificationDB" class=LType id=link220 onMouseOver="ShowTip(event, 'tt2', 'link220')" onMouseOut="HideTip('tt2')">LwM2M_ObjectSpecificationDB</a> - object specification database</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=link221 onMouseOver="ShowTip(event, 'tt8', 'link221')" onMouseOut="HideTip('tt8')">LwM2M_ResourceSpecification</a> - resource specification for the instantiation</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*boolean*</td><td class=CDLDescription>true if the specifications were matching</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link222 onMouseOver="ShowTip(event, 'tt20', 'link222')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_Resource_setNextDataSample"></a>f_LwM2M_Resource_setNextDataSample</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 "nowrap>function f_LwM2M_Resource_setNextDataSample(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap>p_res,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>In case the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link223 onMouseOver="ShowTip(event, 'tt20', 'link223')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> instance is associated with a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link224 onMouseOver="ShowTip(event, 'tt37', 'link224')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> it will set its value to the next from the samples</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=link225 onMouseOver="ShowTip(event, 'tt20', 'link225')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a> - resource instance, where the value will be updated</td></tr><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>in out</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link226 onMouseOver="ShowTip(event, 'tt39', 'link226')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> - DB where the samples are stored</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>&lt;LwM2M_Resource&gt;</td><td class=CDLDescription>with the updated value</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link227 onMouseOver="ShowTip(event, 'tt20', 'link227')" onMouseOut="HideTip('tt20')">LwM2M_Resource</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_DataSamples_DB_init"></a>f_LwM2M_DataSamples_DB_init</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 "nowrap>function f_LwM2M_DataSamples_DB_init(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap>p_name</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializes a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link228 onMouseOver="ShowTip(event, 'tt39', 'link228')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link229 onMouseOver="ShowTip(event, 'tt39', 'link229')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_name</td><td class=CDLDescription><b>in charstring</b> - name for the DB instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link230 onMouseOver="ShowTip(event, 'tt39', 'link230')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_DataSamples_DB_add"></a>f_LwM2M_DataSamples_DB_add</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_DataSamples_DB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_samples</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Adds a new <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link231 onMouseOver="ShowTip(event, 'tt37', 'link231')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> element to a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link232 onMouseOver="ShowTip(event, 'tt39', 'link232')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link233 onMouseOver="ShowTip(event, 'tt39', 'link233')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_samples</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link234 onMouseOver="ShowTip(event, 'tt37', 'link234')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> - element to be added</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link235 onMouseOver="ShowTip(event, 'tt39', 'link235')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_DataSamples_DB_lookUp"></a>f_LwM2M_DataSamples_DB_lookUp</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_DataSamples_DB_lookUp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_sampleName</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Looks up a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link236 onMouseOver="ShowTip(event, 'tt37', 'link236')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> element from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link237 onMouseOver="ShowTip(event, 'tt39', 'link237')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database based on the samples&rsquo; name</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link238 onMouseOver="ShowTip(event, 'tt39', 'link238')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_sampleName</td><td class=CDLDescription><b>in charstring</b> - name of the sample to look up</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link239 onMouseOver="ShowTip(event, 'tt39', 'link239')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_DataSamples_DB_get"></a>f_LwM2M_DataSamples_DB_get</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 "nowrap>function f_LwM2M_DataSamples_DB_get(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_idx,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples&nbsp;</td><td class="PParameter prettyprint " nowrap>p_samples</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link240 onMouseOver="ShowTip(event, 'tt37', 'link240')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> element from a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link241 onMouseOver="ShowTip(event, 'tt39', 'link241')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database based on its internal index</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link242 onMouseOver="ShowTip(event, 'tt39', 'link242')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> - DB instance</td></tr><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>in integer</b> - index of the sample to be fetched</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_samples</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples" class=LType id=link243 onMouseOver="ShowTip(event, 'tt37', 'link243')" onMouseOut="HideTip('tt37')">LwM2M_DataSamples</a> - retrieved element</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link244 onMouseOver="ShowTip(event, 'tt39', 'link244')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_DataSamples_DB_cleanUp"></a>f_LwM2M_DataSamples_DB_cleanUp</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 "nowrap>function f_LwM2M_DataSamples_DB_cleanUp(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Cleans up the reserved resources of a <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link245 onMouseOver="ShowTip(event, 'tt39', 'link245')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_db</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link246 onMouseOver="ShowTip(event, 'tt39', 'link246')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</a> - DB instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_DataSamples_DB" class=LType id=link247 onMouseOver="ShowTip(event, 'tt39', 'link247')" onMouseOut="HideTip('tt39')">LwM2M_DataSamples_DB</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_ObjectSpecificationDB_init(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_id</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote>Initializes the LwM2M_ObjectSpecificationDB database</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_ObjectSpecificationDB</td></tr></table></blockquote>Storing LwM2M_ObjectSpecification instances</div></div><div class=CToolTip id="tt3"><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_ObjectSpecificationDB_cleanUp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote>Cleans up the reserved resources of the LwM2M_ObjectSpecificationDB database</div></div><div class=CToolTip id="tt4"><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_ObjectSpecificationDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote>Adds a new LwM2M_ObjectSpecification element to the LwM2M_ObjectSpecificationDB database</div></div><div class=CToolTip id="tt5"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_ObjectSpecification</td></tr></table></blockquote>Defines a smart oject</div></div><div class=CToolTip id="tt6"><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_ObjectSpecificationDB_lookUp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote>Gets the index of a LwM2M_ObjectSpecification element in the LwM2M_ObjectSpecificationDB database</div></div><div class=CToolTip id="tt7"><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_ObjectSpecificationDB_getResourceSpecification(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_objId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap></td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_resId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Retrieves a LwM2M_ResourceSpecification element in the LwM2M_ObjectSpecificationDB database</div></div><div class=CToolTip id="tt8"><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><div class=CToolTip id="tt9"><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_ObjectSpecificationDB_fillInOmaSpecs(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote>Loads known OMA related LwM2M_ObjectSpecification elements into the LwM2M_ObjectSpecificationDB database</div></div><div class=CToolTip id="tt10"><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 "nowrap>function f_LwM2M_ObjectDB_init(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_id</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Initializes the LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt11"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_ObjectDB</td></tr></table></blockquote>Storing LwM2M_Object instances</div></div><div class=CToolTip id="tt12"><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 "nowrap>function f_LwM2M_ObjectDB_cleanUp(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Cleans up the reserved resources of the LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt13"><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_ObjectDB_createObject(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote>Creates a new instance of a LwM2M_Object and adds it to the LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt14"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_Object</td></tr></table></blockquote>This structure models a LwM2M smart object</div></div><div class=CToolTip id="tt15"><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 "nowrap>function f_LwM2M_ObjectDB_getObject(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_id,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Object&nbsp;</td><td class="PParameter prettyprint " nowrap>p_obj</td><td class="PAfterParameters prettyprint "nowrap>) return boolean</td></tr></table></td></tr></table></blockquote>Retrieves an instance of a LwM2M_Object from a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt16"><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 "nowrap>function f_LwM2M_ObjectDB_getObjectIdx(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_id</td><td class="PAfterParameters prettyprint "nowrap>) return integer</td></tr></table></td></tr></table></blockquote>Retrieves the index of an instance of a LwM2M_Object from a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt17"><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=6>function f_LwM2M_ObjectDB_setObjectObserved(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap>p_observed,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in template integer&nbsp;</td><td class="PType prettyprint " nowrap>p_contentFormat&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> omit</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return boolean</td></tr></table></td></tr></table></blockquote>Sets the observation flag of an already linked in LwM2M_Object in a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt18"><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=6>function f_LwM2M_ObjectDB_createObjectInstance(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_spec_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_id,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in boolean&nbsp;</td><td class="PType prettyprint " nowrap>p_createResources&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> true</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return integer</td></tr></table></td></tr></table></blockquote>Creates an LwM2M_ObjectInstance of a LwM2M_Object in a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt19"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_ObjectInstance</td></tr></table></blockquote>Models a smart object instance of a LwM2M_Object</div></div><div class=CToolTip id="tt20"><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="tt21"><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_ObjectDB_getObjectInstance(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectInstance&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_objInst</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Retrieves an LwM2M_ObjectInstance from a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt22"><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=6>function f_LwM2M_ObjectDB_setObjectInstanceObserved(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objInstId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap>p_observed,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in template integer&nbsp;</td><td class="PType prettyprint " nowrap>p_contentFormat&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> omit</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return boolean</td></tr></table></td></tr></table></blockquote>Sets the observation flag of an already linked in LwM2M_ObjectInstance in a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt23"><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_ObjectDB_getResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</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_resource</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Retrieves an LwM2M_Resource from a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt24"><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_ObjectDB_setResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_resource</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Updates the contents of an already linked in LwM2M_Resource in a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt25"><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_ObjectDB_getResourceValue(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceValue&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_value</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Retrieves the LwM2M_ResourceValue of a LwM2M_Resource in a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt26"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type union LwM2M_ResourceValue</td></tr></table></blockquote>Union for storing the value of a smart resource</div></div><div class=CToolTip id="tt27"><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_ObjectDB_setResourceValue(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</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_objId,</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_objInstId,</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_resourceId,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceValue&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_value</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Sets the LwM2M_ResourceValue of an already linked in LwM2M_Resource in a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt28"><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=6>function f_LwM2M_ObjectDB_setResourceObserved(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_objInstId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></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>p_resourceId,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap>p_observed,</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue prettyprint " width=100%></td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in template integer&nbsp;</td><td class="PType prettyprint " nowrap>p_contentFormat&nbsp;</td><td class="PParameter prettyprint " nowrap>:</td><td class="PDefaultValuePrefix prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue prettyprint " width=100%> omit</td></tr><tr><td class="PAfterParameters prettyprint "colspan=6>) return boolean</td></tr></table></td></tr></table></blockquote>Sets the observation flag of an already linked in LwM2M_Resource in a LwM2M_ObjectDB database</div></div><div class=CToolTip id="tt29"><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 "nowrap>function f_LwM2M_ObjectDB_getObjectPaths(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectDB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>ObjectPath_List&nbsp;</td><td class="PParameter prettyprint " nowrap>p_paths</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Retrieves all the object paths ObjectPath_List that are stored in the LwM2M_ObjectDB</div></div><div class=CToolTip id="tt30"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record of ObjectPath ObjectPath_List</td></tr></table></blockquote>List of ObjectPath</div></div><div class=CToolTip id="tt31"><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_resourceHash_forResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_res</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return charstring</td></tr></table></td></tr></table></blockquote>Function to generate a unique key for the LwM2M_Resource instance</div></div><div class=CToolTip id="tt32"><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 "nowrap>function f_LwM2M_resourceHash_forIds(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_objId,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_objInstId,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_resId</td><td class="PAfterParameters prettyprint "nowrap>) return charstring</td></tr></table></td></tr></table></blockquote>Function to generate a unique key for LwM2M_Resource IDs</div></div><div class=CToolTip id="tt33"><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_createResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ObjectInstance&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_oi,</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 class="PAfterParameters prettyprint "colspan=4>) return LwM2M_Resource</td></tr></table></td></tr></table></blockquote>Function to create an LwM2M_Resource instance based on a LwM2M_ResourceSpecification and link it into an LwM2M_ObjectInstance</div></div><div class=CToolTip id="tt34"><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_getSpecification(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&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_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Function to look up the specification of a LwM2M_Resource instance</div></div><div class=CToolTip id="tt35"><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_checkSpecification(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&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_ObjectSpecificationDB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>template&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_ResourceSpecification&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_spec</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Function to check the specification of a LwM2M_Resource instance against a template</div></div><div class=CToolTip id="tt36"><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 "nowrap>function f_LwM2M_Resource_setNextDataSample(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource&nbsp;</td><td class="PParameter prettyprint " nowrap>p_res,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>In case the LwM2M_Resource instance is associated with a LwM2M_DataSamples it will set its value to the next from the samples</div></div><div class=CToolTip id="tt37"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_DataSamples</td></tr></table></blockquote>Storing a list of resource values that can be played back to mimic resource value changes</div></div><div class=CToolTip id="tt38"><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 "nowrap>function f_LwM2M_DataSamples_DB_init(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap>p_name</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Initializes a LwM2M_DataSamples_DB database</div></div><div class=CToolTip id="tt39"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_DataSamples_DB</td></tr></table></blockquote>Storing LwM2M_DataSamples instances</div></div><div class=CToolTip id="tt40"><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_DataSamples_DB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_samples</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote>Adds a new LwM2M_DataSamples element to a LwM2M_DataSamples_DB database</div></div><div class=CToolTip id="tt41"><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_DataSamples_DB_lookUp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_db,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_sampleName</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote>Looks up a LwM2M_DataSamples element from a LwM2M_DataSamples_DB database based on the samples&rsquo; name</div></div><div class=CToolTip id="tt42"><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 "nowrap>function f_LwM2M_DataSamples_DB_get(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>p_idx,</td></tr><tr><td></td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples&nbsp;</td><td class="PParameter prettyprint " nowrap>p_samples</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Retrieves a LwM2M_DataSamples element from a LwM2M_DataSamples_DB database based on its internal index</div></div><div class=CToolTip id="tt43"><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 "nowrap>function f_LwM2M_DataSamples_DB_cleanUp(</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_DataSamples_DB&nbsp;</td><td class="PParameter prettyprint " nowrap>p_db</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Cleans up the reserved resources of a LwM2M_DataSamples_DB database</div></div><!--END_ND_TOOLTIPS-->
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>