Simulated the CD changer of a Saab to implement a bluetooth connection to the car stereo. Control of playback device (phone) with steering wheel buttons. Needs a RN52 bluetooth transciever and a CAN transiever. So far only audio playback and control via steering wheel buttons implemented. Hands free calling planned.

Dependencies:   mbed

Revision:
12:4194c47ca60b
Parent:
11:74844f6ca8cf
Child:
13:968af0520530
--- a/main.cpp	Thu Jan 28 21:22:08 2016 +0000
+++ b/main.cpp	Fri Jan 29 20:27:37 2016 +0000
@@ -139,7 +139,8 @@
                 printf("duration:  %i\r\n", res.duration);
                 printf("track_count:  %i\r\n", res.track_count);
                 printf("track_number:  %i\r\n", res.track_number);
-                cdc.display(res.title);
+                //cdc.display(res.title);
+                cdc.display("BT SPELAR");
                 cdc.set_track((char)res.track_number);
                 break;
             case RN52_OTHER_EVENT: //no specific event occured, check connection status