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

Function cellid

SIP/SIPUtility.cpp:254–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254static unsigned cellid()
255{
256 // Cell id:
257 unsigned c0 = gTRX.C0(); // 10 bits
258 unsigned bcc = gBTS.BCC(); // 3 bits
259 unsigned ncc = gBTS.NCC(); // 3 bits
260 return (c0<<16) + (bcc<<3) + ncc;
261}
262
263
264// Make a globally unique identifier starting with string start.

Callers 1

globallyUniqueIdFunction · 0.85

Calls 3

C0Method · 0.80
BCCMethod · 0.80
NCCMethod · 0.80

Tested by

no test coverage detected