Hi,Who should I send it to figure this out? Any recommendation?Thanks -----------------------Original Message-----------------------From: "Marcus D. Leech via USRP-users" <usrp-users@lists.ettus.com>To: usrp-users@lists.ettus.comSent date: 2018-08-17 03:39:21 GMT +0900 (Asia/Seoul)Subject: Re: [USRP-users] give lo offset to uhd_tune_request_t On 08/16/2018 01:38 PM, Hojoon Yang via USRP-users wrote: Hi, all I want to give *lo offset* for tune_request. In C++, I'm able to set the lo_offset for tune_request, i.e. uhd::tune_request_t tune_request(target_freq, lo_offset) In C, How can I achieve this using uhd_tune_request_t? uhd_tune_request_t tune_request = { .target_freq = target_freq, .rf_freq_policy = UHD_TUNE_REQUEST_POLICY_AUTO, .dsp_freq_policy = UHD_TUNE_REQUEST_POLICY_AUTO }; Thanks. Indeed, I can't quite figure this out myself, despite spending some time with the C part of the codebase. I think the function templates are automatically generated during build time from the C++ headers. Perhaps someone in R&D can comment on how this is done for C++ methods that are overloaded with respect to argument types.
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com