<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Clarification on AMTIderConsolePort in Intel® Business Client Software Development</title>
    <link>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873864#M2953</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I try to create an SOH by hand, and for this parameter, i see it has a 2 byte for value. That is it has 2 as length for the TLV 32813.&lt;/P&gt;
&lt;P&gt;I am lookin into the SDK and seeing that there is a check:&lt;/P&gt;
&lt;P&gt;unsigned short avpLen = IPAddress::NetworkToHostOrder((short)(avp-&amp;gt;length));&lt;BR /&gt;&lt;BR /&gt; if ((avpLen &amp;lt; sizeof(HcapAvp)) ...&lt;/P&gt;
&lt;P&gt;in file AMTPosture. So, in my case, avpLen would be 2, and sizeof woudl be 4. And i am seeing an error due to this:&lt;/P&gt;
&lt;P&gt;throw gcnew ApplicationException("Data is corrupted: Length of HCAP AVP is incorrect.");&lt;/P&gt;
&lt;P&gt;My question: Is this intended? Am i wrong with something?&lt;/P&gt;
&lt;P&gt;Using latest SDK for AMT, downloaded on 10\3\2008 5.0.1.4_SDK_5.0&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Ioan Herisanu&lt;/P&gt;</description>
    <pubDate>Fri, 03 Oct 2008 18:44:41 GMT</pubDate>
    <dc:creator>cherryone</dc:creator>
    <dc:date>2008-10-03T18:44:41Z</dc:date>
    <item>
      <title>Clarification on AMTIderConsolePort</title>
      <link>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873864#M2953</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I try to create an SOH by hand, and for this parameter, i see it has a 2 byte for value. That is it has 2 as length for the TLV 32813.&lt;/P&gt;
&lt;P&gt;I am lookin into the SDK and seeing that there is a check:&lt;/P&gt;
&lt;P&gt;unsigned short avpLen = IPAddress::NetworkToHostOrder((short)(avp-&amp;gt;length));&lt;BR /&gt;&lt;BR /&gt; if ((avpLen &amp;lt; sizeof(HcapAvp)) ...&lt;/P&gt;
&lt;P&gt;in file AMTPosture. So, in my case, avpLen would be 2, and sizeof woudl be 4. And i am seeing an error due to this:&lt;/P&gt;
&lt;P&gt;throw gcnew ApplicationException("Data is corrupted: Length of HCAP AVP is incorrect.");&lt;/P&gt;
&lt;P&gt;My question: Is this intended? Am i wrong with something?&lt;/P&gt;
&lt;P&gt;Using latest SDK for AMT, downloaded on 10\3\2008 5.0.1.4_SDK_5.0&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Ioan Herisanu&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2008 18:44:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873864#M2953</guid>
      <dc:creator>cherryone</dc:creator>
      <dc:date>2008-10-03T18:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on AMTIderConsolePort</title>
      <link>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873865#M2954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you explain this more? What are you trying to do? Which module/project/source file is this? What is your development environment? How are you building this code? which AMT version? etc&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sree&lt;/P&gt;</description>
      <pubDate>Sat, 04 Oct 2008 16:14:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873865#M2954</guid>
      <dc:creator>Sreelekshm_S_Intel</dc:creator>
      <dc:date>2008-10-04T16:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on AMTIderConsolePort</title>
      <link>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873866#M2955</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Sree,&lt;/P&gt;
&lt;P&gt;I try to learn more on AMT platform. Unfortunately i do not have a laptop capable of this so i had to play on my own.&lt;/P&gt;
&lt;P&gt;I looked into the Intel AMT System Health Validator Sample. pdf version 4.0.6, June 2008 = (1) , downloaded the SDK 5.0.1.4 = (2), installed the SHV on a Server 2008. While looking through the sample SHV, it was not clear to me how you are constructing the SOH.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In (1), section Section 4, there is this line: "The fields are in TLV format." I understand by this that the Length field of a TLV represents the length of the value. Looking through the code in the SHV, i.e AMTPosture.cpp, line 29, the check (avpLen &amp;lt; sizeof (HcapAvp)) implies that either the length of value can not be less than 4 or that the system is not using TLVs as in (1) but AVPs. Trying with AVP idea (where the Length field includes the 4 bytes of Type+Length) made it work. Now you got my initial question reason and how i solved it. The trigger was line 49 of AMTPosture.cpp, where one can find that AVP are used, not TLVs.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I consider this thread closed. Appreciate your time and support.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Ioan Herisanu&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:35:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873866#M2955</guid>
      <dc:creator>cherryone</dc:creator>
      <dc:date>2008-10-06T09:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on AMTIderConsolePort</title>
      <link>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873867#M2956</link>
      <description>&lt;DIV style="margin:0px;"&gt;Got it :) Glad that the issue has been resolved.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Let us know if you have any further questions.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Thanks,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Sree&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2008 16:24:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Business-Client-Software/Clarification-on-AMTIderConsolePort/m-p/873867#M2956</guid>
      <dc:creator>Sreelekshm_S_Intel</dc:creator>
      <dc:date>2008-10-06T16:24:30Z</dc:date>
    </item>
  </channel>
</rss>

