diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-11-08 16:06:31 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:05 -0800 |
commit | 2c9fe05fa8590033cfe0fcdfcb809560a91b4204 (patch) | |
tree | 0e5e53dc0d63f079e99554eeca273f397e64389c /host/lib/usrp/mpmd/mpmd_impl.hpp | |
parent | bcf3f28e154b209119e812c9ae610ce4f3107759 (diff) | |
download | uhd-2c9fe05fa8590033cfe0fcdfcb809560a91b4204.tar.gz uhd-2c9fe05fa8590033cfe0fcdfcb809560a91b4204.tar.bz2 uhd-2c9fe05fa8590033cfe0fcdfcb809560a91b4204.zip |
mpmd: Use the get_last_error feature from the RPC client
The RPC client will now query the MPM server for details when an error
occured.
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_impl.hpp')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.hpp b/host/lib/usrp/mpmd/mpmd_impl.hpp index b6b02904c..7eca982a4 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.hpp +++ b/host/lib/usrp/mpmd/mpmd_impl.hpp @@ -30,6 +30,7 @@ static const size_t MPMD_RX_SW_BUFF_SIZE_ETH_MACOS = 0x100000; //1Mib static const size_t MPM_DISCOVERY_PORT = 49600; static const size_t MPM_RPC_PORT = 49601; +static const char MPM_RPC_GET_LAST_ERROR_CMD[] = "get_last_error"; static const char MPM_DISCOVERY_CMD[] = "MPM-DISC"; static const char MPM_ECHO_CMD[] = "MPM-ECHO"; static const size_t MPMD_10GE_DATA_FRAME_MAX_SIZE = 8000; // CHDR packet size in bytes |