13#ifndef __PACKET_UDS_H__
14#define __PACKET_UDS_H__
16#define UDS_SID_MASK 0xBF
17#define UDS_REPLY_MASK 0x40
19#define OBD_SERVICES_0x01 0x01
20#define OBD_SERVICES_0x02 0x02
21#define OBD_SERVICES_0x03 0x03
22#define OBD_SERVICES_0x04 0x04
23#define OBD_SERVICES_0x05 0x05
24#define OBD_SERVICES_0x06 0x06
25#define OBD_SERVICES_0x07 0x07
26#define OBD_SERVICES_0x08 0x08
27#define OBD_SERVICES_0x09 0x09
28#define OBD_SERVICES_0x0A 0x0A
29#define OBD_SERVICES_0x0B 0x0B
30#define OBD_SERVICES_0x0C 0x0C
31#define OBD_SERVICES_0x0D 0x0D
32#define OBD_SERVICES_0x0E 0x0E
33#define OBD_SERVICES_0x0F 0x0F
35#define UDS_SERVICES_MIN 0x10
36#define UDS_SERVICES_DSC 0x10
37#define UDS_SERVICES_ER 0x11
38#define UDS_SERVICES_CDTCI 0x14
39#define UDS_SERVICES_RDTCI 0x19
40#define UDS_SERVICES_RDBI 0x22
41#define UDS_SERVICES_RMBA 0x23
42#define UDS_SERVICES_RSDBI 0x24
43#define UDS_SERVICES_SA 0x27
44#define UDS_SERVICES_CC 0x28
45#define UDS_SERVICES_ARS 0x29
46#define UDS_SERVICES_RDBPI 0x2A
47#define UDS_SERVICES_DDDI 0x2C
48#define UDS_SERVICES_WDBI 0x2E
49#define UDS_SERVICES_IOCBI 0x2F
50#define UDS_SERVICES_RC 0x31
51#define UDS_SERVICES_RD 0x34
52#define UDS_SERVICES_RU 0x35
53#define UDS_SERVICES_TD 0x36
54#define UDS_SERVICES_RTE 0x37
55#define UDS_SERVICES_RFT 0x38
56#define UDS_SERVICES_WMBA 0x3D
57#define UDS_SERVICES_TP 0x3E
58#define UDS_SERVICES_ERR 0x3F
59#define UDS_SERVICES_SDT 0x84
60#define UDS_SERVICES_CDTCS 0x85
61#define UDS_SERVICES_ROE 0x86
62#define UDS_SERVICES_LC 0x87
Definition packet-uds.h:64