<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head>The protocol looks like an ASCII text line protocol. I&#39;d suggest you to refer to the telnet example as a starting point.<br>
--<br>
Trustin Lee, http://gleamynode.net/<br>
Sent from a mobile device. Please excuse my brevity.<br><div class="gmail_quote">&quot;Rajiv Kumar A.P&quot; &lt;rajivharris@gmail.com&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Christian,<br>The transmission of data between DAC and client application is using tcp. So thought of using netty for that.<br><br>Thanks,<br>Rajiv.<br><br><div class="gmail_quote">On Thu, Jan 27, 2011 at 2:38 AM, Christian Migowski <span dir="ltr">&lt;<a href="mailto:chrismfwrd@gmail.com">chrismfwrd@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Rajiv,<br>
<br>
if these DAC are not accessible via a network interface and the wire<br>
protocol you&#39;re describing isn&#39;t acting on top of TCP or UDP, there is<br>
no support for that in &quot;out-of-the-box&quot; Netty. You can, of course,<br>
implement access to that controllers as a &quot;transport&quot; in Netty and<br>
after that utilize Nettys good API and (possibly) benefit from<br>
exchangeable transports of your protocol.<br>
<br>
<br>
hth,<br>
regards,<br>
christian!<br>
<div class="im"><br>
On Wed, Jan 26, 2011 at 10:38 PM, nettyCoder &lt;<a href="mailto:rajivharris@gmail.com">rajivharris@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Trustin,<br>
&gt; Thanks for the reply. The wirelink protocol is used to communicate with<br>
&gt; Digital Addressable controller.The DAC receives and transmits all<br>
&gt; information over the WireLink in packets.  The binary data is encoded into<br>
&gt; printable ASCII characters for transmission.<br>
&gt;<br>
&gt; The protocol looks like below<br>
&gt; STX+Packet Header (Packet Size)+ Packet Data+Checksum+CR<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Rajiv.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jan 26, 2011 at 10:28 AM, Trustin Lee [via Netty Forums and Mailing<br>
</div>&gt; Lists] &lt;<a href="mailto:ml-node%2B5963272-739515670-314896@n2.nabble.com">ml-node+5963272-739515670-314896@n2.nabble.com</a>&lt;<a href="mailto:ml-node%252B5963272-739515670-314896@n2.nabble.com">ml-node%2B5963272-739515670-314896@n2.nabble.com</a>&gt;<br>

<div class="im">&gt;&gt; wrote:<br>
&gt;<br>
&gt;&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>
&gt;&gt; Hash: SHA256<br>
&gt;&gt;<br>
&gt;&gt; IIUC, you are implementing a binary protocol. I think the factorial example<br>
&gt;&gt; is a good place to start.  I could give you more advise if you coukd<br>
&gt;&gt; describe what the protocol exactly looks like.<br>
&gt;&gt;<br>
</div><div class="im">&gt;&gt; &quot;nettyCoder&quot; &lt;[hidden email]&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=5963272&amp;i=0" target="_blank">http://user/SendEmail.jtp?type=node&amp;node=5963272&amp;i=0</a>&gt;&gt;<br>

</div><div class="im">&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Hi,<br>
&gt;&gt; &gt;I am new to the netty framework. am trying to develop a application<br>
&gt;&gt; &gt;which<br>
&gt;&gt; &gt;communicates to DAC using wire link protocol.<br>
&gt;&gt; &gt;the application will take commands and do a socket communication with<br>
&gt;&gt; &gt;DAC.<br>
&gt;&gt; &gt;the data transferred will be in bytes. need some example to startwith<br>
&gt;&gt; &gt;along<br>
&gt;&gt; &gt;with good practices.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Appreciate your help.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Thanks,<br>
&gt;&gt; &gt;Rajiv.<br>
&gt;&gt; &gt;--<br>
&gt;&gt; &gt;View this message in context:<br>
&gt;&gt; &gt;<br>
</div>&gt;&gt; <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html</a>&lt;<a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html?by-user=t" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html?by-user=t</a>&gt;<br>

<div class="im">&gt;&gt; &gt;Sent from the Netty User Group mailing list archive at Nabble.com.<br>
&gt;&gt; &gt;_______________________________________________<br>
&gt;&gt; &gt;netty-users mailing list<br>
</div><div class="im">&gt;&gt; &gt;[hidden email] &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=5963272&amp;i=1" target="_blank">http://user/SendEmail.jtp?type=node&amp;node=5963272&amp;i=1</a>&gt;<br>
</div><div class="im">&gt;&gt; &gt;<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt;&gt;<br>
&gt;&gt; - --<br>
&gt;&gt; Trustin Lee, <a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
&gt;&gt; Sent from a mobile device. Please excuse my brevity.<br>
&gt;&gt; -----BEGIN PGP SIGNATURE-----<br>
&gt;&gt; Version: APG v1.0.8<br>
&gt;&gt;<br>
&gt;&gt; iIkEAREIADEFAk1ASycqHFRydXN0aW4gSGV1aXNldW5nIExlZSA8dHJ1c3RpbkBn<br>
&gt;&gt; bWFpbC5jb20+AAoJEJb7nbIZ8zONhVwA/R++c8NmyeDe0mVDwcUNWDFdmal9BVsJ<br>
&gt;&gt; grr1HvrFr+4UAP99+nBkzJNViYEKHcvGVxorke2S6trIQycv1DaTtcsj1Q==<br>
&gt;&gt; =lYOB<br>
&gt;&gt; -----END PGP SIGNATURE-----<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; netty-users mailing list<br>
</div><div class="im">&gt;&gt; [hidden email] &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=5963272&amp;i=2" target="_blank">http://user/SendEmail.jtp?type=node&amp;node=5963272&amp;i=2</a>&gt;<br>
</div><div class="im">&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt;&gt; what we call human nature in actuality is human habit<br>
&gt;&gt; <a href="http://gleamynode.net/" target="_blank">http://gleamynode.net/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------<br>
&gt;&gt;  If you reply to this email, your message will be added to the discussion<br>
&gt;&gt; below:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5963272.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5963272.html</a><br>

</div><div class="im">&gt;&gt;  To unsubscribe from byte communication using tcp client, click here&lt;<a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=5960865&amp;code=cmFqaXZoYXJyaXNAZ21haWwuY29tfDU5NjA4NjV8LTE5MDg4NTcwNTY=" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=5960865&amp;code=cmFqaXZoYXJyaXNAZ21haWwuY29tfDU5NjA4NjV8LTE5MDg4NTcwNTY=</a>&gt;.<br>

&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
</div>&gt; Rajiv<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5964293.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5964293.html</a><br>

<div class="im">&gt; Sent from the Netty User Group mailing list archive at Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; netty-users mailing list<br>
</div><div class="im">&gt; <a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
</div><div class="im">&gt; <a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
&gt;<br>
<br>
</div><div class="im">_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
</div><div><div></div><div class="h5"><a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a></div></div></blockquote></div><br><br clear="all">
<br>-- <br>Regards,<br>Rajiv<br><br>
</blockquote></div></html>