runs the script in the VM
- Parameters
-
- Returns
- true wrenInterpret result is ok
-
false wrenInterpret result is not ok
Definition at line 152 of file AppWren.h.
153 const char* module =
"main";
162 sci->printf(
"M AppWren:loadScript: Loading script (size: %d bytes)\n",strlen(script));
164 sci->println(F(
"M AppWren::loadScript: OK"));
165 }
else sci->println(F(
"M AppWren::loadScript: NOT OK"));
SvcSerialCommandInterface * sci
bool isWrenResultOK(WrenInterpretResult res)
void getWrenHandles()
VM post module load support function creates/updates the Wren embedded call handles.
bool requestStartLZ4Message()
request to start a lz4 compressed message starts the message and returns true if available returns f...
void sendLZ4Message()
Calling this function signals the end of a compressed message. The txBuffer contents are lz4 compres...
References getWrenHandles(), h_slot0, isWrenResultOK(), SvcSerialCommandInterface::requestStartLZ4Message(), AppBaseClass::sci, SvcSerialCommandInterface::sendLZ4Message(), and vm.
Referenced by messageHandler(), render(), and vmConstructor().