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

Method parseElement

SGSNGGSN/GPRSL3Messages.cpp:1382–1393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1380void L3GmmMsgRAUpdateComplete::textBody(std::ostream &os) const {/*nothing*/}
1381
1382void GMMRoutingAreaIdIE::parseElement(ByteVector &pp, size_t &rp)
1383{
1384 mMCC[1] = pp.getNibble(rp,1);
1385 mMCC[0] = pp.getNibble(rp,0);
1386 mMNC[2] = pp.getNibble(rp+1,1);
1387 mMCC[2] = pp.getNibble(rp+1,0);
1388 mMNC[1] = pp.getNibble(rp+2,1);
1389 mMNC[0] = pp.getNibble(rp+2,0);
1390 mLAC = pp.getUInt16(rp+3);
1391 mRAC = pp.getByte(rp+5);
1392 rp += 6;
1393}
1394
1395void GMMRoutingAreaIdIE::appendElement(ByteVector &msg)
1396{

Callers 1

gmmParseBodyMethod · 0.45

Calls 3

getNibbleMethod · 0.80
getUInt16Method · 0.80
getByteMethod · 0.80

Tested by

no test coverage detected