Driver Configuration

<< Click to Display Table of Contents >>

Driver Configuration

This Driver allows configuring frames that contain data fields, delimiters, and CRC (Cyclic Redundancy Check) verification. These fields can be optional or depend on the existence of an optional field, as needed. The next figure contains examples of frame constructions supported by this Driver, in which each circle represents a frame field and the number inside that circle indicates its position.

Examples of frames

Examples of frames

These examples of frame configurations are described on the next table.

Examples of frame configurations

Example

Description

Simple

A linear frame composed of sequential fields

With Optional

A frame that includes optional fields

With Optional and Required

A frame that includes optional fields and fields that depend on the existence of an optional field

With Two Optionals

A frame that includes two sequential optional fields

Complex

A frame that includes optional fields, fields that depend on the existence of other fields, and fields that are both optional and depend on the existence of other fields

 

NOTES

There can be, at most, two consecutive optional fields that are either independent or depend on the same field.

If an optional field follows a field that depends on another field, the optional field must depend on the same field as the previous one.

A field that depends on another field can only exist if the field that it depends on is optional or depends on another field.

Fields of a frame can have fixed or variable sizes. However, it is mandatory to insert a delimiter field between two fields without a fixed size.

Was this page useful?