Arduino C++ Library for VLCB
Loading...
Searching...
No Matches
InternalDiagnosticsService.h
Go to the documentation of this file.
1// Copyright (C) Sven Rosvall (sven@rosvall.ie)
2// This file is part of VLCB-Arduino project on https://github.com/SvenRosvall/VLCB-Arduino
3// Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
4// The full licence can be found at: http://creativecommons.org/licenses/by-nc-sa/4.0
5//
6//
7
8
9#pragma once
10
11#include "Service.h"
12
13namespace VLCB
14{
15
26{
27public:
28 VlcbServiceTypes getServiceID() const override { return static_cast<VlcbServiceTypes>(240); }
29 byte getServiceVersionID() const override { return 1; }
30
31 void reportDiagnostics(byte serviceIndex, byte diagnosticsCode) override;
32 virtual int getDiagnosticCount() override;
33};
34
35}
A dummy service that reports internal metrics as service diagnostics.
Definition InternalDiagnosticsService.h:26
void reportDiagnostics(byte serviceIndex, byte diagnosticsCode) override
virtual int getDiagnosticCount() override
byte getServiceVersionID() const override
Definition InternalDiagnosticsService.h:29
VlcbServiceTypes getServiceID() const override
Definition InternalDiagnosticsService.h:28
Interface base class for all VLCB services.
Definition Service.h:25
Definition VLCB.h:50
VlcbServiceTypes
Definition vlcbdefs.hpp:487