add remote gpio control as an example plugin
https://github.com/meshtastic/Meshtastic-device/issues/182
This commit is contained in:
17
src/plugins/RemoteHardwarePlugin.cpp
Normal file
17
src/plugins/RemoteHardwarePlugin.cpp
Normal 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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user