295abb37ee
Firmware for an autonomous wave-measurement buoy (ATmega2560-based WII5 v2 board). Reads wave motion from a Sparton AHRS-M1/M2 IMU, samples GPS and battery state, and reports back over Iridium SBD satellite telemetry. Originally developed 2012-2024. This is the first public release. Code, documentation, and field-tested operating modes (Capture, Sleep, Position, ManualTest, SelfTest, LowBattery) are licensed under Apache 2.0 — see LICENSE and NOTICE. See README.md for an overview and build instructions, CONTRIBUTING.md for how to contribute, and DEPLOYMENTS.md for the field-deployment log.
45 lines
927 B
C++
45 lines
927 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
// Copyright (c) 2012-2024 Scott Penrose <scottp@dd.com.au> and WII5 Buoy contributors
|
|
//
|
|
// This file is part of WII5 Buoy firmware.
|
|
// See LICENSE for full terms.
|
|
|
|
/**
|
|
* @file WII5Help.h
|
|
* @brief Help-text generator for the `@Help` console command.
|
|
*/
|
|
|
|
#ifndef WII5Help_h
|
|
#define WII5Help_h
|
|
|
|
#include <WII5.h>
|
|
#include <WII5Help.h>
|
|
|
|
class WII5Help {
|
|
public:
|
|
WII5Help() {}
|
|
virtual WII5_CONTROLLERS controllerId() {return WII5CONTROLLER_HELP;}
|
|
bool processConsoleCsv();
|
|
|
|
protected:
|
|
bool displayIndex();
|
|
bool display404();
|
|
bool displayList();
|
|
bool displayInfo();
|
|
bool displayGeneral();
|
|
bool displayMaths();
|
|
bool displayHardware();
|
|
bool displayData();
|
|
bool displayTesting();
|
|
bool displayAdvanced();
|
|
bool displaySettings();
|
|
bool displaySparton();
|
|
bool displayIridium();
|
|
bool displayGps();
|
|
bool displayStorage();
|
|
};
|
|
|
|
extern WII5Help wii5Help;
|
|
|
|
#endif
|