[CE CPP OBD] mdlVersion_getVersionNumbers did not return the version for OBD

Hi everyone,

a short question: I use OBD SDK 10.09.00.083 and OBD V10.09.xxxx. I expect  mdlVersion_getVersionNumbers() will return something like "10.09.xxxx" but it returns "10.16.02.260" which belongs to the underlying USTN-SDK.

How do I get the version Number, wich the User sees?

Thanks a lot!

Parents Reply
  • Bob gives us a TriForma API function mdlTFApplication_getVersionString which works well for this requirement.

    I wrote below test code and can get correct OBD version.

    void getOBDVersion()
    {
        char* pVerStr = NULL;
        if (SUCCESS != mdlTFApplication_getVersionString(NULL, &pVerStr))
            return;
        if (NULL != pVerStr)
        {
            mdlDialog_dmsgsPrintA(pVerStr);
            dlmSystem_mdlFree(pVerStr);
        }
    }

    Output is as below:



    Answer Verified By: Volker Hüfner 

Children
No Data