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

Method parseL3CC

GSM/GSML3CCMessages.cpp:111–124  ·  view source on GitHub ↗

parser for Call control messages, will only parse uplink */

Source from the content-addressed store, hash-verified

109
110/* parser for Call control messages, will only parse uplink */
111L3CCMessage * GSM::parseL3CC(const L3Frame& source)
112{
113 // mask out bit #7 (1011 1111) so use 0xbf, see GSM 04.08 Table 10.3/3.
114 L3CCMessage::MessageType MTI = (L3CCMessage::MessageType)(0xbf & source.MTI());
115 LOG(DEBUG) << "MTI="<<MTI;
116
117 L3CCMessage *retVal = L3CCFactory(MTI);
118 if (retVal==NULL) return NULL;
119
120 retVal->TI(source.TI());
121 retVal->parse(source);
122 LOG(DEBUG) << *retVal;
123 return retVal;
124}
125
126
127void L3CCMessage::write(L3Frame& dest) const

Callers

nothing calls this directly

Calls 3

MTIMethod · 0.45
TIMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected