View Single Post
Old 07-19-2007, 05:32 PM   #4
Marc-X
Newbie
 
Join Date: Apr 2005
Posts: 9
Writing Speedlimits to the IKE on E46 (setting OBC speedlimit)

Hello World!

I have now tried to write speeds to the IKE directly. I have NOT succeded...
BUT... I have done something that's even BETTER !!! (for my goal that is...)

I can now manipulate the OBC directly to SET a speedlimit and ACTIVATE this limit if not activated before.

This means that I can, when approaching a GATSO, set the current speedlimit (stored in GATSO definition) to my OBC, and have it warn me with a PING and the current speed in the display in addition to the distance to the GATSO (from GATSOHunter / RR or similar) which can be written directly to the display. This means that you only have to send the speedlimit ONCE, send the distance continously and switch of the OBC speedlimit when GATSO Alert is canceled.

My goal now is:

FLASHING ARROWS IN CLUSTER whenever a GATSO is in close PROXIMITY -> OBC kicks in , Warning ping IF I'm over the speedlimit, -> the distance to the GATSO is diplayed and updated in the IKE.

Nice?

OK, now the codes

(REMEMBER, THESE CODES ARE FOR AN E46. THE CODES ARE TRIED ON MY 330d ONLY! EVERY OTHER CAR MIGHT DIE OR GET SOME KIND OF NASTY DISEASE IF THESE CODES ARE TRIED!!!)

Following example codes should be pretty easy to understand:

80 09 FF 24 09 00 32 31 30 20 cs SET SPEEDLIMIT TO "210"
80 09 FF 24 09 00 20 39 30 20 cs SET SPEEDLIMIT TO "90"
80 09 FF 24 09 00 20 35 30 20 cs SET SPEEDLIMIT TO "50"
80 09 FF 24 09 00 20 31 39 20 cs SET SPEEDLIMIT TO "19"
80 09 FF 24 09 00 20 31 30 20 cs SET SPEEDLIMIT TO "10"
80 09 FF 24 09 00 20 20 36 20 cs SET SPEEDLIMIT TO "6"
-----------------| speed |-----

FOURTH, FIFTH and SIXTH _DATA_ byte holds the speed.
30h = 0, 31h = 1, 32h = 2, 39h = 9 etc
20h = BLANK


3B 05 80 41 09 04 cs ACTIVATE SPEEDLIMIT in OBC
3B 05 80 41 09 08 cs DE-ACTIVITE SPEELIMIT in OBC



Kind regards

Marc in Tromsoe

Last edited by Marc-X; 07-20-2007 at 05:52 AM.
Marc-X is offline   Reply With Quote