An Example CcTalk Message Packet
TX data = 002 000 001 245 008 _____
- 002 = destination address
- 000 = zero data bytes
- 001 = source address
- 245 = command header ‘Request equipment category id’
- 008 = checksum ( 002 + 000 + 001 + 245 + 008 = 256 = 0 mod 256 )
This is a message from address 1 ( the host ) to peripheral address 2 to find out what it is.
RX data = 001 013 002 000 067 111 105 110 032 065 099 099 101 112 116 111 114 022
- 001 = destination address
- 013 = 13 data bytes
- 002 = source address
- 000 = reply header
- 067…114 = ASCII for ‘Coin Acceptor’
- 022 = checksum ( sum of all packet bytes is zero )
The reply from address 2 back to address 1 identifies it as a coin acceptor.
Read more about this topic: Cc Talk
Famous quotes containing the words message and/or packet:
“Children in home-school conflict situations often receive a double message from their parents: The school is the hope for your future, listen, be good and learn and the school is your enemy. . . . Children who receive the school is the enemy message often go after the enemyact up, undermine the teacher, undermine the school program, or otherwise exercise their veto power.”
—James P. Comer (20th century)
“The captain was a duck
With a packet on his back,
And when the ship began to move
The captain said, Quack! Quack!”
—Mother Goose (fl. 17th18th century. I saw a ship a-sailing (l. 1316)