<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Protocol Stack</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20295/protocol-stack</link><description> Hi! 
 
can any one explain me what is mean of protocol stack? 
 
Regards </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/151785?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2006 01:01:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:68a601ef-d5a7-4913-9de9-c631640da9e6</guid><dc:creator>Ahmad  Kamal Nasir</dc:creator><description>&lt;p&gt;in my case option 2 is the right answer!&lt;br /&gt;
&lt;br /&gt;
&amp;quot;(2). You are not using any existing protocol - you want to both design the protocol and implement it yourself from scratch?&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/153909?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2006 11:57:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bd3ffcc1-2493-4ef1-8d74-922acbc72612</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;Are all these nodes using a single RF channel?  That is, that channel is a shared medium, so that you need some sort of media access control protocol to arbitrate access to the RF?  Or do you have independent channels from each node to the master (which would need some sort of multi-channel transceiver to listen to all the channels at once)?&lt;br /&gt;
&lt;br /&gt;
For shared media, if you don&amp;#39;t need high channel utilization, I&amp;#39;d recommend CSMA (assuming your receiver can supply the &amp;quot;busy&amp;quot; signal).  If not, Aloha.  That is, make sure all messages are acknowledge, and just transmit whenever they arrive.  If you don&amp;#39;t get an ack, retransmit.&lt;br /&gt;
&lt;br /&gt;
For addressing (logical link control), I&amp;#39;d consider just using the Ethernet frame format.  Possibly changing the size of the addresses, as 48 bits is a lot for this application, and there&amp;#39;s no interaction with an Ethernet.  But you&amp;#39;ll need the minimum concepts of that protocol: source and destination addresses, frame length, protocol type, and CRC.&lt;br /&gt;
&lt;br /&gt;
You might also consider RFC1549 (asynchronous HDLC) if you want a complete data link layer.  PPP could also come in handy if your radio gear has special command sequences embedded in the data stream that you have to escape.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/153269?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2006 09:35:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bd80f28f-2fe2-4e5d-9a72-d540b56f024b</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;well, based on the sparse information he has provided so far, I think he does NOT need a protocol &lt;b&gt;stack&lt;/b&gt;, just a protocol.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/152576?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2006 09:11:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5d515d3c-a943-44da-b3aa-6f794ad6948b</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;And, as I said before, given that you needed to ask the question, &lt;i&gt;&amp;quot;what is a protocol stack&amp;quot;&lt;/i&gt;, I think you are biting off far more than you can chew!&lt;br /&gt;
&lt;br /&gt;
Even integrating a ready-made implementation into your own design is generally a non-trivial task - doing the whole thing from scratch &lt;i&gt;with no prior experience&lt;/i&gt; is either extreme self-confidence or sheer folly!&lt;br /&gt;
&lt;br /&gt;
Good luck!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/151782?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2006 07:45:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8adb8777-d951-4a13-bcb5-d32e4b731f21</guid><dc:creator>Ahmad  Kamal Nasir</dc:creator><description>&lt;p&gt;in my case option 2 is the right answer!&lt;br /&gt;
&lt;br /&gt;
&amp;quot;(2). You are not using any existing protocol - you want to both design the protocol and implement it yourself from scratch?&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/151060?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2006 07:13:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:60e7048a-7aec-478d-9d8f-a6e257c6b242</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;i have to develop it from scratch&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Do you mean:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;(1).&lt;/b&gt; You have chosen an existing protocol specification, and want to &lt;i&gt;implement&lt;/i&gt; it from scratch?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;(2).&lt;/b&gt; You are not using any existing protocol - you want to both &lt;i&gt;design&lt;/i&gt; the protocol and &lt;i&gt;implement&lt;/i&gt; it yourself from scratch?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Given that this thread started with the question, &amp;quot;what is a protocol stack&amp;quot;, I think (1) is somewhat ambitious and (2) is probably out of the question - especially for an RF protocol!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/151054?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2006 02:37:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:af72c658-7443-47ba-8c1d-28df455c9735</guid><dc:creator>Ahmad  Kamal Nasir</dc:creator><description>&lt;p&gt;Master node is responsible for accquring/communicating data from nodes,while host computer is responsible for processing of data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/150574?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2006 02:34:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c466760d-5854-40c8-a031-68326e4bd313</guid><dc:creator>Ahmad  Kamal Nasir</dc:creator><description>&lt;p&gt;Thanks for your immediate resoponse!&lt;br /&gt;
&lt;br /&gt;
Yes ,i have to develop it from scratch.&lt;br /&gt;
&lt;br /&gt;
i can choose any protocol.&lt;br /&gt;
&lt;br /&gt;
at the moment i am experimenting with two boards only(master and node),final design will have ,13 nodes communicating to a single master and then the master will communicate with the host computer and process the accquire data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/150163?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2006 18:01:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d19fdd39-4f5c-46a8-b2a2-364b5d2d31f2</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot; i only have two 8051 based boards ... i have to communicate 13 nodes&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
How do you intend to support 13 nodes with only 2 boards?&lt;br /&gt;
&lt;br /&gt;
Do you mean the 13 nodes are all connected to one board, which aggregates the data and transmits it to the other?&lt;br /&gt;
Or what?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/149713?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2006 17:58:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2553c186-6d21-4b2d-a338-1f4a981c3576</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Or even that you intend to design your own protocol??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/138219?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2006 11:55:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:77fe9eab-2396-46d0-bc63-0cdc6704cf4c</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;Do you mean to say the protocol is not specified as a requirement, but that you are free to choose any protocol that you like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/130054?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2006 06:10:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4e9f9c17-9602-4706-960e-705fa05a7eba</guid><dc:creator>Ahmad  Kamal Nasir</dc:creator><description>&lt;p&gt;Is it confidential or a business secret?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/123290?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2006 06:02:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6dd3f7ed-bb87-4002-bded-dffa1da92d92</guid><dc:creator>Ahmad  Kamal Nasir</dc:creator><description>&lt;p&gt;How could i generate the specifications, i only have two 8051 based boards and two RF(433MHz) Trancievers?&lt;br /&gt;
&lt;br /&gt;
All the information what i have is that ,i have to communicate 13 nodes(RF Transciever) with a computer for Data acquitation(Collection) and Control.&lt;br /&gt;
&lt;br /&gt;
Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/112138?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2006 12:21:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:14efc6cd-8870-4150-84b4-92a103719104</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;First -- can you buy the code you need?  There are companies that do nothing but sell code for popular protocol stacks.&lt;br /&gt;
&lt;br /&gt;
Really common protocols (say, TCP/IP) you can often get for free.  Consider whether the GPL is an issue for your project.&lt;br /&gt;
&lt;br /&gt;
If you have to write it from scratch, then you&amp;#39;re going to need the specifications for the protocols in question.  (I don&amp;#39;t think you&amp;#39;ve yet mentioned exactly which ones you need.)  Since standards are often written in a fairly hard-to-understand manner, you might also want a book that describes the protocols in question.&lt;br /&gt;
&lt;br /&gt;
Protocols generally are defined in layers, which tend to make natural points for breaking up your code into modules and functions.  Implementations for big iron often use threads or processes for each layer, but I think for an 8051 it would be better to keep it simple, and just make function calls.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/98174?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2006 00:01:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:92123b11-d553-426a-9541-c576d4bf7ba1</guid><dc:creator>Ahmad  Kamal Nasir</dc:creator><description>&lt;p&gt;&amp;quot;a protocol stacks is any software implementation of any communications protocol.&amp;quot;&lt;br /&gt;
,so can i say that it is a driver or firmware.&lt;br /&gt;
&lt;br /&gt;
if i have to implement protocol stack for RF(433MHZ Transciever),how should i start about it?&lt;br /&gt;
&lt;br /&gt;
Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/98158?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2006 13:33:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:03c9fee2-cac5-4c11-a822-e55f02ea6773</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;This is the point where we quibble about whether or not a cell phone or telco switch is a &amp;quot;computer&amp;quot;...&lt;br /&gt;
&lt;br /&gt;
(I think so, at least for this purpose.  But of course you can counter-quibble that there exist protocols that don&amp;#39;t involve computers -- say, Morse code, or semaphore, and the address that sends the telegram on beyond the receiving telegraph station; or proper etiquette when &amp;quot;calling CQ&amp;quot; or &amp;quot;breaking&amp;quot; into a CB channel.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/87766?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2006 11:55:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8981440e-f748-4eb4-a616-5a497c49b37b</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Wikipedia says:&lt;br /&gt;
&lt;i&gt;&amp;quot;A protocol stack is a particular software implementation of a computer networking protocol suite.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Wikipedia further defines:&lt;br /&gt;
&lt;i&gt;&amp;quot;Computer networking is the scientific and engineering discipline concerned with communication between computer systems.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So the term &amp;quot;&lt;i&gt;computer&lt;/i&gt; networking&amp;quot; may be a bit misleading here: protocol stacks are certainly not restricted to &lt;i&gt;computer&lt;/i&gt; networking - a protocol stacks is any software implementation of any communications protocol.&lt;br /&gt;
&lt;br /&gt;
eg, your mobile phone contains a GSM (or whatever) protocol stack; telephone networks make extensive use of protocol stacks, etc, etc,...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Protocol Stack</title><link>https://community.arm.com/thread/46197?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2006 07:17:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8c8f4505-dd56-4adb-83bb-2150a1cb2ef1</guid><dc:creator>Dejan Durdenic</dc:creator><description>&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Protocol_stack" target="_blank"&gt;http://en.wikipedia.org/wiki/Protocol_stack&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
- Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>