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

Method SFrameType

GSM/GSMTransfer.cpp:355–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354
355L2Control::FrameType L2Frame::SFrameType() const
356{
357 // Determine S-frame command type.
358 // GSM 04.06 Table 4.
359 char sBits = peekField(8+4,2);
360 static const L2Control::FrameType type[] = {
361 L2Control::RRFrame, L2Control::RNRFrame,
362 L2Control::REJFrame, L2Control::BogusFrame };
363 return type[(int)sBits];
364}
365
366
367

Callers 1

receiveSFrameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected