* simple_sensor: handleCustomCommand() hook

This commit is contained in:
Scott Powell
2025-07-13 15:30:49 +10:00
parent ced14d65db
commit 339ee035aa
3 changed files with 15 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ protected:
virtual void onSensorDataRead() = 0; // for app to implement
virtual int querySeriesData(uint32_t start_secs_ago, uint32_t end_secs_ago, MinMaxAvg dest[], int max_num) = 0; // for app to implement
virtual bool handleCustomCommand(uint32_t sender_timestamp, char* command, char* reply) { return false; }
// Mesh overrides
float getAirtimeBudgetFactor() const override;