Designing for Backward Compatibility

<< Click to Display Table of Contents >>

Navigation:  Basics >

Designing for Backward Compatibility

This driver development kit differs significantly in approach & architecture to previous frameworks. Drivers developed using previous frameworks or new drivers that need to support both BNCS V5.0 (and earlier) and V5.5 (and later) will require careful design to minimize the amount of implementation effort required to support both environments.

 

Our recommended approach is to a adopt a "three project" within one solution as shown in the diagram below:

 

clip0008

 

In this case, Project 1 contains a traditional Driver Template based implementation of the driver whereas Project 2 implements a DDK based driver. All driver logic and device communications code should be placed in a common DotNet Standard class library (Project 3) that can be accessed from both driver implementations.