Commit graph

30 commits

Author SHA1 Message Date
Josh Blum
2d21958e1b uhd: tune helper + request, forgot to use and set target freq 2010-10-25 17:04:51 -07:00
Josh Blum
359c4e16b2 uhd: created tune request struct and implemented more fine grained tuning calls 2010-10-25 13:41:40 -07:00
Josh Blum
cd05791ac1 uhd: made ticks signed in time spec, fixed full secs implementation, added unit tests 2010-10-19 01:21:34 -07:00
Josh Blum
805d4a0cff uhd: made split string utility function 2010-08-12 10:08:17 -07:00
Josh Blum
53341c286e usrp: added subdev spec class with parser to specify subdevice specifications for channel config 2010-08-06 12:15:05 -07:00
Josh Blum
90465e6bcd uhd: added async recv message call to device api
implemented in usrp2 io impl

added async metadata type
2010-07-20 18:51:36 -07:00
Josh Blum
b25e610868 usrp: added functions to derive tuned frequency, tweaked logic, added unit test 2010-07-16 16:51:30 -07:00
Josh Blum
bf77d1f6e3 uhd: added error codes to rx metadata, switched examples to use
vrt packet handler fills in error codes and inspects non-data packet
2010-07-09 17:35:15 -07:00
Josh Blum
8867df0d7e uhd: added packet type to vrt if info struct, added burst flags to rx metadata, fixed vrt if packet parsing bugs 2010-07-08 19:51:59 -07:00
Josh Blum
08fad28f20 uhd: work vectorizing the vrt packet handler, reworked vrt packet stuff, needs testing 2010-07-05 13:45:11 -07:00
Josh Blum
51cb8da583 uhd: reworked time_spec_t to be more flexible: arithmetic, comparison 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.
2010-06-24 20:29:11 -07:00
Josh Blum
fadd3a44a8 uhd: created benchmark rx example app
Made mods to time spec to support math operators.
2010-06-24 18:55:08 -07:00
Josh Blum
527630cc9d use static init lists for the types, some speedup for the fast path related ones, other changes are pointless 2010-05-17 23:23:58 -07:00
Josh Blum
101afd526d Created inline send vrt packer function that also handles fragmentation. 2010-05-17 18:47:33 -07:00
Josh Blum
81f211c94f Moved usrp2 eeprom addr read/write to host control over i2c/eeprom interface 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.
2010-05-11 16:35:01 -07:00
Josh Blum
4d5df2376b Expanded the dboard id API to create dboard id types from strings and ints.
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.
2010-05-03 01:20:11 -07:00
Josh Blum
8bf1ad45de added to the time spec documentation 2010-04-26 23:41:39 -07:00
Josh Blum
1217b8d67c Got eeprom read/write dboard ids working.
Moved named prop implementation into cpp,
and made named prop a struct (tuples are trouble).
2010-04-26 12:16:37 -07:00
Josh Blum
0c609b9657 Added i2c interface to serial.hpp, using in usrp2_iface for i2c and eeprom. 2010-04-26 00:17:08 -07:00
Josh Blum
eae0bec99b Created args string contructor for device address.
Using the args string for the find devices app.
Added documentation to simple usrp.
2010-04-20 12:05:33 -07:00
Josh Blum
8375ae721c moved spi and i2c api into serial.hpp, its used for more than the dboard interfacing 2010-04-16 22:10:35 -07:00
Josh Blum
36d81c5658 renamed dxc to dsp for tune result 2010-04-14 11:47:55 -07:00
Josh Blum
d743784919 converted timespec to use nanoseconds for fractional part 2010-04-08 10:57:16 -07:00
Josh Blum
ed5cb33eb4 renamed dict get key and value methods 2010-04-05 18:11:32 -07:00
Josh Blum
83bd55d639 extended stream cmd with mode enum, and extended fragment flags in metadata 2010-04-03 19:43:20 -07:00
Josh Blum
f9be69cae7 Added io type and otw type for describing types. 2010-03-30 14:07:19 -07:00
Josh Blum
1295df8cbb Added utility methods to device addr and mac addr to make them more usable. 2010-03-29 12:58:06 -07:00
Josh Blum
b71d0cbea9 refactored types.hpp into types directory 2010-03-27 14:27:55 -07:00
Josh Blum
af586ae149 Overhaullllllled the way we do streaming. There is an odd bug where
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.
2010-03-25 18:36:16 -07:00
Josh Blum
d1ecc555e5 Moved typedefs from props.hpp into new file types.hpp.
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.
2010-03-21 00:58:34 -07:00