MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / recv_async_msg

Method recv_async_msg

Transceiver52M/UHDDevice.cpp:869–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

867}
868
869bool uhd_device::recv_async_msg()
870{
871 uhd::async_metadata_t md;
872 if (!usrp_dev->get_device()->recv_async_msg(md))
873 return false;
874
875 // Assume that any error requires resynchronization
876 if (md.event_code != uhd::async_metadata_t::EVENT_CODE_BURST_ACK) {
877 aligned = false;
878
879 if ((md.event_code != uhd::async_metadata_t::EVENT_CODE_UNDERFLOW) &&
880 (md.event_code != uhd::async_metadata_t::EVENT_CODE_TIME_ERROR)) {
881 LOG(ERR) << str_code(md);
882 }
883 }
884
885 return true;
886}
887
888std::string uhd_device::str_code(uhd::rx_metadata_t metadata)
889{

Callers 1

async_event_loopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected