Communication Driver Design

VTS was created using an object-oriented, layered approach to software design, and it is highly recommended that VTS communication drivers follow suit. One advantage to this approach is modularity; components may easily be added or removed without affecting critical components. Layers are designed to build on the functions and services of the lower layers. The communication driver software should be self-contained, and have only a few well-defined entry points. This makes it less reliant on other code so that changes to one part will have a limited effect on other parts of VTS.

Topics in this section:

Researching a Communication Driver Protocol

Designing an Addressing Scheme

Controlling Access to Shared Resources

Modem Support

Writing a Communication Driver

Steps to Write a Communication Driver

Mandatory Communication Driver Components

Optional Communication Driver Components

VTSGetAddr

VTSRead

Data Propagation

RPC Queuing of Data Packets:

VTSWrite

VTSMaxBlock