1.2.4.3 DLL_GetStatus Function

C

DLL_STATUS DLL_GetStatus(void);

Summary

Gets the status of the DLL module.

Description

This function allows to retieve DLL module status.

It must be used to ensure the module is Ready before start using it.

Parameters

None.

Returns

Returns the status of the Meters And Mores DLL module.
  • DLL_STATUS_UNINITIALIZED: DLL module has not been initialized.
  • DLL_STATUS_READY: DLL module is ready to be used.

Example

    case APP_DLL_STATE_START:
    {
        if (DLL_GetStatus() == DLL_STATUS_READY)
        {
            app_DLLData.state = APP_DLL_STATE_RUNNING;
        }

        break;
    }

Remarks

None.