diff options
author | Josh Blum <josh@joshknows.com> | 2010-01-21 15:30:34 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-01-21 15:30:34 -0800 |
commit | e3483c7451d20b7ed1d8d4865e15751f18cdef78 (patch) | |
tree | f309a95a1b0ecd3dc3295ebc71ee5ad697c9f7a8 /include/usrp_uhd/device_addr.hpp | |
parent | 5b42b774d9ac1e74fb2916bf58085fe19ecb6720 (diff) | |
download | uhd-e3483c7451d20b7ed1d8d4865e15751f18cdef78.tar.gz uhd-e3483c7451d20b7ed1d8d4865e15751f18cdef78.tar.bz2 uhd-e3483c7451d20b7ed1d8d4865e15751f18cdef78.zip |
Added a usrp device abstration that creates usrp mboards.
Added a usrp mboard named test, its empty for now.
Diffstat (limited to 'include/usrp_uhd/device_addr.hpp')
-rw-r--r-- | include/usrp_uhd/device_addr.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/usrp_uhd/device_addr.hpp b/include/usrp_uhd/device_addr.hpp index c082d9f84..38c6c32dd 100644 --- a/include/usrp_uhd/device_addr.hpp +++ b/include/usrp_uhd/device_addr.hpp @@ -60,15 +60,20 @@ namespace usrp_uhd{ } usb_args; struct{ std::string ifc; - mac_addr_t mac_addr; + std::string mac_addr; } eth_args; struct{ - ip_addr_t ip_addr; + std::string addr; } udp_args; struct{ //TODO unknown for now } gpmc_args; + //the discovery args are filled in by the discovery routine + struct{ + uint16_t mboard_id; + } discovery_args; + /*! * \brief Convert a usrp device_addr_t into a string representation */ |