Re: 6A1/6A2
Posted by
Karlis on
Feb 03, 2016; 5:33am
URL: http://bluesaab-forum.90.s1.nabble.com/6A1-6A2-tp15p178.html
So, sitrep. I integrated a timer library in the code, that performs actions on timely base (uploaded to Github). Sort of asynchronous execution of the code. I've integrated it with the 3C8 message that needs to be sent no less than once every 1000ms and in replies to 6A1. Now every message (out of batch of four) is sent with a 100ms (or whatever is defined) interval. I believe the interval can be increased but I'm sticking to 100ms for now, just to avoid some mess ups.
I've tested this code on my '01 9-5 and it seems to be working. Not sure about DTE values yet, but will keep testing. As of now it is a
total unknown how this would behave on other cars. If you feel like being ready for some adventures, give it a try :).
One thing I've noticed is that once IHU is pushed into CDC mode, the SID goes out within first five or so seconds taking steering wheel controls with it. Everything else works. Mind you, this only happens with the engine off. I've seen this happening before so am not quite sure wether this is related to the latest code changes. I believe this is due to the fact that SID is not happy with what IHU is currently sending to it, which is "CD1 PLAY" message that lacks additional info (disc number, 'mm:ss' info, etc). Just a wild guess.
2001 9-5 SE V6; 2006 9-5 Wagon; iOS; BlueSaab version = "latest and greatest" :)