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

Method SAPI

GSM/GSMTransfer.cpp:306–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305
306unsigned L2Frame::SAPI() const
307{
308 // Get the service access point indicator,
309 // assuming frame format A or B.
310 // See GSM 04.06 2.1, 2.3, 3.2.
311 // This assumes MSB-first field packing.
312 // (pat) If the frame is a primitive, the size is 0 and sapi is not saved in the L2Frame.
313 // The L3Frame will be rebound with the correct SAPI in L2LAPDm.
314 return size()>8 ? peekField(3,3) : SAPIUndefined;
315}
316
317
318unsigned L2Frame::LPD() const

Callers 3

GSMTransfer.cppFile · 0.45
writeLowSideMethod · 0.45
writeHighSideMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected