#668 Partial work for store & forward

This commit is contained in:
Jm Casler
2021-02-14 08:44:49 -08:00
parent 36643cf5f5
commit 3201d1c3bc
2 changed files with 15 additions and 42 deletions

View File

@@ -34,6 +34,7 @@ class StoreForwardPluginRadio : public SinglePortPlugin
*/
// SerialPluginRadio() : SinglePortPlugin("SerialPluginRadio", PortNum_TEXT_MESSAGE_APP) {}
// SerialPluginRadio() : SinglePortPlugin("SerialPluginRadio", PortNum_STORE_FORWARD_APP) {}
StoreForwardPluginRadio() : SinglePortPlugin("SerialPluginRadio", PortNum_SERIAL_APP) {}
/**
@@ -44,6 +45,8 @@ class StoreForwardPluginRadio : public SinglePortPlugin
protected:
virtual MeshPacket *allocReply();
virtual bool wantPortnum(PortNum p){return true;};
/** Called to handle a particular incoming message
@return true if you've guaranteed you've handled this message and no other handlers should be considered for it