aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: created sensors value, made lib/types and moved filesJosh Blum2011-01-061-359/+0
|
* uhd: added convenience factory functions for clock config (external/internal)Josh Blum2011-01-051-2/+18
|
* uhd: replaced templated ranges with one range thing using doubles only to ↵Josh Blum2011-01-051-9/+0
| | | | avoid trouble with compiler portability
* uhd: potential fix for explicit template + llvmJosh Blum2011-01-021-0/+2
|
* uhd: ranges symbol fix, try extern macroJosh Blum2010-11-171-0/+7
|
* uhd: created a meta range that is a range of ranges for gains and freqsJosh Blum2010-11-101-19/+0
| | | | | | | | | | | | | | created a templated range that that holds a start, stop, and step created a meta-range template that is a vector of ranges meta-range can calculate the overall start, stop, step or be indexed to get at components replaced instances of range.min, max, step with the functions start() stop() and step() the xcvr frequency range is now expressed in as two ranges (have to fix its clip function though)
* usrp: created mboard eeprom map class, implemented for usrp2Josh Blum2010-11-041-8/+5
|
* uhd: tune helper + request, forgot to use and set target freqJosh Blum2010-10-251-1/+2
|
* uhd: created tune request struct and implemented more fine grained tuning callsJosh Blum2010-10-251-0/+20
|
* uhd: made ticks signed in time spec, fixed full secs implementation, added ↵Josh Blum2010-10-191-7/+14
| | | | unit tests
* uhd: made split string utility functionJosh Blum2010-08-121-13/+6
|
* usrp: added subdev spec class with parser to specify subdevice ↵Josh Blum2010-08-061-3/+6
| | | | specifications for channel config
* uhd: added async recv message call to device apiJosh Blum2010-07-201-12/+0
| | | | | | implemented in usrp2 io impl added async metadata type
* usrp: added functions to derive tuned frequency, tweaked logic, added unit testJosh Blum2010-07-161-8/+11
|
* uhd: added error codes to rx metadata, switched examples to useJosh Blum2010-07-091-1/+2
| | | | vrt packet handler fills in error codes and inspects non-data packet
* uhd: added packet type to vrt if info struct, added burst flags to rx ↵Josh Blum2010-07-081-1/+3
| | | | metadata, fixed vrt if packet parsing bugs
* uhd: work vectorizing the vrt packet handler, reworked vrt packet stuff, ↵Josh Blum2010-07-051-4/+0
| | | | needs testing
* uhd: reworked time_spec_t to be more flexible: arithmetic, comparison ↵Josh Blum2010-06-241-18/+34
| | | | | | | | | operators... Replaced nsecs with fractional seconds in units of seconds. Replaced nsecs and secs members with public function members. time_spec_t has a more diverse set of constructors and methods. It can handle the cases where frac secs are greater than 1 second.
* uhd: created benchmark rx example appJosh Blum2010-06-241-0/+28
| | | | Made mods to time spec to support math operators.
* use static init lists for the types, some speedup for the fast path related ↵Josh Blum2010-05-171-48/+67
| | | | ones, other changes are pointless
* Created inline send vrt packer function that also handles fragmentation.Josh Blum2010-05-171-0/+4
|
* Moved usrp2 eeprom addr read/write to host control over i2c/eeprom interface ↵Josh Blum2010-05-111-12/+15
| | | | | | | | | | calls. No longer part of the dude/bro protocol. Simplified the mac and ip addr read write code in mboard impl. Modified the mac addr type to take byte_vector_t from serial.hpp types.
* 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.
* added to the time spec documentationJosh Blum2010-04-261-3/+3
|
* Got eeprom read/write dboard ids working.Josh Blum2010-04-261-3/+5
| | | | | Moved named prop implementation into cpp, and made named prop a struct (tuples are trouble).
* Added i2c interface to serial.hpp, using in usrp2_iface for i2c and eeprom.Josh Blum2010-04-261-0/+27
|
* Created args string contructor for device address.Josh Blum2010-04-201-24/+22
| | | | | Using the args string for the find devices app. Added documentation to simple usrp.
* moved spi and i2c api into serial.hpp, its used for more than the dboard ↵Josh Blum2010-04-161-0/+9
| | | | interfacing
* renamed dxc to dsp for tune resultJosh Blum2010-04-141-2/+2
|
* converted timespec to use nanoseconds for fractional partJosh Blum2010-04-081-15/+12
|
* renamed dict get key and value methodsJosh Blum2010-04-051-2/+2
|
* extended stream cmd with mode enum, and extended fragment flags in metadataJosh Blum2010-04-031-3/+4
|
* Added io type and otw type for describing types.Josh Blum2010-03-301-0/+35
|
* Added utility methods to device addr and mac addr to make them more usable.Josh Blum2010-03-291-10/+53
|
* refactored types.hpp into types directoryJosh Blum2010-03-271-5/+108
|
* Overhaullllllled the way we do streaming. There is an odd bug whereJosh Blum2010-03-251-3/+12
| | | | | | | | | a zero length command (now, no chain) used to stop the streaming. Now it seems to do the reverse... must investigate. Made all clock configuration into enums. The strings were painful and there cant be that many variations that enums cant cover them. The enums will make more sense to developers than mystery strings.
* Moved typedefs from props.hpp into new file types.hpp.Josh Blum2010-03-211-0/+57
Created structs to replace range tuples, and clock config struct. Merged clock config props into one property using config struct. Added templated dict construction to use the assign::map_list_of. Added gcc flag to set visibility to hidden and use the api macro.