SerialStringDispatcher
The SerialStringDispatcher reads strings (or byte-sequences) from a serial COM port, and sends the string to a
CDPComponent (or CDPObject) as a CM_TEXTSTRING message.
The component also receives CM_TEXTSTRING messages which it will queue up and send out on the COM
port. It will automatically handle discarding of invalid strings that are received in on the serial line if the received
string header or footer does not match, or if the string is too long.
SimpleNMEA
The SimpleNMEA component is designed to accept CM_TEXTSTRING messages containing (assumed NMEA)
strings as input. These strings are matched against strings set up in the xml file. If a match is found, the string is
checksummed. This checksum is compared against the checksum embedded in the string. If the checksum is
correct, signals are updated from data in the string according to specifications in the XML file.
The SimpleNMEA component can also send NMEA strings as CM_TEXTSTRING messages to other
CDPComponents (or CDPObjects). Signals are put into the string per specification in the component xml, the
string is checksummed and then sent to the component specified in MessageDestination.
|