Hmm, is the event code actually generated by the uhd driver? It looks like

the definition of EVENT_CODE_SEQ_ERROR that generates this log item comes

from include/uhd/types/metadata.hpp <https://files.ettus.com/manual/metadata_8hpp_source.html>

Gullik


|

bool  uhd_device::recv_async_msg()
{
        uhd::async_metadata_t  md;

        thread_enable_cancel(false);
        bool  rc  =  usrp_dev->get_device()->recv_async_msg(md);
        thread_enable_cancel(true);
        if  (!rc)
                return  false;

        // Assume that any error requires resynchronization
        if  (md.event_code  !=  uhd::async_metadata_t::EVENT_CODE_BURST_ACK)  {
                aligned  =  false;

                if  ((md.event_code  !=  uhd::async_metadata_t::EVENT_CODE_UNDERFLOW)  
&&
                (md.event_code  !=  
uhd::async_metadata_t::EVENT_CODE_TIME_ERROR))  {
                        LOGC(DDEV,  ERR)  <<  str_code(md);
                }
        }

        return  true;
}|


Reply via email to