<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Convert SNMP Hex to IP Address String]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I cant seem to work out how to do a transformation script to convert hex string as exampe AC140016 to an IP Address string of 172.20.0.22.</p>
<p dir="auto">Any help would be appreciated.</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://forum.netxms.org/topic/7522/convert-snmp-hex-to-ip-address-string</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:12:22 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7522.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Sep 2022 04:14:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Convert SNMP Hex to IP Address String on Tue, 27 Sep 2022 09:37:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">something like this:</p>
<pre><code>result = "";
for(i = 0; i &lt; 8; i += 2)
{
  if (result-&gt;length &gt; 0)
      result .= ".";
  result .= x2d($1[i : i + 2]);
}
return result;
</code></pre>
<p dir="auto">This script assumes that 8 hex digits passed as input.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/31899</link><guid isPermaLink="true">https://forum.netxms.org/post/31899</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 27 Sep 2022 09:37:45 GMT</pubDate></item></channel></rss>