COVerChange

Description

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

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

Prototype

CPU_INT32U COVerChange(void);

Returned Value

The change number value.

Additional Information

The change number is changed on any change in the CANopen stack.

Example

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


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