Libraries to support working with GMLAN - General Motors CAN BUS network in most of their vehicles between 2007-present day. Please note this is a work in progress and not guaranteed to be correct, use at your own risk! Read commit logs / subscribe to see what has been added, it's a work in progress after all ;)
Diff: GMLAN_11bit.h
- Revision:
- 4:486fec88517e
- Child:
- 6:32592425aa57
diff -r 09fdfec053cd -r 486fec88517e GMLAN_11bit.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GMLAN_11bit.h Wed Mar 13 14:50:15 2013 +0000 @@ -0,0 +1,52 @@ +/* +GMLAN_11bit.h - 11-Bit specific header file for GMLAN Library + +GMLAN is a Controller Area Network Bus used in General Motors vehicles from +roughly 2007-onwards. Its purpose is to allow various Electronic Control Units +(aka ECUs) within a modern vehicle to share information and enact procedures. + +An example of this would be communication between the HU (Head unit) and the +DIC (Dashboard Information Cluster), when you adjust the volume up / down, this +is reported to the cluster to be displayed. + +It is the function of this library to "crack open" this world to allow anyone +with only as little as a few hours of C++ programming under their belt to get +started in what can sometimes seem a daunting world. + +Jason Gaunt, 18th Feb 2013 +*/ + +#ifndef GMLAN_11BIT_H +#define GMLAN_11BIT_H + +#define GMLAN_INITIAL_WAKE_UP_REQUEST 0x100 +#define GMLAN_REQUEST_TO_ALL_NODES 0x101 +#define GMLAN_DIAGNOSTIC_REQUEST 0x102 +#define GMLAN_TO_RESERVED_REQUEST 0x240 +#define GMLAN_TO_BCM 0x241 +#define GMLAN_TO_TDM 0x242 +#define GMLAN_TO_EBCM 0x243 +#define GMLAN_TO_EHU 0x244 +#define GMLAN_TO_SIC 0x246 +#define GMLAN_TO_SDC 0x247 +#define GMLAN_TO_IPC 0x24C +#define GMLAN_TO_HVAC 0x251 +#define GMLAN_TO_RFA 0x258 +#define GMLAN_SF_FROM_RESERVED_RESPONSE 0x540 +#define GMLAN_MF_FROM_RESERVED_RESPONSE 0x640 +#define GMLAN_MF_FROM_BCM 0x641 +#define GMLAN_MF_FROM_TDM 0x642 +#define GMLAN_MF_FROM_EBCM 0x643 +#define GMLAN_MF_FROM_EHU 0x644 +#define GMLAN_MF_FROM_SIC 0x646 +#define GMLAN_MF_FROM_SDC 0x647 +#define GMLAN_MF_FROM_IPC 0x64C +#define GMLAN_MF_FROM_HVAC 0x651 +#define GMLAN_MF_FROM_RFA 0x658 +#define GMLAN_EXTERNAL_OBD_TEST_EQUIPMENT_TO_NON_SPECIFIC_OBD_COMPLIANT_ECUS 0x7DF +#define GMLAN_EXTERNAL_OBD_TEST_EQUIPMENT_TO_ECM 0x7E0 +#define GMLAN_EXTERNAL_OBD_TEST_EQUIPMENT_TO_SPECIFIC_OBD_COMPLIANT_ECU 0x7E1 +#define GMLAN_ECM_TO_EXTERNAL_OBD_TEST_EQUIPMENT 0x7E8 +#define GMLAN_SPECIFIC_OBD_COMPLIANT_ECU_TO_EXTERNAL_OBD_TEST_EQUIPMENT 0x7E9 + +#endif \ No newline at end of file