VLCB
Loading...
Searching...
No Matches
CanServiceWithDiagnostics.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#pragma once
7
8#include "CanService.h"
9
10namespace VLCB
11{
12
14{
15public:
17
18 virtual void reportDiagnostics(byte serviceIndex, byte diagnosticsCode) override;
19 virtual int getDiagnosticCount() override;
20};
21
22} // VLCB
virtual int getDiagnosticCount() override
report how many diagnostics this service supports.
Definition CanServiceWithDiagnostics.cpp:67
CanServiceWithDiagnostics(CanTransport *tpt)
Definition CanServiceWithDiagnostics.h:16
virtual void reportDiagnostics(byte serviceIndex, byte diagnosticsCode) override
Report a given diagnostic value.
Definition CanServiceWithDiagnostics.cpp:13
CanService(CanTransport *tpt)
Definition CanService.h:34
Interface base class for CAN transport implementations.
Definition CanTransport.h:35
Definition AbstractEventTeachingService.cpp:13