From 71300593e5c0c6af4116d8706c9762f808dbf441 Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Wed, 10 Oct 2018 12:50:10 -0700 Subject: mpmd: Increase rpcc timeout when calling set_time_source() set_time_source() for N310 and N300 can take longer than the default RPC client timeout of 2 seconds due to dboard initialization. We need increase this timeout, by using the init timeout value which is 2 minutes. --- host/lib/usrp/mpmd/mpmd_prop_tree.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host') diff --git a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp index af0a03ff3..900846d54 100644 --- a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp +++ b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp @@ -132,7 +132,9 @@ void mpmd_impl::init_property_tree( ; tree->create(mb_path / "time_source/value") .add_coerced_subscriber([mb](const std::string &time_source){ + mb->set_timeout_init(); mb->rpc->notify_with_token("set_time_source", time_source); + mb->set_timeout_default(); }) .set_publisher([mb](){ return mb->rpc->request_with_token( -- cgit v1.2.3