MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / getConfigurationKeys

Function getConfigurationKeys

Transceiver52M/runTransceiver.cpp:208–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208ConfigurationKeyMap getConfigurationKeys()
209{
210 ConfigurationKeyMap map;
211 ConfigurationKey *tmp;
212
213 tmp = new ConfigurationKey("TRX.RadioFrequencyOffset","128",
214 "~170Hz steps",
215 ConfigurationKey::FACTORY,
216 ConfigurationKey::VALRANGE,
217 "96:160",// educated guess
218 true,
219 "Fine-tuning adjustment for the transceiver master clock. "
220 "Roughly 170 Hz/step. "
221 "Set at the factory. "
222 "Do not adjust without proper calibration."
223 );
224 map[tmp->getName()] = *tmp;
225 delete tmp;
226
227 tmp = new ConfigurationKey("TRX.TxAttenOffset","0",
228 "dB of attenuation",
229 ConfigurationKey::FACTORY,
230 ConfigurationKey::VALRANGE,
231 "0:100",// educated guess
232 true,
233 "Hardware-specific gain adjustment for transmitter, matched to the power amplifier, expessed as an attenuationi in dB. "
234 "Set at the factory. "
235 "Do not adjust without proper calibration."
236 );
237 map[tmp->getName()] = *tmp;
238 delete tmp;
239
240 return map;
241}

Callers 1

runTransceiver.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected