This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Protocol Stack

Hi!

can any one explain me what is mean of protocol stack?

Regards

Parents
  • First -- can you buy the code you need? There are companies that do nothing but sell code for popular protocol stacks.

    Really common protocols (say, TCP/IP) you can often get for free. Consider whether the GPL is an issue for your project.

    If you have to write it from scratch, then you're going to need the specifications for the protocols in question. (I don't think you'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.

    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.

Reply
  • First -- can you buy the code you need? There are companies that do nothing but sell code for popular protocol stacks.

    Really common protocols (say, TCP/IP) you can often get for free. Consider whether the GPL is an issue for your project.

    If you have to write it from scratch, then you're going to need the specifications for the protocols in question. (I don't think you'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.

    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.

Children