mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
* Esp32 bluetooth modes * Comment * Gutting bluetooth * Cleanup * Security * Testing * NRF bluetooth security * Reboot on saved lora or bluetooth settings * Cleanup * Fixes * Stub for platforms without screens * Fixed just-works in esp32 * Cleanup * Display device name in boot screen * Added waypoint module routing * chmod * Words * Protos * Backing out partition changes for testing * Revert "Backing out partition changes for testing" This reverts commit191ed6489c. * Chmod PR artifacts * Trying setInitialState again * Revert "Trying setInitialState again" This reverts commit703eac7277. * External notification module * Cleanup * Pin display formatting
26 lines
684 B
C++
26 lines
684 B
C++
#pragma once
|
|
#include "SinglePortModule.h"
|
|
#include "Observer.h"
|
|
|
|
/**
|
|
* Waypoint message handling for meshtastic
|
|
*/
|
|
class WaypointModule : public SinglePortModule, public Observable<const MeshPacket *>
|
|
{
|
|
public:
|
|
/** Constructor
|
|
* name is for debugging output
|
|
*/
|
|
WaypointModule() : SinglePortModule("waypoint", PortNum_WAYPOINT_APP) {}
|
|
|
|
protected:
|
|
|
|
/** Called to handle a particular incoming message
|
|
|
|
@return ProcessMessage::STOP if you've guaranteed you've handled this message and no other handlers should be considered for it
|
|
*/
|
|
virtual ProcessMessage handleReceived(const MeshPacket &mp) override;
|
|
};
|
|
|
|
extern WaypointModule *waypointModule;
|