For those who may read this in the future, I ended up using this comment along with the above to identify the pertinent registers. The parameters were found in LMS7002M_parameters.h, dropping the LMS7_ prefix. The code looks similar to the following:
int modIndex = ...
int chanIndex = ...
SDRDevice* d = ...
std::vector<std::string> params = { "EN_DIV2_DIVPROG", "FRAC_SDM_LSB",
"INT_SDM", "FRAC_SDM_MSB",
"DIV_LOCH", "CSW_VCO",
"SEL_VCO" };
// to get/save
for (const std::string& param : params) {
auto val = d->GetParameter(modIndex, chanIndex, param);
// save param/val somewhere
}
// to set/load
// iterate through the saved params and vals
// d->SetParameter(...)
These parameters in combination with SetFrequency seem to do the trick, at least for me right now.
