Device: Add start/stop/clear script, script status, and preload coremini commands

This commit is contained in:
Emily Brooks
2022-10-11 14:48:39 -04:00
parent 3b80746fb8
commit 5b14ec7246
10 changed files with 292 additions and 0 deletions
+15
View File
@@ -125,6 +125,21 @@ public:
virtual bool goOnline();
virtual bool goOffline();
enum class PreloadReturn : uint8_t
{
Pending,
Ok,
OKEncrypted,
NoScript,
};
int8_t prepareScriptLoad();
bool startScript();
bool stopScript();
bool clearScript();
std::optional<uint16_t> getCoreMiniVersion();
// Message polling related functions
bool enableMessagePolling();
bool disableMessagePolling();