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

Method neighborText

GSM/GSMLogicalChannel.cpp:317–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317string NeighborCache::neighborText()
318{
319 string result; result.reserve(100);
320 result.append("Neighbors(");
321 for (NeighborMap::iterator it = mNeighborRSSI.begin(); it != mNeighborRSSI.end(); it++) {
322 LOG(DEBUG);
323 unsigned freqindex = it->first >> 6, bsic = it->first & 0x3f;
324 char buf[82];
325 snprintf(buf,80,"(freqIndex=%u BSIC=%u count=%u AvgRSSI=%d)",freqindex,bsic,it->second.mnCount,it->second.mnAvgRSSI);
326 result.append(buf);
327 }
328 result.append(")");
329 return result;
330}
331
332int NeighborCache::neighborAddMeasurement(unsigned freqindex, unsigned BSIC, int RSSI)
333{

Callers 1

HandoverDeterminationFunction · 0.80

Calls 3

appendMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected