blob: a9e95e26e962a6a506d5a9d6d354ff359f3d5490 [file] [log] [blame]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>EPTF_LwM2M_LGen_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_LGen_Functions"></a>EPTF_LwM2M_LGen_Functions</h1><div class=CBody><h4 class=CHeading>Purpose</h4><p>This module contains the functions of the LWM2M load generator component</p><h4 class=CHeading>See also</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_Definitions" class=LFile id=link117 onMouseOver="ShowTip(event, 'tt79', 'link117')" onMouseOut="HideTip('tt79')">EPTF_LwM2M_LGen_Definitions</a></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_LGen_Functions" >EPTF_LwM2M_LGen_Functions</a></td><td class=SDescription>This module contains the functions of the LWM2M load generator component</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_LGen_init" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">f_EPTF_LwM2M_LGen_init</a></td><td class=SDescription>The main initialization function for the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component type</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_LGen_initLogging" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">f_EPTF_LwM2M_LGen_initLogging</a></td><td class=SDescription>Initializing CLL&rsquo;s logging feature on the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link4 onMouseOver="ShowTip(event, 'tt2', 'link4')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component type</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_cleanUp" id=link5 onMouseOver="ShowTip(event, 'tt4', 'link5')" onMouseOut="HideTip('tt4')">f_LwM2M_cleanUp</a></td><td class=SDescription>The main clean up function for the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link6 onMouseOver="ShowTip(event, 'tt2', 'link6')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component type</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_eCtxBind" id=link7 onMouseOver="ShowTip(event, 'tt5', 'link7')" onMouseOut="HideTip('tt5')">f_LwM2M_eCtxBind</a></td><td class=SDescription>This function is called by the CLL for each entity instance created on a particular instace of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link8 onMouseOver="ShowTip(event, 'tt2', 'link8')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> The function will allocate and initialize an instance of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link9 onMouseOver="ShowTip(event, 'tt6', 'link9')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a> in <b>v_LwM2M_EntityCtxDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link10 onMouseOver="ShowTip(event, 'tt7', 'link10')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a></td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_eCtxUnbind" id=link11 onMouseOver="ShowTip(event, 'tt8', 'link11')" onMouseOut="HideTip('tt8')">f_LwM2M_eCtxUnbind</a></td><td class=SDescription>The reverse operation of <a href="#f_LwM2M_eCtxBind" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt5', 'link12')" onMouseOut="HideTip('tt5')">f_LwM2M_eCtxBind</a>. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_eCtxReset" id=link13 onMouseOver="ShowTip(event, 'tt9', 'link13')" onMouseOut="HideTip('tt9')">f_LwM2M_eCtxReset</a></td><td class=SDescription>The resources reserved during <a href="#f_LwM2M_eCtxBind" class=LFunction id=link14 onMouseOver="ShowTip(event, 'tt5', 'link14')" onMouseOut="HideTip('tt5')">f_LwM2M_eCtxBind</a> are reinitalized (reset). </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_EntityCtxDB_init" id=link15 onMouseOver="ShowTip(event, 'tt10', 'link15')" onMouseOut="HideTip('tt10')">f_EPTF_LwM2M_EntityCtxDB_init</a></td><td class=SDescription>Initializes the <b>v_LwM2M_EntityCtxDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link16 onMouseOver="ShowTip(event, 'tt7', 'link16')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_EntityCtxDB_cleanUp" id=link17 onMouseOver="ShowTip(event, 'tt11', 'link17')" onMouseOut="HideTip('tt11')">f_EPTF_LwM2M_EntityCtxDB_cleanUp</a></td><td class=SDescription>Cleans up the reserved resources of the <b>v_LwM2M_EntityCtxDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link18 onMouseOver="ShowTip(event, 'tt7', 'link18')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_DeviceDB_init" id=link19 onMouseOver="ShowTip(event, 'tt12', 'link19')" onMouseOut="HideTip('tt12')">f_EPTF_LwM2M_DeviceDB_init</a></td><td class=SDescription>Initializes the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link20 onMouseOver="ShowTip(event, 'tt13', 'link20')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_DeviceDB_add" id=link21 onMouseOver="ShowTip(event, 'tt14', 'link21')" onMouseOut="HideTip('tt14')">f_EPTF_LwM2M_DeviceDB_add</a></td><td class=SDescription>Adds a new element to the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link22 onMouseOver="ShowTip(event, 'tt13', 'link22')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_DeviceDB_remove" id=link23 onMouseOver="ShowTip(event, 'tt15', 'link23')" onMouseOut="HideTip('tt15')">f_EPTF_LwM2M_DeviceDB_remove</a></td><td class=SDescription>Removes an element from the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link24 onMouseOver="ShowTip(event, 'tt13', 'link24')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database and frees up its reserved resources</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_DeviceDB_setLocationKey" id=link25 onMouseOver="ShowTip(event, 'tt16', 'link25')" onMouseOut="HideTip('tt16')">f_EPTF_LwM2M_DeviceDB_setLocationKey</a></td><td class=SDescription>Sets the hashmap key for lookups used by the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link26 onMouseOver="ShowTip(event, 'tt13', 'link26')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_DeviceDB_locationHash" id=link27 onMouseOver="ShowTip(event, 'tt17', 'link27')" onMouseOut="HideTip('tt17')">f_EPTF_LwM2M_DeviceDB_locationHash</a></td><td class=SDescription>Hash function for lookups used by the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link28 onMouseOver="ShowTip(event, 'tt13', 'link28')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_DeviceDB_cleanUp" id=link29 onMouseOver="ShowTip(event, 'tt18', 'link29')" onMouseOut="HideTip('tt18')">f_EPTF_LwM2M_DeviceDB_cleanUp</a></td><td class=SDescription>Cleans up the reserved resources of the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link30 onMouseOver="ShowTip(event, 'tt13', 'link30')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_TemplateDB_init" id=link31 onMouseOver="ShowTip(event, 'tt19', 'link31')" onMouseOut="HideTip('tt19')">f_EPTF_LwM2M_TemplateDB_init</a></td><td class=SDescription>Initializes the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link32 onMouseOver="ShowTip(event, 'tt20', 'link32')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database by adding the templates given in <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#tsp_EPTF_LwM2M_LGen_templates" class=LModuleParameter id=link33 onMouseOver="ShowTip(event, 'tt21', 'link33')" onMouseOut="HideTip('tt21')">tsp_EPTF_LwM2M_LGen_templates</a></td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_TemplateDB_add" id=link34 onMouseOver="ShowTip(event, 'tt22', 'link34')" onMouseOut="HideTip('tt22')">f_EPTF_LwM2M_TemplateDB_add</a></td><td class=SDescription>Adds a new element to the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link35 onMouseOver="ShowTip(event, 'tt20', 'link35')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_TemplateDB_lookUp" id=link36 onMouseOver="ShowTip(event, 'tt23', 'link36')" onMouseOut="HideTip('tt23')">f_EPTF_LwM2M_TemplateDB_lookUp</a></td><td class=SDescription>Gets the index of an <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link37 onMouseOver="ShowTip(event, 'tt24', 'link37')" onMouseOut="HideTip('tt24')">LwM2M_Template</a> element in <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link38 onMouseOver="ShowTip(event, 'tt20', 'link38')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_TemplateDB_get" id=link39 onMouseOver="ShowTip(event, 'tt25', 'link39')" onMouseOut="HideTip('tt25')">f_EPTF_LwM2M_TemplateDB_get</a></td><td class=SDescription>Retrieves an element from the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link40 onMouseOver="ShowTip(event, 'tt20', 'link40')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_TemplateDB_cleanUp" id=link41 onMouseOver="ShowTip(event, 'tt26', 'link41')" onMouseOut="HideTip('tt26')">f_EPTF_LwM2M_TemplateDB_cleanUp</a></td><td class=SDescription>Cleans up the reserved resources of the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link42 onMouseOver="ShowTip(event, 'tt20', 'link42')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_Logging_VERBOSE" id=link43 onMouseOver="ShowTip(event, 'tt27', 'link43')" onMouseOut="HideTip('tt27')">f_EPTF_LwM2M_Logging_VERBOSE</a></td><td class=SDescription>Logging functions for the VERBOSE log level</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_Logging_DEBUG" id=link44 onMouseOver="ShowTip(event, 'tt28', 'link44')" onMouseOut="HideTip('tt28')">f_EPTF_LwM2M_Logging_DEBUG</a></td><td class=SDescription>Logging functions for the DEBUG log level</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_Logging_WARNING" id=link45 onMouseOver="ShowTip(event, 'tt29', 'link45')" onMouseOut="HideTip('tt29')">f_EPTF_LwM2M_Logging_WARNING</a></td><td class=SDescription>Logging functions for the WARNING log level</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_Logging_ERROR" id=link46 onMouseOver="ShowTip(event, 'tt30', 'link46')" onMouseOut="HideTip('tt30')">f_EPTF_LwM2M_Logging_ERROR</a></td><td class=SDescription>Logging functions for the ERROR log level</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_LGen_receiveMessage" id=link47 onMouseOver="ShowTip(event, 'tt31', 'link47')" onMouseOut="HideTip('tt31')">f_EPTF_LwM2M_LGen_receiveMessage</a></td><td class=SDescription>The transport layer implementation <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_Provider_CT" class=LType id=link48 onMouseOver="ShowTip(event, 'tt32', 'link48')" onMouseOut="HideTip('tt32')">EPTF_LwM2M_Transport_Provider_CT</a> can report received <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_PDU" class=LType id=link49 onMouseOver="ShowTip(event, 'tt33', 'link49')" onMouseOut="HideTip('tt33')">EPTF_LwM2M_PDU</a> message to the load generator layer <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_User_CT" class=LType id=link50 onMouseOver="ShowTip(event, 'tt34', 'link50')" onMouseOut="HideTip('tt34')">EPTF_LwM2M_Transport_User_CT</a> extended by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link51 onMouseOver="ShowTip(event, 'tt2', 'link51')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> using this function.</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_LGen_receiveEvent" id=link52 onMouseOver="ShowTip(event, 'tt35', 'link52')" onMouseOut="HideTip('tt35')">f_EPTF_LwM2M_LGen_receiveEvent</a></td><td class=SDescription>The transport layer implementation <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_Provider_CT" class=LType id=link53 onMouseOver="ShowTip(event, 'tt32', 'link53')" onMouseOut="HideTip('tt32')">EPTF_LwM2M_Transport_Provider_CT</a> can report received <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Event" class=LType id=link54 onMouseOver="ShowTip(event, 'tt36', 'link54')" onMouseOut="HideTip('tt36')">EPTF_LwM2M_Event</a> events to the load generator layer <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_User_CT" class=LType id=link55 onMouseOver="ShowTip(event, 'tt34', 'link55')" onMouseOut="HideTip('tt34')">EPTF_LwM2M_Transport_User_CT</a> extended by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link56 onMouseOver="ShowTip(event, 'tt2', 'link56')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> using this function.</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_LGen_isBootstrap" id=link57 onMouseOver="ShowTip(event, 'tt37', 'link57')" onMouseOut="HideTip('tt37')">f_EPTF_LwM2M_LGen_isBootstrap</a></td><td class=SDescription>Sets p_isBootstrap true if the device is in bootstrapping state.</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_declareEvents" id=link58 onMouseOver="ShowTip(event, 'tt38', 'link58')" onMouseOut="HideTip('tt38')">f_EPTF_LwM2M_declareEvents</a></td><td class=SDescription>Declares the FSM events to the CLL framework implemented by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link59 onMouseOver="ShowTip(event, 'tt2', 'link59')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_declareSteps" id=link60 onMouseOver="ShowTip(event, 'tt39', 'link60')" onMouseOut="HideTip('tt39')">f_EPTF_LwM2M_declareSteps</a></td><td class=SDescription>Declares the FSM steps to the CLL framework implemented by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link61 onMouseOver="ShowTip(event, 'tt2', 'link61')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_loadTemplate_byIntIdx" id=link62 onMouseOver="ShowTip(event, 'tt40', 'link62')" onMouseOut="HideTip('tt40')">f_LwM2M_step_loadTemplate_byIntIdx</a></td><td class=SDescription>Test step to load a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link63 onMouseOver="ShowTip(event, 'tt24', 'link63')" onMouseOut="HideTip('tt24')">LwM2M_Template</a> from <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#tsp_EPTF_LwM2M_LGen_templates" class=LModuleParameter id=link64 onMouseOver="ShowTip(event, 'tt21', 'link64')" onMouseOut="HideTip('tt21')">tsp_EPTF_LwM2M_LGen_templates</a> into <b>v_LwM2M_msgToSend</b> (which can be sent using the send test step). </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_loadTemplate_byStringId" id=link65 onMouseOver="ShowTip(event, 'tt41', 'link65')" onMouseOut="HideTip('tt41')">f_LwM2M_step_loadTemplate_byStringId</a></td><td class=SDescription>Test step to load a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link66 onMouseOver="ShowTip(event, 'tt24', 'link66')" onMouseOut="HideTip('tt24')">LwM2M_Template</a> from <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#tsp_EPTF_LwM2M_LGen_templates" class=LModuleParameter id=link67 onMouseOver="ShowTip(event, 'tt21', 'link67')" onMouseOut="HideTip('tt21')">tsp_EPTF_LwM2M_LGen_templates</a> into <b>v_LwM2M_msgToSend</b> (which can be sent using the send test step). </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_send" id=link68 onMouseOver="ShowTip(event, 'tt42', 'link68')" onMouseOut="HideTip('tt42')">f_LwM2M_step_send</a></td><td class=SDescription>Test step to send out a LWM2M message from <b>v_LwM2M_msgToSend</b>. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_createDevice" id=link69 onMouseOver="ShowTip(event, 'tt43', 'link69')" onMouseOut="HideTip('tt43')">f_LwM2M_step_createDevice</a></td><td class=SDescription>Test Step to dynamically allocate and initialize a simulated <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link70 onMouseOver="ShowTip(event, 'tt44', 'link70')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> and associate it to the caller entity&rsquo;s <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link71 onMouseOver="ShowTip(event, 'tt6', 'link71')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a>. </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_cleanupDevice" id=link72 onMouseOver="ShowTip(event, 'tt45', 'link72')" onMouseOut="HideTip('tt45')">f_LwM2M_step_cleanupDevice</a></td><td class=SDescription>Test Step to free up the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link73 onMouseOver="ShowTip(event, 'tt6', 'link73')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a> for the caller entity. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_logDevice" id=link74 onMouseOver="ShowTip(event, 'tt46', 'link74')" onMouseOut="HideTip('tt46')">f_LwM2M_step_logDevice</a></td><td class=SDescription>Test Step to log the contents of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link75 onMouseOver="ShowTip(event, 'tt44', 'link75')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> associated to the caller entity&rsquo;s <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link76 onMouseOver="ShowTip(event, 'tt6', 'link76')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a></td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_setBootstrapState" id=link77 onMouseOver="ShowTip(event, 'tt47', 'link77')" onMouseOut="HideTip('tt47')">f_LwM2M_step_setBootstrapState</a></td><td class=SDescription>Test Step to set the state of the device to BOOTSTRAPPING. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_setBlock1Handling_stateless" id=link78 onMouseOver="ShowTip(event, 'tt48', 'link78')" onMouseOut="HideTip('tt48')">f_LwM2M_step_setBlock1Handling_stateless</a></td><td class=SDescription>Test Step to set the block1 handling strategy of the device to stateless</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_setBlock1Handling_atomic" id=link79 onMouseOver="ShowTip(event, 'tt49', 'link79')" onMouseOut="HideTip('tt49')">f_LwM2M_step_setBlock1Handling_atomic</a></td><td class=SDescription>Test Step to set the block1 handling strategy of the device to atomic</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_setNotRegisteredState" id=link80 onMouseOver="ShowTip(event, 'tt50', 'link80')" onMouseOut="HideTip('tt50')">f_LwM2M_step_setNotRegisteredState</a></td><td class=SDescription>Test Step to set the state of the device to NOT_REGISTERED.</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_writeOrCreateObject_BS" id=link81 onMouseOver="ShowTip(event, 'tt51', 'link81')" onMouseOut="HideTip('tt51')">f_LwM2M_step_writeOrCreateObject_BS</a></td><td class=SDescription>Test Step to handling the bootstrap write messge.</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_createObject" id=link82 onMouseOver="ShowTip(event, 'tt52', 'link82')" onMouseOut="HideTip('tt52')">f_LwM2M_step_createObject</a></td><td class=SDescription>Test Step to create an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link83 onMouseOver="ShowTip(event, 'tt53', 'link83')" onMouseOut="HideTip('tt53')">LwM2M_Object</a> instance on the caller entity&rsquo;s associated <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link84 onMouseOver="ShowTip(event, 'tt44', 'link84')" onMouseOut="HideTip('tt44')">LwM2M_Device</a></td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_createObjectInstance" id=link85 onMouseOver="ShowTip(event, 'tt54', 'link85')" onMouseOut="HideTip('tt54')">f_LwM2M_step_createObjectInstance</a></td><td class=SDescription>Test Step to create an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link86 onMouseOver="ShowTip(event, 'tt55', 'link86')" onMouseOut="HideTip('tt55')">LwM2M_ObjectInstance</a> instance on the caller entity&rsquo;s associated <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link87 onMouseOver="ShowTip(event, 'tt44', 'link87')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> the instance will also created the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link88 onMouseOver="ShowTip(event, 'tt56', 'link88')" onMouseOut="HideTip('tt56')">LwM2M_Resource</a> instances according to the object instance&rsquo;s <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link89 onMouseOver="ShowTip(event, 'tt57', 'link89')" onMouseOut="HideTip('tt57')">LwM2M_ObjectSpecification</a></td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_handleReadRequest" id=link90 onMouseOver="ShowTip(event, 'tt58', 'link90')" onMouseOut="HideTip('tt58')">f_LwM2M_step_handleReadRequest</a></td><td class=SDescription>The test step can be called from an FSM to handle a reported LWM2M READ request. </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_handleWriteRequest" id=link91 onMouseOver="ShowTip(event, 'tt59', 'link91')" onMouseOut="HideTip('tt59')">f_LwM2M_step_handleWriteRequest</a></td><td class=SDescription>The test step can be called from an FSM to handle a reported LWM2M WRITE request. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_handleExecuteRequest" id=link92 onMouseOver="ShowTip(event, 'tt60', 'link92')" onMouseOut="HideTip('tt60')">f_LwM2M_step_handleExecuteRequest</a></td><td class=SDescription>The test step can be called from an FSM to handle a reported LWM2M EXECUTE request. </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_sendNotificationForObservedResources" id=link93 onMouseOver="ShowTip(event, 'tt61', 'link93')" onMouseOut="HideTip('tt61')">f_LwM2M_step_sendNotificationForObservedResources</a></td><td class=SDescription>The test step will iterate through the observed resources of the caller entity&rsquo;s <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link94 onMouseOver="ShowTip(event, 'tt44', 'link94')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> and creates and sends a NOTIFICATION for each.</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_setFirmwareUpdateState" id=link95 onMouseOver="ShowTip(event, 'tt62', 'link95')" onMouseOut="HideTip('tt62')">f_LwM2M_step_setFirmwareUpdateState</a></td><td class=SDescription>The test step will set the firmware update state resource value.</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_LwM2M_step_setFirmwareUpdateResult" id=link96 onMouseOver="ShowTip(event, 'tt63', 'link96')" onMouseOut="HideTip('tt63')">f_LwM2M_step_setFirmwareUpdateResult</a></td><td class=SDescription>The test step will set the firmware update result resource value.</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_LwM2M_step_setContentFormats" id=link97 onMouseOver="ShowTip(event, 'tt64', 'link97')" onMouseOut="HideTip('tt64')">f_LwM2M_step_setContentFormats</a></td><td class=SDescription>Test Step to set the preferred encoding content format for a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link98 onMouseOver="ShowTip(event, 'tt44', 'link98')" onMouseOut="HideTip('tt44')">LwM2M_Device</a></td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_setStepCtx" id=link99 onMouseOver="ShowTip(event, 'tt65', 'link99')" onMouseOut="HideTip('tt65')">f_EPTF_LwM2M_setStepCtx</a></td><td class=SDescription>This sets the instance pointers of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link100 onMouseOver="ShowTip(event, 'tt66', 'link100')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> to the related instances of a simulated device (entity) calculated from the test step args &lt;EPTF_LGenBase_TestStepArgs&gt;</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_setCtx" id=link101 onMouseOver="ShowTip(event, 'tt67', 'link101')" onMouseOut="HideTip('tt67')">f_EPTF_LwM2M_setCtx</a></td><td class=SDescription>This sets the instance pointers of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link102 onMouseOver="ShowTip(event, 'tt66', 'link102')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> to the related instances of a simulated device (entity) calculated from the test step args &lt;EPTF_LGenBase_TestStepArgs&gt;</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_hasDevice" id=link103 onMouseOver="ShowTip(event, 'tt68', 'link103')" onMouseOut="HideTip('tt68')">f_EPTF_LwM2M_hasDevice</a></td><td class=SDescription>Checks if the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link104 onMouseOver="ShowTip(event, 'tt6', 'link104')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a> instance of the actual entity has an associated device or not</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_stack_fromApp" id=link105 onMouseOver="ShowTip(event, 'tt69', 'link105')" onMouseOut="HideTip('tt69')">f_EPTF_LwM2M_stack_fromApp</a></td><td class=SDescription>This is the main entry point for the LwM2M stack realization of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link106 onMouseOver="ShowTip(event, 'tt2', 'link106')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component that handles messages received from the application layer (e.g. </td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_stack_fromEnv" id=link107 onMouseOver="ShowTip(event, 'tt70', 'link107')" onMouseOut="HideTip('tt70')">f_EPTF_LwM2M_stack_fromEnv</a></td><td class=SDescription>This is the main entry point for the LwM2M stack realization of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link108 onMouseOver="ShowTip(event, 'tt2', 'link108')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component that handles messages received from the environment layer (e.g. </td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_dispatchEventsForPDU" id=link109 onMouseOver="ShowTip(event, 'tt71', 'link109')" onMouseOut="HideTip('tt71')">f_EPTF_LwM2M_dispatchEventsForPDU</a></td><td class=SDescription>Dispatches events to an entity/fsm based on the LWM2M PDU givenas a parameter</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_sendNotificationForResource" id=link110 onMouseOver="ShowTip(event, 'tt72', 'link110')" onMouseOut="HideTip('tt72')">f_EPTF_LwM2M_sendNotificationForResource</a></td><td class=SDescription>The function sends a LwM2M NOTIFICATION for a resource owned by the entity addressed by the <b>pl_ptr</b> parameter</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_PduToEventIdx" id=link111 onMouseOver="ShowTip(event, 'tt73', 'link111')" onMouseOut="HideTip('tt73')">f_EPTF_LwM2M_PduToEventIdx</a></td><td class=SDescription>Maps a &lt;LWM2M_PDU&gt; to an event id (integer number) that represents the PDU&rsquo;s type</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_dispatchEvent" id=link112 onMouseOver="ShowTip(event, 'tt74', 'link112')" onMouseOut="HideTip('tt74')">f_EPTF_LwM2M_dispatchEvent</a></td><td class=SDescription>Wrapper for CLL&rsquo;s &lt;f_EPTF_LGenBase_postEvent&gt; to handle multi level event (generic, entity, FSM) reporting</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_getIntValue" id=link113 onMouseOver="ShowTip(event, 'tt75', 'link113')" onMouseOut="HideTip('tt75')">f_EPTF_LwM2M_getIntValue</a></td><td class=SDescription>Retreives an element of an &lt;EPTF_IntegerList&gt; if it exists</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_updateMessageStatistics" id=link114 onMouseOver="ShowTip(event, 'tt76', 'link114')" onMouseOut="HideTip('tt76')">f_EPTF_LwM2M_updateMessageStatistics</a></td><td class=SDescription>Updates the message statistics based on the incoming PDU</td></tr><tr class="SFunction"><td class=SEntry><a href="#f_EPTF_LwM2M_getEncodingContentFormat" id=link115 onMouseOver="ShowTip(event, 'tt77', 'link115')" onMouseOut="HideTip('tt77')">f_EPTF_LwM2M_getEncodingContentFormat</a></td><td class=SDescription>Negotiates an encoding format based on this side&rsquo;s preferred, the other side&rsquo;s accepted and the list of resources to be encoded</td></tr><tr class="SFunction SMarked"><td class=SEntry><a href="#f_EPTF_LwM2M_canEncode" id=link116 onMouseOver="ShowTip(event, 'tt78', 'link116')" onMouseOut="HideTip('tt78')">f_EPTF_LwM2M_canEncode</a></td><td class=SDescription>Finds out if a list of resources can be encoded with a certain content format</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_LGen_init"></a>f_EPTF_LwM2M_LGen_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_EPTF_LwM2M_LGen_init(</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%>pl_name</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The main initialization function for the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link118 onMouseOver="ShowTip(event, 'tt2', 'link118')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component type</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_name</td><td class=CDLDescription><b>in</b> <b>charstring</b> - the name for the component instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link119 onMouseOver="ShowTip(event, 'tt2', 'link119')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_LGen_initLogging"></a>f_EPTF_LwM2M_LGen_initLogging</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_LGen_initLogging() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializing CLL&rsquo;s logging feature on the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link120 onMouseOver="ShowTip(event, 'tt2', 'link120')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component type</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link121 onMouseOver="ShowTip(event, 'tt2', 'link121')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_cleanUp"></a>f_LwM2M_cleanUp</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_LwM2M_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The main clean up function for the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link122 onMouseOver="ShowTip(event, 'tt2', 'link122')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component type</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link123 onMouseOver="ShowTip(event, 'tt2', 'link123')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_eCtxBind"></a>f_LwM2M_eCtxBind</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_eCtxBind(</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%>pl_eIdx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return EPTF_IntegerList</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>This function is called by the CLL for each entity instance created on a particular instace of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link124 onMouseOver="ShowTip(event, 'tt2', 'link124')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> The function will allocate and initialize an instance of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link125 onMouseOver="ShowTip(event, 'tt6', 'link125')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a> in <b>v_LwM2M_EntityCtxDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link126 onMouseOver="ShowTip(event, 'tt7', 'link126')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the entity instance on this load generator component instance</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>&lt;EPTF_IntegerList&gt;</td><td class=CDLDescription>The list will contain the index of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link127 onMouseOver="ShowTip(event, 'tt7', 'link127')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a> instance in the <b>v_LwM2M_EntityCtxDB</b></td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link128 onMouseOver="ShowTip(event, 'tt2', 'link128')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_eCtxUnbind"></a>f_LwM2M_eCtxUnbind</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_eCtxUnbind(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>pl_eIdx</td><td class="PAfterParameters prettyprint "nowrap>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The reverse operation of <a href="#f_LwM2M_eCtxBind" class=LFunction id=link129 onMouseOver="ShowTip(event, 'tt5', 'link129')" onMouseOut="HideTip('tt5')">f_LwM2M_eCtxBind</a>.&nbsp; Cleans up resources reserved during <a href="#f_LwM2M_eCtxBind" class=LFunction id=link130 onMouseOver="ShowTip(event, 'tt5', 'link130')" onMouseOut="HideTip('tt5')">f_LwM2M_eCtxBind</a>.&nbsp; Called by the CLL.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the entity instance on this load generator component instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link131 onMouseOver="ShowTip(event, 'tt2', 'link131')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_eCtxReset"></a>f_LwM2M_eCtxReset</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_eCtxReset(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>pl_eIdx</td><td class="PAfterParameters prettyprint "nowrap>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The resources reserved during <a href="#f_LwM2M_eCtxBind" class=LFunction id=link132 onMouseOver="ShowTip(event, 'tt5', 'link132')" onMouseOut="HideTip('tt5')">f_LwM2M_eCtxBind</a> are reinitalized (reset).&nbsp; Called by the CLL.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the entity instance on this load generator component instance</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link133 onMouseOver="ShowTip(event, 'tt2', 'link133')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_EntityCtxDB_init"></a>f_EPTF_LwM2M_EntityCtxDB_init</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_EntityCtxDB_init() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializes the <b>v_LwM2M_EntityCtxDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link134 onMouseOver="ShowTip(event, 'tt7', 'link134')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a> database</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link135 onMouseOver="ShowTip(event, 'tt7', 'link135')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_EntityCtxDB_cleanUp"></a>f_EPTF_LwM2M_EntityCtxDB_cleanUp</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_EntityCtxDB_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Cleans up the reserved resources of the <b>v_LwM2M_EntityCtxDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link136 onMouseOver="ShowTip(event, 'tt7', 'link136')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a> database</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx_DB" class=LType id=link137 onMouseOver="ShowTip(event, 'tt7', 'link137')" onMouseOut="HideTip('tt7')">LwM2M_EntityCtx_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_DeviceDB_init"></a>f_EPTF_LwM2M_DeviceDB_init</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_DeviceDB_init() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializes the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link138 onMouseOver="ShowTip(event, 'tt13', 'link138')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link139 onMouseOver="ShowTip(event, 'tt13', 'link139')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_DeviceDB_add"></a>f_EPTF_LwM2M_DeviceDB_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_EPTF_LwM2M_DeviceDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Device&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_device</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Adds a new element to the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link140 onMouseOver="ShowTip(event, 'tt13', 'link140')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_device</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link141 onMouseOver="ShowTip(event, 'tt44', 'link141')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> - the element to be added</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>out</b> <b>integer</b> - the index of the added element in the database</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link142 onMouseOver="ShowTip(event, 'tt13', 'link142')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_DeviceDB_remove"></a>f_EPTF_LwM2M_DeviceDB_remove</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_EPTF_LwM2M_DeviceDB_remove(</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_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Removes an element from the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link143 onMouseOver="ShowTip(event, 'tt13', 'link143')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database and frees up its reserved resources</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the element to be removed</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link144 onMouseOver="ShowTip(event, 'tt13', 'link144')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_DeviceDB_setLocationKey"></a>f_EPTF_LwM2M_DeviceDB_setLocationKey</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_EPTF_LwM2M_DeviceDB_setLocationKey(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Location&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_location,</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_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Sets the hashmap key for lookups used by the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link145 onMouseOver="ShowTip(event, 'tt13', 'link145')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_location</td><td class=CDLDescription><b>in</b> &lt;Location&gt; - the location (of a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link146 onMouseOver="ShowTip(event, 'tt44', 'link146')" onMouseOut="HideTip('tt44')">LwM2M_Device</a>)</td></tr><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link147 onMouseOver="ShowTip(event, 'tt44', 'link147')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> in the <b>v_LwM2M_DeviceDB</b> database</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link148 onMouseOver="ShowTip(event, 'tt13', 'link148')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_DeviceDB_locationHash"></a>f_EPTF_LwM2M_DeviceDB_locationHash</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_EPTF_LwM2M_DeviceDB_locationHash(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Location&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_location</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return octetstring</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Hash function for lookups used by the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link149 onMouseOver="ShowTip(event, 'tt13', 'link149')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_location</td><td class=CDLDescription><b>in</b> &lt;Location&gt; - the location (of a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link150 onMouseOver="ShowTip(event, 'tt44', 'link150')" onMouseOut="HideTip('tt44')">LwM2M_Device</a>)</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>string hash unique for the &lt;Location&gt; parameter</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link151 onMouseOver="ShowTip(event, 'tt13', 'link151')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_DeviceDB_cleanUp"></a>f_EPTF_LwM2M_DeviceDB_cleanUp</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_DeviceDB_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Cleans up the reserved resources of the <b>v_LwM2M_DeviceDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link152 onMouseOver="ShowTip(event, 'tt13', 'link152')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a> database</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device_DB" class=LType id=link153 onMouseOver="ShowTip(event, 'tt13', 'link153')" onMouseOut="HideTip('tt13')">LwM2M_Device_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_TemplateDB_init"></a>f_EPTF_LwM2M_TemplateDB_init</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_TemplateDB_init() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Initializes the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link154 onMouseOver="ShowTip(event, 'tt20', 'link154')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database by adding the templates given in <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#tsp_EPTF_LwM2M_LGen_templates" class=LModuleParameter id=link155 onMouseOver="ShowTip(event, 'tt21', 'link155')" onMouseOut="HideTip('tt21')">tsp_EPTF_LwM2M_LGen_templates</a></p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link156 onMouseOver="ShowTip(event, 'tt20', 'link156')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_TemplateDB_add"></a>f_EPTF_LwM2M_TemplateDB_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_EPTF_LwM2M_TemplateDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Template&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_template</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Adds a new element to the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link157 onMouseOver="ShowTip(event, 'tt20', 'link157')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_template</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link158 onMouseOver="ShowTip(event, 'tt24', 'link158')" onMouseOut="HideTip('tt24')">LwM2M_Template</a> - the element to be added</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 added element in the database</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link159 onMouseOver="ShowTip(event, 'tt20', 'link159')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_TemplateDB_lookUp"></a>f_EPTF_LwM2M_TemplateDB_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_EPTF_LwM2M_TemplateDB_lookUp(</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_id</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Gets the index of an <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link160 onMouseOver="ShowTip(event, 'tt24', 'link160')" onMouseOut="HideTip('tt24')">LwM2M_Template</a> element in <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link161 onMouseOver="ShowTip(event, 'tt20', 'link161')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_id</td><td class=CDLDescription><b>in</b> <b>charstring</b> - the id of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link162 onMouseOver="ShowTip(event, 'tt24', 'link162')" onMouseOut="HideTip('tt24')">LwM2M_Template</a></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 added element in the database, or -1 if not found</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link163 onMouseOver="ShowTip(event, 'tt20', 'link163')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_TemplateDB_get"></a>f_EPTF_LwM2M_TemplateDB_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 "colspan=4>function f_EPTF_LwM2M_TemplateDB_get(</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_idx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LWM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Retrieves an element from the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link164 onMouseOver="ShowTip(event, 'tt20', 'link164')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_idx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the element 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_or</td><td class=CDLDescription><b>inout</b> &lt;LWM2M_PDU&gt; - the retrieved element</td></tr></table><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link165 onMouseOver="ShowTip(event, 'tt20', 'link165')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_TemplateDB_cleanUp"></a>f_EPTF_LwM2M_TemplateDB_cleanUp</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_TemplateDB_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Cleans up the reserved resources of the <b>v_LwM2M_templateDB</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link166 onMouseOver="ShowTip(event, 'tt20', 'link166')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a> database</p><h4 class=CHeading>Related Type</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template_DB" class=LType id=link167 onMouseOver="ShowTip(event, 'tt20', 'link167')" onMouseOut="HideTip('tt20')">LwM2M_Template_DB</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_Logging_VERBOSE"></a>f_EPTF_LwM2M_Logging_VERBOSE</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_EPTF_LwM2M_Logging_VERBOSE(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the VERBOSE log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link168 onMouseOver="ShowTip(event, 'tt2', 'link168')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_Logging_DEBUG"></a>f_EPTF_LwM2M_Logging_DEBUG</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_EPTF_LwM2M_Logging_DEBUG(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the DEBUG log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link169 onMouseOver="ShowTip(event, 'tt2', 'link169')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_Logging_WARNING"></a>f_EPTF_LwM2M_Logging_WARNING</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_EPTF_LwM2M_Logging_WARNING(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the WARNING log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link170 onMouseOver="ShowTip(event, 'tt2', 'link170')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_Logging_ERROR"></a>f_EPTF_LwM2M_Logging_ERROR</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_EPTF_LwM2M_Logging_ERROR(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Logging functions for the ERROR log level</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <b>charstring</b> - string to be logged</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link171 onMouseOver="ShowTip(event, 'tt2', 'link171')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_LGen_receiveMessage"></a>f_EPTF_LwM2M_LGen_receiveMessage</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_EPTF_LwM2M_LGen_receiveMessage(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The transport layer implementation <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_Provider_CT" class=LType id=link172 onMouseOver="ShowTip(event, 'tt32', 'link172')" onMouseOut="HideTip('tt32')">EPTF_LwM2M_Transport_Provider_CT</a> can report received <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_PDU" class=LType id=link173 onMouseOver="ShowTip(event, 'tt33', 'link173')" onMouseOut="HideTip('tt33')">EPTF_LwM2M_PDU</a> message to the load generator layer <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_User_CT" class=LType id=link174 onMouseOver="ShowTip(event, 'tt34', 'link174')" onMouseOut="HideTip('tt34')">EPTF_LwM2M_Transport_User_CT</a> extended by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link175 onMouseOver="ShowTip(event, 'tt2', 'link175')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> using this function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_message</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_PDU" class=LType id=link176 onMouseOver="ShowTip(event, 'tt33', 'link176')" onMouseOut="HideTip('tt33')">EPTF_LwM2M_PDU</a> - received message</td></tr></table><h4 class=CHeading>Related Types</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link177 onMouseOver="ShowTip(event, 'tt2', 'link177')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></li><li><a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#fcb_EPTF_LwM2M_Transport_receiveMessage" class=LType id=link178 onMouseOver="ShowTip(event, 'tt80', 'link178')" onMouseOut="HideTip('tt80')">fcb_EPTF_LwM2M_Transport_receiveMessage</a></li><li><a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_Provider_CT" class=LType id=link179 onMouseOver="ShowTip(event, 'tt32', 'link179')" onMouseOut="HideTip('tt32')">EPTF_LwM2M_Transport_Provider_CT</a></li><li><a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_User_CT" class=LType id=link180 onMouseOver="ShowTip(event, 'tt34', 'link180')" onMouseOut="HideTip('tt34')">EPTF_LwM2M_Transport_User_CT</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_LGen_receiveEvent"></a>f_EPTF_LwM2M_LGen_receiveEvent</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_EPTF_LwM2M_LGen_receiveEvent(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_Event&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_event</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The transport layer implementation <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_Provider_CT" class=LType id=link181 onMouseOver="ShowTip(event, 'tt32', 'link181')" onMouseOut="HideTip('tt32')">EPTF_LwM2M_Transport_Provider_CT</a> can report received <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Event" class=LType id=link182 onMouseOver="ShowTip(event, 'tt36', 'link182')" onMouseOut="HideTip('tt36')">EPTF_LwM2M_Event</a> events to the load generator layer <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_User_CT" class=LType id=link183 onMouseOver="ShowTip(event, 'tt34', 'link183')" onMouseOut="HideTip('tt34')">EPTF_LwM2M_Transport_User_CT</a> extended by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link184 onMouseOver="ShowTip(event, 'tt2', 'link184')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> using this function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_event</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Event" class=LType id=link185 onMouseOver="ShowTip(event, 'tt36', 'link185')" onMouseOut="HideTip('tt36')">EPTF_LwM2M_Event</a> - received event</td></tr></table><h4 class=CHeading>Related Types</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link186 onMouseOver="ShowTip(event, 'tt2', 'link186')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></li><li><a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#fcb_EPTF_LwM2M_Transport_receiveEvent" class=LType id=link187 onMouseOver="ShowTip(event, 'tt81', 'link187')" onMouseOut="HideTip('tt81')">fcb_EPTF_LwM2M_Transport_receiveEvent</a></li><li><a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_Provider_CT" class=LType id=link188 onMouseOver="ShowTip(event, 'tt32', 'link188')" onMouseOut="HideTip('tt32')">EPTF_LwM2M_Transport_Provider_CT</a></li><li><a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_Transport_User_CT" class=LType id=link189 onMouseOver="ShowTip(event, 'tt34', 'link189')" onMouseOut="HideTip('tt34')">EPTF_LwM2M_Transport_User_CT</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_LGen_isBootstrap"></a>f_EPTF_LwM2M_LGen_isBootstrap</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_EPTF_LwM2M_LGen_isBootstrap(</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%>pl_eIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_isBootstrap</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Sets p_isBootstrap true if the device is in bootstrapping state.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_eIdx</td><td class=CDLDescription><b>in</b> integer - device index</td></tr><tr><td class=CDLEntry>p_isBootstrap</td><td class=CDLDescription><b>inout</b> boolean - is the device bootsrapping</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_declareEvents"></a>f_EPTF_LwM2M_declareEvents</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_declareEvents() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Declares the FSM events to the CLL framework implemented by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link190 onMouseOver="ShowTip(event, 'tt2', 'link190')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link191 onMouseOver="ShowTip(event, 'tt2', 'link191')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_declareSteps"></a>f_EPTF_LwM2M_declareSteps</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_declareSteps() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Declares the FSM steps to the CLL framework implemented by <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link192 onMouseOver="ShowTip(event, 'tt2', 'link192')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link193 onMouseOver="ShowTip(event, 'tt2', 'link193')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_loadTemplate_byIntIdx"></a>f_LwM2M_step_loadTemplate_byIntIdx</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_step_loadTemplate_byIntIdx(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test step to load a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link194 onMouseOver="ShowTip(event, 'tt24', 'link194')" onMouseOut="HideTip('tt24')">LwM2M_Template</a> from <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#tsp_EPTF_LwM2M_LGen_templates" class=LModuleParameter id=link195 onMouseOver="ShowTip(event, 'tt21', 'link195')" onMouseOut="HideTip('tt21')">tsp_EPTF_LwM2M_LGen_templates</a> into <b>v_LwM2M_msgToSend</b> (which can be sent using the send test step).&nbsp; Integer parameter required.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr><tr><td class=CDLEntry>pl_ptr.refContext.fRefArgs[0]</td><td class=CDLDescription><b>integer</b> - Index of the template to load into <b>v_LwM2M_msgToSend</b></td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_loadTemplate_byIntIdx" class=LConstant id=link196 onMouseOver="ShowTip(event, 'tt82', 'link196')" onMouseOut="HideTip('tt82')">c_LwM2M_stepIdx_loadTemplate_byIntIdx</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_loadTemplate_byIntIdx" class=LConstant id=link197 onMouseOver="ShowTip(event, 'tt83', 'link197')" onMouseOut="HideTip('tt83')">c_LwM2M_stepName_loadTemplate_byIntIdx</a></li></ul><h4 class=CHeading>Related Steps</h4><p><a href="#f_LwM2M_step_send" class=LFunction id=link198 onMouseOver="ShowTip(event, 'tt42', 'link198')" onMouseOut="HideTip('tt42')">f_LwM2M_step_send</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_loadTemplate_byStringId"></a>f_LwM2M_step_loadTemplate_byStringId</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_step_loadTemplate_byStringId(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test step to load a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Template" class=LType id=link199 onMouseOver="ShowTip(event, 'tt24', 'link199')" onMouseOut="HideTip('tt24')">LwM2M_Template</a> from <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#tsp_EPTF_LwM2M_LGen_templates" class=LModuleParameter id=link200 onMouseOver="ShowTip(event, 'tt21', 'link200')" onMouseOut="HideTip('tt21')">tsp_EPTF_LwM2M_LGen_templates</a> into <b>v_LwM2M_msgToSend</b> (which can be sent using the send test step).&nbsp; String parameter required.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr><tr><td class=CDLEntry>contextArgs.charstringVal</td><td class=CDLDescription><b>charstring</b> - ID the template to load into <b>v_LwM2M_msgToSend</b></td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_loadTemplate_byStringId" class=LConstant id=link201 onMouseOver="ShowTip(event, 'tt84', 'link201')" onMouseOut="HideTip('tt84')">c_LwM2M_stepIdx_loadTemplate_byStringId</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_loadTemplate_byStringId" class=LConstant id=link202 onMouseOver="ShowTip(event, 'tt85', 'link202')" onMouseOut="HideTip('tt85')">c_LwM2M_stepName_loadTemplate_byStringId</a></li></ul><h4 class=CHeading>Related Steps</h4><p><a href="#f_LwM2M_step_send" class=LFunction id=link203 onMouseOver="ShowTip(event, 'tt42', 'link203')" onMouseOut="HideTip('tt42')">f_LwM2M_step_send</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_send"></a>f_LwM2M_step_send</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_step_send(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test step to send out a LWM2M message from <b>v_LwM2M_msgToSend</b>.&nbsp; The message will be processed by the Applib&rsquo;s LWM2M stack The step expects that a device was created for the entity</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_send" class=LConstant id=link204 onMouseOver="ShowTip(event, 'tt86', 'link204')" onMouseOut="HideTip('tt86')">c_LwM2M_stepIdx_send</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_send" class=LConstant id=link205 onMouseOver="ShowTip(event, 'tt87', 'link205')" onMouseOut="HideTip('tt87')">c_LwM2M_stepName_send</a></li></ul><h4 class=CHeading>Related Steps</h4><ul><li><a href="#f_LwM2M_step_loadTemplate_byIntIdx" class=LFunction id=link206 onMouseOver="ShowTip(event, 'tt40', 'link206')" onMouseOut="HideTip('tt40')">f_LwM2M_step_loadTemplate_byIntIdx</a></li><li><a href="#f_LwM2M_step_loadTemplate_byStringId" class=LFunction id=link207 onMouseOver="ShowTip(event, 'tt41', 'link207')" onMouseOut="HideTip('tt41')">f_LwM2M_step_loadTemplate_byStringId</a></li></ul><h4 class=CHeading>Related functions</h4><p><a href="#f_EPTF_LwM2M_stack_fromApp" class=LFunction id=link208 onMouseOver="ShowTip(event, 'tt69', 'link208')" onMouseOut="HideTip('tt69')">f_EPTF_LwM2M_stack_fromApp</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_createDevice"></a>f_LwM2M_step_createDevice</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_step_createDevice(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to dynamically allocate and initialize a simulated <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link209 onMouseOver="ShowTip(event, 'tt44', 'link209')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> and associate it to the caller entity&rsquo;s <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link210 onMouseOver="ShowTip(event, 'tt6', 'link210')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a>.&nbsp; Prerequisite to call any other LWM2M test step.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_createDevice" class=LConstant id=link211 onMouseOver="ShowTip(event, 'tt88', 'link211')" onMouseOut="HideTip('tt88')">c_LwM2M_stepIdx_createDevice</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_createDevice" class=LConstant id=link212 onMouseOver="ShowTip(event, 'tt89', 'link212')" onMouseOut="HideTip('tt89')">c_LwM2M_stepName_createDevice</a></li></ul><h4 class=CHeading>Related Functions</h4><ul><li><a href="#f_LwM2M_step_cleanupDevice" class=LFunction id=link213 onMouseOver="ShowTip(event, 'tt45', 'link213')" onMouseOut="HideTip('tt45')">f_LwM2M_step_cleanupDevice</a></li></ul><h4 class=CHeading>Related Types</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link214 onMouseOver="ShowTip(event, 'tt44', 'link214')" onMouseOut="HideTip('tt44')">LwM2M_Device</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_cleanupDevice"></a>f_LwM2M_step_cleanupDevice</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_step_cleanupDevice(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to free up the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link215 onMouseOver="ShowTip(event, 'tt6', 'link215')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a> for the caller entity.&nbsp; Frees up all allocated instances that were used by this FSM instance.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Functions</h4><ul><li><a href="#f_LwM2M_step_createDevice" class=LFunction id=link216 onMouseOver="ShowTip(event, 'tt43', 'link216')" onMouseOut="HideTip('tt43')">f_LwM2M_step_createDevice</a></li></ul><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_cleanupDevice" class=LConstant id=link217 onMouseOver="ShowTip(event, 'tt90', 'link217')" onMouseOut="HideTip('tt90')">c_LwM2M_stepIdx_cleanupDevice</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_cleanupDevice" class=LConstant id=link218 onMouseOver="ShowTip(event, 'tt91', 'link218')" onMouseOut="HideTip('tt91')">c_LwM2M_stepName_cleanupDevice</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_logDevice"></a>f_LwM2M_step_logDevice</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_step_logDevice(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to log the contents of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link219 onMouseOver="ShowTip(event, 'tt44', 'link219')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> associated to the caller entity&rsquo;s <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link220 onMouseOver="ShowTip(event, 'tt6', 'link220')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_logDevice" class=LConstant id=link221 onMouseOver="ShowTip(event, 'tt92', 'link221')" onMouseOut="HideTip('tt92')">c_LwM2M_stepIdx_logDevice</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_logDevice" class=LConstant id=link222 onMouseOver="ShowTip(event, 'tt93', 'link222')" onMouseOut="HideTip('tt93')">c_LwM2M_stepName_logDevice</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_setBootstrapState"></a>f_LwM2M_step_setBootstrapState</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_step_setBootstrapState(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to set the state of the device to BOOTSTRAPPING.&nbsp; Consequently, the bootstrap related LWM2M decoder functions will be used.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_setBootstrapState" class=LConstant id=link223 onMouseOver="ShowTip(event, 'tt94', 'link223')" onMouseOut="HideTip('tt94')">c_LwM2M_stepIdx_setBootstrapState</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_setBootstrapState" class=LConstant id=link224 onMouseOver="ShowTip(event, 'tt95', 'link224')" onMouseOut="HideTip('tt95')">c_LwM2M_stepName_setBootstrapState</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_setBlock1Handling_stateless"></a>f_LwM2M_step_setBlock1Handling_stateless</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_step_setBlock1Handling_stateless(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to set the block1 handling strategy of the device to stateless</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_setBlock1Handling_stateless" class=LConstant id=link225 onMouseOver="ShowTip(event, 'tt96', 'link225')" onMouseOut="HideTip('tt96')">c_LwM2M_stepIdx_setBlock1Handling_stateless</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_setBlock1Handling_stateless" class=LConstant id=link226 onMouseOver="ShowTip(event, 'tt97', 'link226')" onMouseOut="HideTip('tt97')">c_LwM2M_stepName_setBlock1Handling_stateless</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_setBlock1Handling_atomic"></a>f_LwM2M_step_setBlock1Handling_atomic</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_step_setBlock1Handling_atomic(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to set the block1 handling strategy of the device to atomic</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_setBlock1Handling_atomic" class=LConstant id=link227 onMouseOver="ShowTip(event, 'tt98', 'link227')" onMouseOut="HideTip('tt98')">c_LwM2M_stepIdx_setBlock1Handling_atomic</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_setBlock1Handling_atomic" class=LConstant id=link228 onMouseOver="ShowTip(event, 'tt99', 'link228')" onMouseOut="HideTip('tt99')">c_LwM2M_stepName_setBlock1Handling_atomic</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_setNotRegisteredState"></a>f_LwM2M_step_setNotRegisteredState</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_step_setNotRegisteredState(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to set the state of the device to NOT_REGISTERED.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_setNotRegisteredState" class=LConstant id=link229 onMouseOver="ShowTip(event, 'tt100', 'link229')" onMouseOut="HideTip('tt100')">c_LwM2M_stepIdx_setNotRegisteredState</a></li><li>&lt;c_LwM2M_stepName_setNotRegisteredState&gt;</li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_writeOrCreateObject_BS"></a>f_LwM2M_step_writeOrCreateObject_BS</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_step_writeOrCreateObject_BS(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to handling the bootstrap write messge.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li>&lt;c_LwM2M_stepIdx_writeOrCreateObject_BS&gt;</li><li>&lt;c_LwM2M_stepName_writeOrCreateObject_BS&gt;</li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_createObject"></a>f_LwM2M_step_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_step_createObject(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to create an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_Object" class=LType id=link230 onMouseOver="ShowTip(event, 'tt53', 'link230')" onMouseOut="HideTip('tt53')">LwM2M_Object</a> instance on the caller entity&rsquo;s associated <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link231 onMouseOver="ShowTip(event, 'tt44', 'link231')" onMouseOut="HideTip('tt44')">LwM2M_Device</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_createObject" class=LConstant id=link232 onMouseOver="ShowTip(event, 'tt101', 'link232')" onMouseOut="HideTip('tt101')">c_LwM2M_stepIdx_createObject</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_createObject" class=LConstant id=link233 onMouseOver="ShowTip(event, 'tt102', 'link233')" onMouseOut="HideTip('tt102')">c_LwM2M_stepName_createObject</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_createObjectInstance"></a>f_LwM2M_step_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=4>function f_LwM2M_step_createObjectInstance(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to create an <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectInstance" class=LType id=link234 onMouseOver="ShowTip(event, 'tt55', 'link234')" onMouseOut="HideTip('tt55')">LwM2M_ObjectInstance</a> instance on the caller entity&rsquo;s associated <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link235 onMouseOver="ShowTip(event, 'tt44', 'link235')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> the instance will also created the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link236 onMouseOver="ShowTip(event, 'tt56', 'link236')" onMouseOut="HideTip('tt56')">LwM2M_Resource</a> instances according to the object instance&rsquo;s <a href="EPTF_LwM2M_Object_Definitions-ttcn.html#LwM2M_ObjectSpecification" class=LType id=link237 onMouseOver="ShowTip(event, 'tt57', 'link237')" onMouseOut="HideTip('tt57')">LwM2M_ObjectSpecification</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_createObjectInstance" class=LConstant id=link238 onMouseOver="ShowTip(event, 'tt103', 'link238')" onMouseOut="HideTip('tt103')">c_LwM2M_stepIdx_createObjectInstance</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_createObjectInstance" class=LConstant id=link239 onMouseOver="ShowTip(event, 'tt104', 'link239')" onMouseOut="HideTip('tt104')">c_LwM2M_stepName_createObjectInstance</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_handleReadRequest"></a>f_LwM2M_step_handleReadRequest</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_step_handleReadRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The test step can be called from an FSM to handle a reported LWM2M READ request.&nbsp; The test step will bind the current request to the caller FSM, look up the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link240 onMouseOver="ShowTip(event, 'tt56', 'link240')" onMouseOut="HideTip('tt56')">LwM2M_Resource</a> addressed in the request and create a response with &lt;Code&gt; 205 and content according to the resource value.&nbsp; In case the READ request also includes observation, the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link241 onMouseOver="ShowTip(event, 'tt56', 'link241')" onMouseOut="HideTip('tt56')">LwM2M_Resource</a> will be marked as observed</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_handleReadRequest" class=LConstant id=link242 onMouseOver="ShowTip(event, 'tt105', 'link242')" onMouseOut="HideTip('tt105')">c_LwM2M_stepIdx_handleReadRequest</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_handleReadRequest" class=LConstant id=link243 onMouseOver="ShowTip(event, 'tt106', 'link243')" onMouseOut="HideTip('tt106')">c_LwM2M_stepName_handleReadRequest</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_handleWriteRequest"></a>f_LwM2M_step_handleWriteRequest</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_step_handleWriteRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The test step can be called from an FSM to handle a reported LWM2M WRITE request.&nbsp; The test step will bind the current request to the caller FSM, look up the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link244 onMouseOver="ShowTip(event, 'tt56', 'link244')" onMouseOut="HideTip('tt56')">LwM2M_Resource</a> addressed in the request and load the updated value from the request.&nbsp; Finally, it will create a response with &lt;Code&gt; 204 in case the resource was found (404 otherwise).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_handleWriteRequest" class=LConstant id=link245 onMouseOver="ShowTip(event, 'tt107', 'link245')" onMouseOut="HideTip('tt107')">c_LwM2M_stepIdx_handleWriteRequest</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_handleWriteRequest" class=LConstant id=link246 onMouseOver="ShowTip(event, 'tt108', 'link246')" onMouseOut="HideTip('tt108')">c_LwM2M_stepName_handleWriteRequest</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_handleExecuteRequest"></a>f_LwM2M_step_handleExecuteRequest</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_step_handleExecuteRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The test step can be called from an FSM to handle a reported LWM2M EXECUTE request.&nbsp; The test step will bind the current request to the caller FSM, look up the <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link247 onMouseOver="ShowTip(event, 'tt56', 'link247')" onMouseOut="HideTip('tt56')">LwM2M_Resource</a> addressed in the request and create a response with &lt;Code&gt; 204 in case the resource was found (404 otherwise).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_handleExecuteRequest" class=LConstant id=link248 onMouseOver="ShowTip(event, 'tt109', 'link248')" onMouseOut="HideTip('tt109')">c_LwM2M_stepIdx_handleExecuteRequest</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_handleExecuteRequest" class=LConstant id=link249 onMouseOver="ShowTip(event, 'tt110', 'link249')" onMouseOut="HideTip('tt110')">c_LwM2M_stepName_handleExecuteRequest</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_sendNotificationForObservedResources"></a>f_LwM2M_step_sendNotificationForObservedResources</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_step_sendNotificationForObservedResources(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The test step will iterate through the observed resources of the caller entity&rsquo;s <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link250 onMouseOver="ShowTip(event, 'tt44', 'link250')" onMouseOut="HideTip('tt44')">LwM2M_Device</a> and creates and sends a NOTIFICATION for each.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_sendNotificationForObservedResources" class=LConstant id=link251 onMouseOver="ShowTip(event, 'tt111', 'link251')" onMouseOut="HideTip('tt111')">c_LwM2M_stepIdx_sendNotificationForObservedResources</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_sendNotificationForObservedResources" class=LConstant id=link252 onMouseOver="ShowTip(event, 'tt112', 'link252')" onMouseOut="HideTip('tt112')">c_LwM2M_stepName_sendNotificationForObservedResources</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_setFirmwareUpdateState"></a>f_LwM2M_step_setFirmwareUpdateState</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_step_setFirmwareUpdateState(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The test step will set the firmware update state resource value.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li>&lt;c_LwM2M_stepIdx_setFirmwareUpdateState&gt;</li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_setFirmwareUpdateState" class=LConstant id=link253 onMouseOver="ShowTip(event, 'tt113', 'link253')" onMouseOut="HideTip('tt113')">c_LwM2M_stepName_setFirmwareUpdateState</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_setFirmwareUpdateResult"></a>f_LwM2M_step_setFirmwareUpdateResult</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_step_setFirmwareUpdateResult(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The test step will set the firmware update result resource value.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_setFirmwareUpdateResult" class=LConstant id=link254 onMouseOver="ShowTip(event, 'tt114', 'link254')" onMouseOut="HideTip('tt114')">c_LwM2M_stepIdx_setFirmwareUpdateResult</a></li><li>&lt;c_LwM2M_stepName_setFirmwareUpdateReslut&gt;</li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_LwM2M_step_setContentFormats"></a>f_LwM2M_step_setContentFormats</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_step_setContentFormats(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Test Step to set the preferred encoding content format for a <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link255 onMouseOver="ShowTip(event, 'tt44', 'link255')" onMouseOut="HideTip('tt44')">LwM2M_Device</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr><tr><td class=CDLEntry>pl_ptr.refContext.fRefArgs[0]</td><td class=CDLDescription><b>in integer</b> - content format code</td></tr></table><h4 class=CHeading>Related Constants</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepIdx_createObject" class=LConstant id=link256 onMouseOver="ShowTip(event, 'tt101', 'link256')" onMouseOut="HideTip('tt101')">c_LwM2M_stepIdx_createObject</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#c_LwM2M_stepName_createObject" class=LConstant id=link257 onMouseOver="ShowTip(event, 'tt102', 'link257')" onMouseOut="HideTip('tt102')">c_LwM2M_stepName_createObject</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_setStepCtx"></a>f_EPTF_LwM2M_setStepCtx</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_EPTF_LwM2M_setStepCtx(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_ctx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>This sets the instance pointers of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link258 onMouseOver="ShowTip(event, 'tt66', 'link258')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> to the related instances of a simulated device (entity) calculated from the test step args &lt;EPTF_LGenBase_TestStepArgs&gt;</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr><tr><td class=CDLEntry>p_ctx</td><td class=CDLDescription><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link259 onMouseOver="ShowTip(event, 'tt66', 'link259')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> - step context with pointers to the related instances</td></tr></table><h4 class=CHeading>Related Types</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link260 onMouseOver="ShowTip(event, 'tt6', 'link260')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link261 onMouseOver="ShowTip(event, 'tt66', 'link261')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_setCtx"></a>f_EPTF_LwM2M_setCtx</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_EPTF_LwM2M_setCtx(</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_eIdx,</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_fsmIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_ctx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>This sets the instance pointers of <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link262 onMouseOver="ShowTip(event, 'tt66', 'link262')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> to the related instances of a simulated device (entity) calculated from the test step args &lt;EPTF_LGenBase_TestStepArgs&gt;</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - entity index</td></tr><tr><td class=CDLEntry>p_fsmIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - fsm instace index</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>*inout* p_ctx</td><td class=CDLDescription><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link263 onMouseOver="ShowTip(event, 'tt66', 'link263')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> - step context with pointers to the related instances</td></tr></table><h4 class=CHeading>Related Types</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link264 onMouseOver="ShowTip(event, 'tt6', 'link264')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a></li><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link265 onMouseOver="ShowTip(event, 'tt66', 'link265')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_hasDevice"></a>f_EPTF_LwM2M_hasDevice</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_EPTF_LwM2M_hasDevice(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap>p_ctx</td><td class="PAfterParameters prettyprint "nowrap>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Checks if the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link266 onMouseOver="ShowTip(event, 'tt6', 'link266')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a> instance of the actual entity has an associated device or not</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_ctx</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link267 onMouseOver="ShowTip(event, 'tt66', 'link267')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> - pointer related to the actual entity</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 <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link268 onMouseOver="ShowTip(event, 'tt6', 'link268')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a> has an associated device, FALSE otherwise</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_EntityCtx" class=LType id=link269 onMouseOver="ShowTip(event, 'tt6', 'link269')" onMouseOut="HideTip('tt6')">LwM2M_EntityCtx</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_stack_fromApp"></a>f_EPTF_LwM2M_stack_fromApp</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_EPTF_LwM2M_stack_fromApp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_ctx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>This is the main entry point for the LwM2M stack realization of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link270 onMouseOver="ShowTip(event, 'tt2', 'link270')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component that handles messages received from the application layer (e.g.&nbsp; FSMs)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_msg</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_PDU" class=LType id=link271 onMouseOver="ShowTip(event, 'tt33', 'link271')" onMouseOut="HideTip('tt33')">EPTF_LwM2M_PDU</a> - message that enters into the stack (will be modified by the stack)</td></tr><tr><td class=CDLEntry>p_ctx</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_StepCtx" class=LType id=link272 onMouseOver="ShowTip(event, 'tt66', 'link272')" onMouseOut="HideTip('tt66')">LwM2M_StepCtx</a> - pointers for the instances related to a particular simulated entity</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link273 onMouseOver="ShowTip(event, 'tt2', 'link273')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_stack_fromEnv"></a>f_EPTF_LwM2M_stack_fromEnv</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_EPTF_LwM2M_stack_fromEnv(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>This is the main entry point for the LwM2M stack realization of the <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link274 onMouseOver="ShowTip(event, 'tt2', 'link274')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a> component that handles messages received from the environment layer (e.g. transport layer)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_msg</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_PDU" class=LType id=link275 onMouseOver="ShowTip(event, 'tt33', 'link275')" onMouseOut="HideTip('tt33')">EPTF_LwM2M_PDU</a> - message that enters into the stack (will be modified by the stack)</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 <b>p_msg</b> message was a duplicate, false if it was not</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link276 onMouseOver="ShowTip(event, 'tt2', 'link276')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_dispatchEventsForPDU"></a>f_EPTF_LwM2M_dispatchEventsForPDU</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_EPTF_LwM2M_dispatchEventsForPDU(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LWM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_pdu,</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%>pl_eIdx,</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%>pl_fsmCtx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_IntegerList&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_reportedArgs</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Dispatches events to an entity/fsm based on the LWM2M PDU givenas a parameter</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_pdu</td><td class=CDLDescription><b>in</b> &lt;LWM2M_PDU&gt; - the LWM2M PDU</td></tr><tr><td class=CDLEntry>pl_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the entity</td></tr><tr><td class=CDLEntry>pl_fsmCtx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of FSM</td></tr><tr><td class=CDLEntry>pl_reportedArgs</td><td class=CDLDescription><b>in</b> &lt;EPTF_IntegerList&gt; - additional arguments to be reported to the entity/FSM</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link277 onMouseOver="ShowTip(event, 'tt2', 'link277')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_sendNotificationForResource"></a>f_EPTF_LwM2M_sendNotificationForResource</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_EPTF_LwM2M_sendNotificationForResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr,</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%>v_res</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>The function sends a LwM2M NOTIFICATION for a resource owned by the entity addressed by the <b>pl_ptr</b> parameter</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_ptr</td><td class=CDLDescription><b>in</b> &lt;EPTF_LGenBase_TestStepArgs&gt; - test step args</td></tr><tr><td class=CDLEntry>v_res</td><td class=CDLDescription><b>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource" class=LType id=link278 onMouseOver="ShowTip(event, 'tt56', 'link278')" onMouseOut="HideTip('tt56')">LwM2M_Resource</a> - resource for notification</td></tr></table><h4 class=CHeading>Related Types</h4><ul><li><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Device" class=LType id=link279 onMouseOver="ShowTip(event, 'tt44', 'link279')" onMouseOut="HideTip('tt44')">LwM2M_Device</a></li></ul></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_PduToEventIdx"></a>f_EPTF_LwM2M_PduToEventIdx</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_EPTF_LwM2M_PduToEventIdx(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LWM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap>p_pdu</td><td class="PAfterParameters prettyprint "nowrap>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Maps a &lt;LWM2M_PDU&gt; to an event id (integer number) that represents the PDU&rsquo;s type</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_code</td><td class=CDLDescription><b>in</b> &lt;LWM2M_PDU&gt; - the LwM2M PDU</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 returned id</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_dispatchEvent"></a>f_EPTF_LwM2M_dispatchEvent</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_EPTF_LwM2M_dispatchEvent(</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%>pl_eventIdx,</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%>pl_eIdx,</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%>pl_fsmCtx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_IntegerList&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_reportedArgs</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Wrapper for CLL&rsquo;s &lt;f_EPTF_LGenBase_postEvent&gt; to handle multi level event (generic, entity, FSM) reporting</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_eventIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - index of the vent to be reported</td></tr><tr><td class=CDLEntry>pl_eIdx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of the entity, in case it&rsquo;s -1 the reported event will be <b>generic</b> level</td></tr><tr><td class=CDLEntry>pl_fsmCtx</td><td class=CDLDescription><b>in</b> <b>integer</b> - the index of FSM, , in case it&rsquo;s -1 the reported event will be <b>entity</b> level</td></tr><tr><td class=CDLEntry>pl_reportedArgs</td><td class=CDLDescription><b>in</b> &lt;EPTF_IntegerList&gt; - additional arguments to be reported to the entity/FSM</td></tr></table><h4 class=CHeading>Related Types</h4><p><a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_LGen_CT" class=LType id=link280 onMouseOver="ShowTip(event, 'tt2', 'link280')" onMouseOut="HideTip('tt2')">EPTF_LwM2M_LGen_CT</a></p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_getIntValue"></a>f_EPTF_LwM2M_getIntValue</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_EPTF_LwM2M_getIntValue(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_IntegerList&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_intList,</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%>pl_number,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_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>Retreives an element of an &lt;EPTF_IntegerList&gt; if it exists</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_intList</td><td class=CDLDescription><b>in</b> &lt;EPTF_IntegerList&gt; - list of integers</td></tr><tr><td class=CDLEntry>pl_number</td><td class=CDLDescription><b>in</b> <b>integer</b> - index of the integer to be retrieved</td></tr></table><h4 class=CHeading>Returns</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>pl_value</td><td class=CDLDescription><b>inout</b> <b>integer</b> - value of the retrieved integer</td></tr><tr><td class=CDLEntry>*boolean*</td><td class=CDLDescription>true if the element existed in the integer list</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_updateMessageStatistics"></a>f_EPTF_LwM2M_updateMessageStatistics</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_EPTF_LwM2M_updateMessageStatistics(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_Message_Statistics&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_stats,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Updates the message statistics based on the incoming PDU</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_stats</td><td class=CDLDescription><b>inout</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#EPTF_LwM2M_Message_Statistics" class=LType id=link281 onMouseOver="ShowTip(event, 'tt115', 'link281')" onMouseOut="HideTip('tt115')">EPTF_LwM2M_Message_Statistics</a> - the updated statistics</td></tr><tr><td class=CDLEntry>p_pdu</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_Transport_Definitions-ttcn.html#EPTF_LwM2M_PDU" class=LType id=link282 onMouseOver="ShowTip(event, 'tt33', 'link282')" onMouseOut="HideTip('tt33')">EPTF_LwM2M_PDU</a> - the incoming PDU</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_getEncodingContentFormat"></a>f_EPTF_LwM2M_getEncodingContentFormat</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_EPTF_LwM2M_getEncodingContentFormat(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Format_List&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_preferred,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Integer_List&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_accepted,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource_List&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_resources</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Negotiates an encoding format based on this side&rsquo;s preferred, the other side&rsquo;s accepted and the list of resources to be encoded</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_preferred</td><td class=CDLDescription><b>in</b> <a href="EPTF_LwM2M_LGen_Definitions-ttcn.html#LwM2M_Format_List" class=LType id=link283 onMouseOver="ShowTip(event, 'tt116', 'link283')" onMouseOut="HideTip('tt116')">LwM2M_Format_List</a> - this side&rsquo;s preferred format</td></tr><tr><td class=CDLEntry>p_accepted</td><td class=CDLDescription><b>in</b> &lt;Integer_List&gt; - the other side&rsquo;s accepted list</td></tr><tr><td class=CDLEntry>p_resources</td><td class=CDLDescription><b>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource_List" class=LType id=link284 onMouseOver="ShowTip(event, 'tt117', 'link284')" onMouseOut="HideTip('tt117')">LwM2M_Resource_List</a> - resources to be encoded</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 negotiated content format</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="f_EPTF_LwM2M_canEncode"></a>f_EPTF_LwM2M_canEncode</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_EPTF_LwM2M_canEncode(</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_code,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource_List&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_resources</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Purpose</h4><p>Finds out if a list of resources can be encoded with a certain content format</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p_code</td><td class=CDLDescription><b>in integer</b> - content format code</td></tr><tr><td class=CDLEntry>p_resources</td><td class=CDLDescription><b>in</b> <a href="LightweightM2M_Types-ttcn.html#LwM2M_Resource_List" class=LType id=link285 onMouseOver="ShowTip(event, 'tt117', 'link285')" onMouseOut="HideTip('tt117')">LwM2M_Resource_List</a> - resources to be encoded</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 they can be encoded with that content format</td></tr></table></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_EPTF_LwM2M_LGen_init(</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%>pl_name</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The main initialization function for the EPTF_LwM2M_LGen_CT component type</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 component EPTF_LwM2M_LGen_CT extends EPTF_LwM2M_Transport_User_CT, EPTF_LGenBase_CT, EPTF_Logging_CT</td></tr></table></blockquote>LWM2M load generator component</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_LGen_initLogging() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Initializing CLL&rsquo;s logging feature on the EPTF_LwM2M_LGen_CT component type</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_LwM2M_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>The main clean up function for the EPTF_LwM2M_LGen_CT component type</div></div><div class=CToolTip id="tt5"><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_eCtxBind(</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%>pl_eIdx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return EPTF_IntegerList</td></tr></table></td></tr></table></blockquote>This function is called by the CLL for each entity instance created on a particular instace of EPTF_LwM2M_LGen_CT The function will allocate and initialize an instance of LwM2M_EntityCtx in <b>v_LwM2M_EntityCtxDB</b> LwM2M_EntityCtx_DB</div></div><div class=CToolTip id="tt6"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_EntityCtx</td></tr></table></blockquote>A LWM2M entity is a simulated LWM2M device, this structure stores an association for one simulated device and an entity</div></div><div class=CToolTip id="tt7"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_EntityCtx_DB</td></tr></table></blockquote>Storing LWM2M entity contexts</div></div><div class=CToolTip id="tt8"><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_eCtxUnbind(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>pl_eIdx</td><td class="PAfterParameters prettyprint "nowrap>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The reverse operation of f_LwM2M_eCtxBind. </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 "nowrap>function f_LwM2M_eCtxReset(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap>pl_eIdx</td><td class="PAfterParameters prettyprint "nowrap>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The resources reserved during f_LwM2M_eCtxBind are reinitalized (reset). </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_EntityCtxDB_init() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Initializes the <b>v_LwM2M_EntityCtxDB</b> LwM2M_EntityCtx_DB database</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_EntityCtxDB_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Cleans up the reserved resources of the <b>v_LwM2M_EntityCtxDB</b> LwM2M_EntityCtx_DB database</div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_DeviceDB_init() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Initializes the <b>v_LwM2M_DeviceDB</b> LwM2M_Device_DB database</div></div><div class=CToolTip id="tt13"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_Device_DB</td></tr></table></blockquote>Storing LwM2M_Device instances</div></div><div class=CToolTip id="tt14"><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_EPTF_LwM2M_DeviceDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Device&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_device</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return integer</td></tr></table></td></tr></table></blockquote>Adds a new element to the <b>v_LwM2M_DeviceDB</b> LwM2M_Device_DB database</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 "colspan=4>function f_EPTF_LwM2M_DeviceDB_remove(</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_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Removes an element from the <b>v_LwM2M_DeviceDB</b> LwM2M_Device_DB database and frees up its reserved resources</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 "colspan=4>function f_EPTF_LwM2M_DeviceDB_setLocationKey(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Location&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_location,</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_idx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Sets the hashmap key for lookups used by the <b>v_LwM2M_DeviceDB</b> LwM2M_Device_DB 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=4>function f_EPTF_LwM2M_DeviceDB_locationHash(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Location&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_location</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return octetstring</td></tr></table></td></tr></table></blockquote>Hash function for lookups used by the <b>v_LwM2M_DeviceDB</b> LwM2M_Device_DB database</div></div><div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_DeviceDB_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Cleans up the reserved resources of the <b>v_LwM2M_DeviceDB</b> LwM2M_Device_DB database</div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_TemplateDB_init() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Initializes the <b>v_LwM2M_templateDB</b> LwM2M_Template_DB database by adding the templates given in tsp_EPTF_LwM2M_LGen_templates</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_Template_DB</td></tr></table></blockquote>Storing LwM2M_Template instances</div></div><div class=CToolTip id="tt21"><div class=CModuleParameter>List of LWM2M messages for sending</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=4>function f_EPTF_LwM2M_TemplateDB_add(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Template&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_template</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return integer</td></tr></table></td></tr></table></blockquote>Adds a new element to the <b>v_LwM2M_templateDB</b> LwM2M_Template_DB 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_EPTF_LwM2M_TemplateDB_lookUp(</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_id</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT return integer</td></tr></table></td></tr></table></blockquote>Gets the index of an LwM2M_Template element in <b>v_LwM2M_templateDB</b> LwM2M_Template_DB database</div></div><div class=CToolTip id="tt24"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_Template</td></tr></table></blockquote>Grouping a LWM2M_PDU with an id so that the message can be loaded from an FSM later by using the id</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_EPTF_LwM2M_TemplateDB_get(</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_idx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LWM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Retrieves an element from the <b>v_LwM2M_templateDB</b> LwM2M_Template_DB database</div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_TemplateDB_cleanUp() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Cleans up the reserved resources of the <b>v_LwM2M_templateDB</b> LwM2M_Template_DB database</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_EPTF_LwM2M_Logging_VERBOSE(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the VERBOSE log level</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=4>function f_EPTF_LwM2M_Logging_DEBUG(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the DEBUG log level</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 "colspan=4>function f_EPTF_LwM2M_Logging_WARNING(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the WARNING log level</div></div><div class=CToolTip id="tt30"><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_EPTF_LwM2M_Logging_ERROR(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in @lazy&nbsp;</td><td class="PType prettyprint " nowrap>charstring&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Logging functions for the ERROR log level</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_EPTF_LwM2M_LGen_receiveMessage(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_message</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The transport layer implementation EPTF_LwM2M_Transport_Provider_CT can report received EPTF_LwM2M_PDU message to the load generator layer EPTF_LwM2M_Transport_User_CT extended by EPTF_LwM2M_LGen_CT using this function.</div></div><div class=CToolTip id="tt32"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type component EPTF_LwM2M_Transport_Provider_CT</td></tr></table></blockquote>Base component type for a LwM2M transport realization</div></div><div class=CToolTip id="tt33"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record EPTF_LwM2M_PDU</td></tr></table></blockquote>Encapsulates a LWM2M_PDU with the corresponding entity (and FSM) indices</div></div><div class=CToolTip id="tt34"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type component EPTF_LwM2M_Transport_User_CT</td></tr></table></blockquote>Base component type for a LwM2M transport user realization</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_EPTF_LwM2M_LGen_receiveEvent(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_Event&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_event</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The transport layer implementation EPTF_LwM2M_Transport_Provider_CT can report received EPTF_LwM2M_Event events to the load generator layer EPTF_LwM2M_Transport_User_CT extended by EPTF_LwM2M_LGen_CT using this function.</div></div><div class=CToolTip id="tt36"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record EPTF_LwM2M_Event</td></tr></table></blockquote>Encapsulates a EPTF_LwM2M_Event with the corresponding entity</div></div><div class=CToolTip id="tt37"><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_EPTF_LwM2M_LGen_isBootstrap(</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%>pl_eIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>boolean&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_isBootstrap</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Sets p_isBootstrap true if the device is in bootstrapping state.</div></div><div class=CToolTip id="tt38"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_declareEvents() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Declares the FSM events to the CLL framework implemented by EPTF_LwM2M_LGen_CT</div></div><div class=CToolTip id="tt39"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function f_EPTF_LwM2M_declareSteps() runs on EPTF_LwM2M_LGen_CT</td></tr></table></blockquote>Declares the FSM steps to the CLL framework implemented by EPTF_LwM2M_LGen_CT</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_step_loadTemplate_byIntIdx(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test step to load a LwM2M_Template from tsp_EPTF_LwM2M_LGen_templates into <b>v_LwM2M_msgToSend</b> (which can be sent using the send test step). </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_step_loadTemplate_byStringId(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test step to load a LwM2M_Template from tsp_EPTF_LwM2M_LGen_templates into <b>v_LwM2M_msgToSend</b> (which can be sent using the send test step). </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 "colspan=4>function f_LwM2M_step_send(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test step to send out a LWM2M message from <b>v_LwM2M_msgToSend</b>. </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 "colspan=4>function f_LwM2M_step_createDevice(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to dynamically allocate and initialize a simulated LwM2M_Device and associate it to the caller entity&rsquo;s LwM2M_EntityCtx. </div></div><div class=CToolTip id="tt44"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_Device</td></tr></table></blockquote>Storing the state and smart object of a simulated LWM2M device</div></div><div class=CToolTip id="tt45"><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_step_cleanupDevice(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to free up the LwM2M_EntityCtx for the caller entity. </div></div><div class=CToolTip id="tt46"><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_step_logDevice(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to log the contents of the LwM2M_Device associated to the caller entity&rsquo;s LwM2M_EntityCtx</div></div><div class=CToolTip id="tt47"><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_step_setBootstrapState(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to set the state of the device to BOOTSTRAPPING. </div></div><div class=CToolTip id="tt48"><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_step_setBlock1Handling_stateless(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to set the block1 handling strategy of the device to stateless</div></div><div class=CToolTip id="tt49"><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_step_setBlock1Handling_atomic(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to set the block1 handling strategy of the device to atomic</div></div><div class=CToolTip id="tt50"><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_step_setNotRegisteredState(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to set the state of the device to NOT_REGISTERED.</div></div><div class=CToolTip id="tt51"><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_step_writeOrCreateObject_BS(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to handling the bootstrap write messge.</div></div><div class=CToolTip id="tt52"><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_step_createObject(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to create an LwM2M_Object instance on the caller entity&rsquo;s associated LwM2M_Device</div></div><div class=CToolTip id="tt53"><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="tt54"><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_step_createObjectInstance(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to create an LwM2M_ObjectInstance instance on the caller entity&rsquo;s associated LwM2M_Device the instance will also created the LwM2M_Resource instances according to the object instance&rsquo;s LwM2M_ObjectSpecification</div></div><div class=CToolTip id="tt55"><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="tt56"><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="tt57"><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="tt58"><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_step_handleReadRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The test step can be called from an FSM to handle a reported LWM2M READ request. </div></div><div class=CToolTip id="tt59"><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_step_handleWriteRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The test step can be called from an FSM to handle a reported LWM2M WRITE request. </div></div><div class=CToolTip id="tt60"><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_step_handleExecuteRequest(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The test step can be called from an FSM to handle a reported LWM2M EXECUTE request. </div></div><div class=CToolTip id="tt61"><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_step_sendNotificationForObservedResources(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The test step will iterate through the observed resources of the caller entity&rsquo;s LwM2M_Device and creates and sends a NOTIFICATION for each.</div></div><div class=CToolTip id="tt62"><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_step_setFirmwareUpdateState(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The test step will set the firmware update state resource value.</div></div><div class=CToolTip id="tt63"><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_step_setFirmwareUpdateResult(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The test step will set the firmware update result resource value.</div></div><div class=CToolTip id="tt64"><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_step_setContentFormats(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Test Step to set the preferred encoding content format for a LwM2M_Device</div></div><div class=CToolTip id="tt65"><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_EPTF_LwM2M_setStepCtx(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_ctx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>This sets the instance pointers of LwM2M_StepCtx to the related instances of a simulated device (entity) calculated from the test step args EPTF_LGenBase_TestStepArgs</div></div><div class=CToolTip id="tt66"><div class=CType><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">type record LwM2M_StepCtx</td></tr></table></blockquote>Stores the most important pointers that are used from a test steps</div></div><div class=CToolTip id="tt67"><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_EPTF_LwM2M_setCtx(</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_eIdx,</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_fsmIdx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_ctx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>This sets the instance pointers of LwM2M_StepCtx to the related instances of a simulated device (entity) calculated from the test step args EPTF_LGenBase_TestStepArgs</div></div><div class=CToolTip id="tt68"><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_EPTF_LwM2M_hasDevice(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap>p_ctx</td><td class="PAfterParameters prettyprint "nowrap>) return boolean</td></tr></table></td></tr></table></blockquote>Checks if the LwM2M_EntityCtx instance of the actual entity has an associated device or not</div></div><div class=CToolTip id="tt69"><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_EPTF_LwM2M_stack_fromApp(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_StepCtx&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_ctx</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>This is the main entry point for the LwM2M stack realization of the EPTF_LwM2M_LGen_CT component that handles messages received from the application layer (e.g. </div></div><div class=CToolTip id="tt70"><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_EPTF_LwM2M_stack_fromEnv(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>This is the main entry point for the LwM2M stack realization of the EPTF_LwM2M_LGen_CT component that handles messages received from the environment layer (e.g. </div></div><div class=CToolTip id="tt71"><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_EPTF_LwM2M_dispatchEventsForPDU(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LWM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_pdu,</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%>pl_eIdx,</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%>pl_fsmCtx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_IntegerList&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_reportedArgs</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Dispatches events to an entity/fsm based on the LWM2M PDU givenas a parameter</div></div><div class=CToolTip id="tt72"><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_EPTF_LwM2M_sendNotificationForResource(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LGenBase_TestStepArgs&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_ptr,</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%>v_res</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>The function sends a LwM2M NOTIFICATION for a resource owned by the entity addressed by the <b>pl_ptr</b> parameter</div></div><div class=CToolTip id="tt73"><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_EPTF_LwM2M_PduToEventIdx(</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LWM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap>p_pdu</td><td class="PAfterParameters prettyprint "nowrap>) return integer</td></tr></table></td></tr></table></blockquote>Maps a LWM2M_PDU to an event id (integer number) that represents the PDU&rsquo;s type</div></div><div class=CToolTip id="tt74"><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_EPTF_LwM2M_dispatchEvent(</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%>pl_eventIdx,</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%>pl_eIdx,</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%>pl_fsmCtx,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_IntegerList&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_reportedArgs</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) runs on EPTF_LwM2M_LGen_CT</td></tr></table></td></tr></table></blockquote>Wrapper for CLL&rsquo;s f_EPTF_LGenBase_postEvent to handle multi level event (generic, entity, FSM) reporting</div></div><div class=CToolTip id="tt75"><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_EPTF_LwM2M_getIntValue(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_IntegerList&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_intList,</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%>pl_number,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>integer&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>pl_value</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return boolean</td></tr></table></td></tr></table></blockquote>Retreives an element of an EPTF_IntegerList if it exists</div></div><div class=CToolTip id="tt76"><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_EPTF_LwM2M_updateMessageStatistics(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>inout&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_Message_Statistics&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_stats,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>EPTF_LwM2M_PDU&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_pdu</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>)</td></tr></table></td></tr></table></blockquote>Updates the message statistics based on the incoming PDU</div></div><div class=CToolTip id="tt77"><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_EPTF_LwM2M_getEncodingContentFormat(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Format_List&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_preferred,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>Integer_List&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_accepted,</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class="PTypePrefix prettyprint " nowrap>in&nbsp;</td><td class="PType prettyprint " nowrap>LwM2M_Resource_List&nbsp;</td><td class="PParameter prettyprint " nowrap width=100%>p_resources</td></tr><tr><td class="PAfterParameters prettyprint "colspan=4>) return integer</td></tr></table></td></tr></table></blockquote>Negotiates an encoding format based on this side&rsquo;s preferred, the other side&rsquo;s accepted and the list of resources to be encoded</div></div><div class=CToolTip id="tt78"><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_EPTF_LwM2M_canEncode(</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