check data returned from rcReadRawFunc() for being valid