add remote gpio control as an example plugin

https://github.com/meshtastic/Meshtastic-device/issues/182
This commit is contained in:
Kevin Hester
2020-12-06 18:33:42 +08:00
parent 3e0dc44210
commit 8f5a1f19d3
8 changed files with 131 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
#include "RemoteHardwarePlugin.h"
#include "MeshService.h"
#include "NodeDB.h"
#include "RTC.h"
#include "Router.h"
#include "configuration.h"
#include "main.h"
RemoteHardwarePlugin remoteHardwarePlugin;
bool RemoteHardwarePlugin::handleReceivedProtobuf(const MeshPacket &mp, const HardwareMessage &p)
{
return false; // Let others look at this message also if they want
}