lgo_DisableStack()
Temporarily prevent the protocol stack from processing.
#include "laygo.h" LResult lgo_DisableStack ( void );
lgo_DisableStack() temporarily prevents processing of the stack via the timer interrupt or calls to lgo_ActivateStack(). The stack remains disabled until lgo_EnableStack() is called.
If successful, lgo_DisableStack() returns a non-negative value. Otherwise, it returns a negative value indicating the reason it failed. Possible unsuccessful return values are:
Note that lgo_DisableStack() cannot fail if the stack was successfully initialized.
if (!readyToProcess) { lgo_DisableStack(); }