COVerBuild

Description

This function returns the build version number value. The version number is encoded in the following way:

Version <major>.<minor>.<build>-<change>

Prototype

CPU_INT08U COVerBuild(void);

Returned Value

The build version number value.

Additional Information

The build number is changed on fixed errors in the CANopen stack.

Example

The following example uses the build version of the CANopen stack to implement an application, which is independent from specific features of version.


    :
    if (<code>COVerBuild()</code> == 0) {
        /* do some compatibility stuff */
    }
    :