Protocols - Overview

From Serious Documentation
Revision as of 16:20, 20 September 2014 by Admin (talk | contribs) (Created page with "<onlyinclude>A ''protocol'' describes the packetization and method for moving data back and forth across that physical layer. SHIP supports three protocols, though not all pr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A protocol describes the packetization and method for moving data back and forth across that physical layer. SHIP supports three protocols, though not all protocols are supported across all available physical layers on a SIM:

Raw Protocol

The Raw protocol was made available starting in SHIP v5.0.126 Badge SHIPv5.gif, and enables simple movement of the following data types:

  • Boolean (as Byte 0x00 or 0x01)
  • Byte
  • Short (16-bit)
  • Integer (32-bit)
  • Float (single precision, 32-bit)
  • String (null terminated)

There is no packetization, framing, or checksums/CRC calculations performed on the data. The protocol, therefore, is very simple to interpret and generate on an attached device, however is susceptible to errors and misalignment over time and should only be used in some applications.

Resources:

Modbus Protocol

= SHIPBridge protocol