<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Anu,</div><div><br></div><div>You may want to try installing NDNx platform, which includes PyNDN library that will allow you to work with NDN packets in python.  Check <a href="http://named-data.net/codebase/platform/">http://named-data.net/codebase/platform/</a> for more detail.<br><br>---<div>Alex</div></div><div><br>On Nov 11, 2013, at 10:57 AM, Anu Mercian <<a href="mailto:anumercian@live.com">anumercian@live.com</a>> wrote:<br><br></div><blockquote type="cite"><div>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"><div>Hi all,</div> <br>Any help on this topic would be really helpful.<div><br></div><div>Thank you,</div><div>Anu<br><div><hr id="stopSpelling">From: <a href="mailto:anumercian@live.com">anumercian@live.com</a><br>To: <a href="mailto:samuels@infinite.com">samuels@infinite.com</a>; <a href="mailto:ccnx-dev@ccnx.org">ccnx-dev@ccnx.org</a><br>Date: Sun, 10 Nov 2013 22:09:03 -0700<br>Subject: Re: [ccnx-dev] Decode/parse CCN packet in python<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hi Samuel,<div><br></div><div>I am using ccnx-0.8.0</div><div><br></div><div>Thank you,</div><div>Anu<br><br><div><hr id="ecxstopSpelling">From: <a href="mailto:Samuels@infinite.com">Samuels@infinite.com</a><br>To: <a href="mailto:anumercian@live.com">anumercian@live.com</a>; <a href="mailto:ccnx-dev@ccnx.org">ccnx-dev@ccnx.org</a><br>Date: Mon, 11 Nov 2013 04:19:44 +0000<br>Subject: Re: [ccnx-dev] Decode/parse CCN packet in python<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass pre {
font-size:10.0pt;
font-family:"Courier New";
}

.ExternalClass span.ecxHTMLPreformattedChar {
font-family:Consolas;
}

.ExternalClass span.ecxEmailStyle20 {
font-family:"Calibri","sans-serif";
color:#1F497D;
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}


--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;">Which version are you trying to use?</span></p>
<p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> ccnx-dev [<a href="mailto:ccnx-dev-bounces@ccnx.org">mailto:ccnx-dev-bounces@ccnx.org</a>]
<b>On Behalf Of </b>Anu Mercian<br>
<b>Sent:</b> Monday, November 11, 2013 7:55 AM<br>
<b>To:</b> <a href="mailto:ccnx-dev@ccnx.org">ccnx-dev@ccnx.org</a><br>
<b>Subject:</b> [ccnx-dev] Decode/parse CCN packet in python</span></p>
</div>
</div>
<p class="ecxMsoNormal"> </p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Hi all,</span></p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I am looking to decode a CCN packet to obtain the details (content name etc) within a python code, how can the libraries of ccnx be imported to python code?</span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I have checked that decoding a CCN packet in JAVA API can be done by: </span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> <i> </i></span></p>
</div>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p>
</div>
<div>
<p class="ecxMsoNormal"><i>ContentObject co = new ContentObject();</i><span style="font-family:"Calibri","sans-serif";"></span></p>
</div>
<pre style="white-space:pre-wrap;"><i><span style="font-family:"Times New Roman","serif";">co.decode( byte[] );</span></i></pre>
<pre style="white-space:pre-wrap;"> </pre>
<pre style="white-space:pre-wrap;"><span style="font-family:"Calibri","sans-serif";">But I do not find enough documentation for python support. Can someone help me out with this?</span></pre>
<pre style="white-space:pre-wrap;"><span style="font-family:"Arial","sans-serif";">Thank you in advance,</span></pre>
<pre style="white-space:pre-wrap;"><span style="font-family:"Arial","sans-serif";">Anu</span></pre>
</div>
</div>

<br><pre><font color="blue">
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).
If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.
In such cases, please notify us immediately at <a href="mailto:sanchar-sadhan@infinite.com">sanchar-sadhan@infinite.com</a> . Further, you are not to copy, 
disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are 
considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize
this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should 
carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor
and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail
address may be stored on the Infinite e-mail system. 

***INFINITE******** End of Disclaimer********INFINITE******** 

</font></pre><br>


<br>_______________________________________________
ccnx-dev mailing list
<a href="mailto:ccnx-dev@ccnx.org">ccnx-dev@ccnx.org</a>
<a href="http://www.ccnx.org/mailman/listinfo/ccnx-dev">http://www.ccnx.org/mailman/listinfo/ccnx-dev</a></div></div>                                           </div>
<br>_______________________________________________
ccnx-dev mailing list
<a href="mailto:ccnx-dev@ccnx.org">ccnx-dev@ccnx.org</a>
<a href="http://www.ccnx.org/mailman/listinfo/ccnx-dev">http://www.ccnx.org/mailman/listinfo/ccnx-dev</a></div></div>                                           </div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>ccnx-dev mailing list</span><br><span><a href="mailto:ccnx-dev@ccnx.org">ccnx-dev@ccnx.org</a></span><br><span><a href="http://www.ccnx.org/mailman/listinfo/ccnx-dev">http://www.ccnx.org/mailman/listinfo/ccnx-dev</a></span><br></div></blockquote></body></html>