osmo-uhd-trx

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Gullik Webjorn gullik.webjorn at corevalue.se
Fri Dec 21 12:21:57 UTC 2018


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;
}|


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20181221/24750f09/attachment.htm>


More information about the OpenBSC mailing list