diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-03 19:26:32 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-03 19:26:32 -0800 |
commit | d93a2cf7c904964ba7f41f4d654b18e099df7451 (patch) | |
tree | a55f8d56904a8a4f8fe96dbf7c38177b4c662c5c /host/lib/usrp/usrp2/fw_common.h | |
parent | 942c69b710510e6143a6f3c22bbe3ff0687f4bc6 (diff) | |
download | uhd-d93a2cf7c904964ba7f41f4d654b18e099df7451.tar.gz uhd-d93a2cf7c904964ba7f41f4d654b18e099df7451.tar.bz2 uhd-d93a2cf7c904964ba7f41f4d654b18e099df7451.zip |
usrp2: work on mtu discovery
added echo routine to the firmware and discovery routine to host
the implementation is integrated into the factory function and appears to work on linux
Diffstat (limited to 'host/lib/usrp/usrp2/fw_common.h')
-rw-r--r-- | host/lib/usrp/usrp2/fw_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/fw_common.h b/host/lib/usrp/usrp2/fw_common.h index 6eb047454..68c49cafc 100644 --- a/host/lib/usrp/usrp2/fw_common.h +++ b/host/lib/usrp/usrp2/fw_common.h @@ -89,6 +89,9 @@ typedef enum{ USRP2_CTRL_ID_SO_LIKE_CAN_YOU_READ_THIS_UART_BRO = 'v', USRP2_CTRL_ID_I_HELLA_READ_THAT_UART_DUDE = 'V', + USRP2_CTRL_ID_HOLLER_AT_ME_BRO = 'l', + USRP2_CTRL_ID_HOLLER_BACK_DUDE = 'L', + USRP2_CTRL_ID_PEACE_OUT = '~' } usrp2_ctrl_id_t; @@ -133,6 +136,9 @@ typedef struct{ uint8_t bytes; uint8_t data[20]; } uart_args; + struct { + uint32_t len; + } echo_args; } data; } usrp2_ctrl_data_t; |