aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/device.cpp
Commit message (Collapse)AuthorAgeFilesLines
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-5/+5
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-6/+5
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* device: change hashing test logic from try-throw-catch to if-elsemeserve2016-11-181-5/+3
| | | | | | Allows to trigger on catches during debugging. Reviewed-By: Martin Braun <martin.braun@ettus.com>
* transport optimize: Integrated the transport offloading into the X3XX codebasePaul David2016-04-181-1/+1
|
* uhd: Fixed: Exception during detection kills device::makeMarcus Müller2015-03-031-9/+14
| | | | | | | | On systems with libusb but not USB, device detection for USB devices fails (lsusb itself dies with "error -99"). This crashes the device detection process itself. Also made the documentation for ::make match what it actually does.
* x300,nirio: Added support for NI-RIO 14.0Ashish Chaudhari2014-10-101-3/+10
| | | | | | | | | - Split niriok_proxy interfaces to support NI-RIO <=13.0 and >=14.0 kernel interfaces - Fixed multi-session race conditions by synchronizing niriok_proxy access - Fixed bug switching from NI LV-FPGA access to UHD access by changing how devices are hashed into a reservation table - Fixed calculation of FRAC values for CBX and SBX LO tuning by rounding instead of truncating - Fixed bug that was not setting two MSBs for band select configuration of CBX LO - Submitting on behalf of Patrick Sisterhen, Matthew Crymble
* Added missing pure virtual destructors to base classesNicholas Corgan2014-09-011-0/+4
|
* OctoClock firmware upgrade, added host driverNicholas Corgan2014-07-231-15/+24
| | | | | | | | | | * OctoClock can communicate with UHD over Ethernet * Can read NMEA strings from GPSDO and send to host * Added multi_usrp_clock class for clock devices * uhd::device can now filter to return only USRP devices or clock devices * New OctoClock bootloader can accept firmware download over Ethernet * Added octoclock_burn_eeprom,octoclock_firmware_burner utilities * Added test_clock_synch example to show clock API
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-041-0/+6
|
* uhd: various tweaks to log and msg, replaced a few remaining stdioJosh Blum2011-05-041-2/+3
|
* usrp-e100: removed stdio prints from implementationJosh Blum2011-05-041-2/+2
|
* uhd: added scoped lock to device find and make (for thread safety)Josh Blum2011-04-261-0/+7
|
* uhd: update copyright headers with automated scriptJosh Blum2011-03-231-1/+1
|
* uhd: switch algorithm namespace to uhdJosh Blum2011-02-241-1/+1
|
* uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-241-2/+2
|
* uhd: renamed the assert header to assert hasJosh Blum2011-02-241-2/+1
| | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match
* uhd: added a bunch of custom exceptions, not used yetJosh Blum2011-02-241-1/+1
|
* usb: catch open errors and print message, device: catch exceptions at ↵Josh Blum2010-10-011-6/+12
| | | | discovery time
* uhd: fix find-replace accident asize_tJosh Blum2010-07-261-1/+1
|
* work on algorithms and documentationJosh Blum2010-06-141-6/+2
|
* Expanded the dboard id API to create dboard id types from strings and ints.Josh Blum2010-05-031-2/+2
| | | | | | And created utility functions to go between representations. Created to_pp_string for pretty print strings for dboard ids and device addrs. Minor changes to the various classes that call these utilities.
* setting size of buffers from device argsJosh Blum2010-04-271-5/+6
|
* prefixed the ASSERT_THROW macro with UHD for the sake of namespaceJosh Blum2010-04-261-2/+2
|
* renamed dict get key and value methodsJosh Blum2010-04-051-2/+2
|
* use find to discover devicesJosh Blum2010-03-301-4/+4
|
* Added utility methods to device addr and mac addr to make them more usable.Josh Blum2010-03-291-4/+4
|
* refactored types.hpp into types directoryJosh Blum2010-03-271-3/+3
|
* Split utils.hpp into subdir with multiple files.Josh Blum2010-03-271-3/+4
| | | | | | | static for static block and static instance (singleton) assert for assertion and throwing related stuff algorithm for my addons to std::algorithm (has) and a new one, safe main, for having a main catch-all
* got uhd almost compiling in windowze. figured out special flags. also had to ↵Josh Blum2010-03-171-1/+1
| | | | use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
* Added recovery app to use raw socket to burn known ip addr.Josh Blum2010-03-161-2/+2
| | | | Fixed up fw so the device can reply after new addrs are set.
* Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-151-45/+47
| | | | Added static instance macro for lazy instantiation of static variables.
* Cleaned up the gain handler (thing that gets and sets wildcard gains)Josh Blum2010-03-111-3/+12
| | | | | | and made use of it in the dboard manager so it intercepts the sets and gets. While doing this, fixed something with nested links in wax obj. Added some useful macros and templates to the utils.
* Created empty usrp1e cpp file for the case when headers are not found.Josh Blum2010-02-251-16/+84
| | | | | Worked on the device make and discovery to fix certain problems. Added node param to discover usrps for usrp1e, made addr optional.
* use a single addr param for the usrp2Josh Blum2010-02-251-5/+2
|
* Made the usrp2 impl into a device.Josh Blum2010-02-211-11/+5
| | | | | Removed the usrp device wrapper and usrp2 cpp file outside of the usrp2 lib dir. Also removed the mboard base files since we wont be needing them.
* Moved lib and include contents of dboard and mboard one directory up and ↵Josh Blum2010-02-211-2/+2
| | | | | | prefixed them with dboard_ and mboard_. And yes, the code is compiling.
* moved host code into host directory for clean (unambiguous) top levelJosh Blum2010-02-171-0/+74