Simple Sensor Interface protocol: Difference between revisions

Content deleted Content added
No edit summary
m disambiguating UDP
Line 142:
=== Networking SSI ===
 
SSI networking in a variable environment is done e.g. using [[nanoIP]]. In a typical case for using SSI, an individual message is not important, and so nanoUDP (simplified [[User Datagram Protocol|UDP]] defined by nanoIP) is used as the message format. If individual messages are important, nanoTCP can be used, as it provides flow control and retransmission, with the cost of message size and increase in network traffic.
 
A nanoUDP message consists of a 5-byte nanoUDP header, n-byte message payload and optional 2-byte CRC checksum. The header consists of one protocol byte, 2-byte message length (total length, including header and CRC), 1-byte source port and 1-byte destination port number. The destination port number should be 0x28 for SSI messages.