//------------------------------------------------------------------------------
tCtrlKernelStatus ctrlucal_getStatus(void)
{
    tHostifReturn       hifret;
    tCtrlKernelStatus   status;

    hifret = hostif_getState(instance_l.hifInstance, (tHostifState*)&status);
    if (hifret != kHostifSuccessful)
        status = kCtrlStatusUnavailable;

    return status;
}
//------------------------------------------------------------------------------
UINT16 ctrlucal_getStatus(void)
{
    tHostifReturn hifret;
    UINT16 status;

    hifret = hostif_getState(instance_l.hifInstance, (tHostifState*)&status);
    if (hifret != kErrorOk)
        status = kCtrlStatusUnavailable;

    return status;
}