please, i want to know really how to make a communication protocol ( books, links, simples examples)
Because that i know the methodology but i can't make really
Thanks...
please, i want to know really how to make a communication protocol ( books, links, simples examples)
Because that i know the methodology but i can't make really
Thanks...
You can read about some protocols here
a communication protocol is not trivial but also not undoable
a master thesis PDF describing more than you ever want to know
excuses for the length of the URL
ok... thanks
robtillaart:
a communication protocol is not trivial but also not undoablea master thesis PDF describing more than you ever want to know
excuses for the length of the URL
How did you find that Thesis? Someone worked really hard, I hope He achieved his Masters.
When he started describing the algebraic notation, It reminded me of Discrete Mathematics. And that was a bad memory! :o
Chuck.
How did you find that Thesis?
writing a query for google with use of + (to force that word in the search results, G has more tricks)
in short: Google +design +communication +protocol
Then I copied the URL from search list and cleaned it up. (clicking it would start download PDF)
A long time ago i was making my own protocol. It should be simple, easy and fast.
after few weeks of work i had succeed.
It was very simple, the main thing is that you need to realize what you really need, addressing, data checking and etc.
in my case i was grouping a package from parts that I needed, from other side i was verifying data that i received.
so a quick example: I had a "Start Byte" + "address byte" + "data type bite" + "value" + "data type byte" + "value" ...... "data end byte" + "2 check sum bites" + "end of package byte"
So after my controllers receive the "Start Byte", I compared the address, if it matched my number i read the data types and values, and compared them with my check sum.
very easy and simple.
btw it is a good thing to have a digital oscilloscope so you can connect your bus and see what is exactly going on on low level.