*******************************************************************************/ int LH5000_GetComState( unsigned char *pucComState ) { /* Timoutueberwachung */ if (( time(NULL) - iTimeRx ) > iTimeoutValue ) { /* Timeout hat zugeschlagen */ *pucComState = LH5000_TIMEOUT; return 0; } /* Kommunikationsstatus melden */ *pucComState = ucLH5000_ComState; return 0; } /* eofn: LH5000_GetComState */