BOROSOFTWAREAll work →
scantool/diag_mb1.h 46 lines
1#ifndef _DIAG_MB1_H_
2#define _DIAG_MB1_H_
3
4/*
5 * freediag - Vehicle Diagnostic Utility
6 *
7 *
8 * Copyright (C) 2001 Richard Almeida & Ibex Ltd ([email protected])
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 *
24 *************************************************************************
25 *
26 * Library user header file
27 */
28
29#if defined(__cplusplus)
30extern "C" {
31#endif
32
33#define DIAG_MB1_GETDTC 0x05 /* Get Diagnostic Trouble Codes */
34#define DIAG_MB1_GETID 0x0f /* Ask for controller/hw/sw version */
35#define DIAG_MB1_UNKNOWN1 0x10 /* Dunno yet */
36#define DIAG_MB1_UNKNOWN2 0x30 /* Dunno yet */
37#define DIAG_MB1_UNKNOWN3 0x38 /* Dunno yet */
38#define DIAG_MB1_IDLE 0x50 /* Idle message */
39
40#define DIAG_MB1_ANSWER_MASK 0x80 /* Bit set for answers */
41
42#if defined(__cplusplus)
43}
44#endif
45#endif /* _DIAG_MB1_H_ */
46