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 ;)

Revision:
8:bc97fa5d306e
Parent:
7:5ec65e6e8095
--- a/GMLAN.h	Sun Apr 07 18:20:01 2013 +0000
+++ b/GMLAN.h	Mon Apr 08 10:29:31 2013 +0000
@@ -105,12 +105,12 @@
         int id, request_state;
         int tx_frame_counter, tx_bytes;
         int rx_frame_counter, rx_bytes;
-        bool await_response;
+        bool await_response, handle_flowcontrol;
         char frame_padding [8];
     
     public:
         // (Main function) Create message and send it
-        GMLAN_11Bit_Request(int _id, vector<char> _request, bool _await_response = true);
+        GMLAN_11Bit_Request(int _id, vector<char> _request, bool _await_response = true, bool _handle_flowcontrol = true);
         
         // Process each frame to transmit and flow control frame if needed
         CANMessage getNextFrame(void);