| 581 | } |
| 582 | |
| 583 | static 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 | |
| 596 | static CLIStatus gprsConsole(int argc, char **argv, int argi, ostream&os) |
| 597 | { |
nothing calls this directly
no test coverage detected