BOROSOFTWAREAll work →
scantool/diag_l7_kwp71.h 48 lines
1#ifndef _DIAG_L7_KWP71_H_
2#define _DIAG_L7_KWP71_H_
3/*
4 * freediag - Vehicle Diagnostic Utility
5 *
6 *
7 * Copyright (C) 2017 Adam Goldman
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 *************************************************************************
24 *
25 * Diag
26 *
27 * KWP71 application layer
28 *
29 */
30
31#if defined(__cplusplus)
32extern "C" {
33#endif
34
35#include "diag.h"
36#include "diag_l2.h"
37#include "diag_l7.h"
38
39int diag_l7_kwp71_ping(struct diag_l2_conn *d_l2_conn);
40int diag_l7_kwp71_read(struct diag_l2_conn *d_l2_conn, enum l7_namespace ns, uint16_t addr, int buflen, uint8_t *out);
41int diag_l7_kwp71_dtclist(struct diag_l2_conn *d_l2_conn, int buflen, uint8_t *out);
42int diag_l7_kwp71_cleardtc(struct diag_l2_conn *d_l2_conn);
43
44#if defined(__cplusplus)
45}
46#endif
47#endif /* _DIAG_L7_KWP71_H_ */
48