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

Function gprsStep

GPRS/GPRSCLI.cpp:583–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583static CLIStatus gprsStep(int argc, char **argv, int argi, ostream&os)
584{
585 if (!gL2MAC.macSingleStepMode) {
586 os << "error: MAC is not in single step mode\n";
587 return FAILURE; // disaster would ensue if we accidently started another serviceloop.
588 }
589 // We single step it ignoring the global clock, which
590 // might result in messages from the channel service routines.
591 ++gBSNNext;
592 gL2MAC.macServiceLoop();
593 return FAILURE;
594}
595
596static CLIStatus gprsConsole(int argc, char **argv, int argi, ostream&os)
597{

Callers

nothing calls this directly

Calls 1

macServiceLoopMethod · 0.80

Tested by

no test coverage detected