The plugin is designed to integrate Riderunner into OEM equipment on cars using Ibus (BMW, Mini, Range Rover).
With this plugin you are able to control RR with the original steeringwheel/board monitor buttons.
You can also send ibusmessages from RR with the sendtoibus and sendtodisplay.

Navi:
$IBusCommunicatoRR_LATITUDE$ : Current Latitude in Degrees, Minutes and Seconds
$IBusCommunicatoRR_LONGITUDE$ : Current Longitude in Degrees, Minutes and Seconds
$IBusCommunicatoRR_NAVCITY$ : Current City your on
$IBusCommunicatoRR_NAVSTREET$ : Current street or road
$IBusCommunicatoRR_ALTITUDE$ : Current Altitude in meter
$IBusCommunicatoRR_DISTANCE$ : Distance to destination

Dec2 2010 Updated with new skin command: "IBusCommunicatoRR_SyncTime : Set OBC time with current PC time"
Dec4 2010 Updated with new variable: "$IBusCommunicatoRR_CONSUMPTION2$ : Current AVG fuel consumption2"
June6 2011 Update:
RR Dec 2010 or newer are now required (Using "GetUserVar" for all variables now)
All features asked for are now added.
Added SW Contention mode for those not using Melexis based interface (Resler)
Added PDCSkin settings in .ini to allow for PDC to automatically switch to PDC.skin when active
Added Variables - Average Speed, Odometer, Altitude, CD number and track number in changer
Added Indicators - CD changer playing and GPS signal locked
Added Command - Sync Date

First: A few question regarding IbusCommunicatoRR compability with iBusRR have been raised and I try to answer them here.
1) If iBusRR works for you there is no need to change unless you wan't any of the new functions.
2) IbusCommunicatoRR can do everything iBusRR can, it just do it differently.

Q) iBusRR can send message to open/close windows, control light, ....
A) You can send any message you want directly from skin file (you do not need to define the message to send in a .ini file)
Example to show the difference when sending a "open trunk" message:
- IbusRR skin file: "SENDMSG;IBusRR;OPEN_TRUNK"
- Same function in a IBusCommunicatoRR skin file:"IBusCommunicatoRR;sendtoibus;3F 05 00 0C 95 01 A2"

Q) iBusRR can execute different commands on different screens
A) Function are already supported in RR by ExecTBL, no need for plugin to do the same.

Q) How does "RRCommand" in .ini work
A) RRCommand is the command to send to RR, this is transparent so use skin commands from the RR documentation.
Any command valid to RR can be used. Example:
- Multiple commands using the || separator "Vol+||TALK;Volume up!"
- or set indicator by "SETIND;!MYINDICATOR;ON(OFF)"

Q) How does "Release ID" in .ini works
A) Almost all BMB (Board Monitor Buttons) have different code for press, hold and release. Release ID just hold the RRCommand until a "Release ID" is found.
Normally this is used with the "PressOrHoldID" to get dual functions from same button.
Example: Your steeringwheel previous arrow are set up as below.
- When press the plugin detect the ibus code for press and RRCommand are "RRPREV", since the ReleaseID are set 132 it does not send it to RR.
Release your finger from BMB and plugin will detect the release code, plugin will detect it and send the "RRPREV".
- Or Press the finger again and plugin will detect press code. ReleaseId is set up it so does not send it to RR, exactly same as previous example.
This time you do not release your finger, you hold it until BMB detects you holding the button and send an ibus code for hold.
Plugin detects a STW_PREV_HOLD and the pressorholdID function make it cancel the pending STW_PREV_PRES command and send "STARTFRWD" to RR.
Release your finger and plugin will send "STOPFRWD" to RR.

In short, press the button < 1sek and RR will jump to previous track. Hold same button for > 1sek and RR will start to rewind the song until you release the button.

Skin example based on Carwings:
Indicators for GPS signal locked and CD changer active
Click on "Time" will set OBC clock to current PC time
Click on "Date" will set OBC date to current PC date
Click on "Fuel Consump1" will send a request to update and hold will send a reset
Click on "Fuel Consump2" will send a request to update and hold will send a reset
Click on "Avg Speed" will send a request to update and hold will send a reset
Click on "Driver Log On" to enable Driver Log
Click on "Driver Log Off" to disable Driver Log

And Parking sensor skin to:

And Pop_up screen when speed camera are close

12-01-2010, 10:29 AM

Enforcer

Interesting.

One thing I would suggest is that you change your variable names and sliders to have a unique prefix that identifies them with your plugin.

Just in case they conflict with something else.

12-02-2010, 04:49 AM

shaken94

Awesome :boris:

I think a command to display a skin for the rearview camera (connected to the PC) when the reverse gear is engaged is a plus.
Such commands can, reset the consumption fuel, set the time and date, set a speed for the regulator would be greatly appreciated.

Thank you for your work.
Sorry for my English (if you do not understand something please let me know).

12-02-2010, 06:43 AM

JanneH0

Hi,

Quote:

I think a command to display a skin for the rearview camera (connected to the PC) when the reverse gear is engaged is a plus.

You can do that already, just create a new ID# in .ini file and the RRCommand to load the skin file.

Such commands can, reset the consumption fuel, set the time and date, set a speed for the regulator would be greatly appreciated.

Not sure about the time, need to think about it. For the other It's already there.
Just make a new button in your skin and set the button command to " ibuscommunicatorr;sendtoibus;YourCodeHere"

Example to reset fuel consumption:
ibuscommunicatorr;sendtoibus;3B 05 80 40 04 00 FA (Don't know if this is the correct code, but you get the point)

12-02-2010, 06:54 AM

shaken94

Ok thank you for this information.

For setting the date and time, I think it's best to do as the program ibusrr, hardcoded in the code.
It could also be interesting to resume the function from ibusrr for gamma.
All this with the setting in the .ini

; ---------------------------------------------------------------------------------------------------
;
; General Plugin Setting
;
; SyncTime: Option to set IKE time with the PC Clock each time iBusRR is started. Default is 0
; SetGamma: Option to send NIGHTGAMMA to RR when the lights are turned on and DAYGAMMA when they're turned off
; ---------------------------------------------------------------------------------------------------

[Settings]

SyncTime=1
SetGamma=1

12-02-2010, 11:21 AM

JanneH0

Hi,

Quote:

For setting the date and time, I think it's best to do as the program ibusrr, hardcoded in the code.

Set the OBC time is added as a skin command "IBusCommunicatoRR_SyncTime"
This way you can do it either manually from a button in the skin, or add it in "onskinstart" in the exectbl file to sync each time it start.

Quote:

It could also be interesting to resume the function from ibusrr for gamma.
All this with the setting in the .ini

; ---------------------------------------------------------------------------------------------------
;
; General Plugin Setting
;
; SyncTime: Option to set IKE time with the PC Clock each time iBusRR is started. Default is 0
; SetGamma: Option to send NIGHTGAMMA to RR when the lights are turned on and DAYGAMMA when they're turned off

I don't want to add things that can be solved outside the plugin.
Even if most of the codes for Ibus are the same, sometimes there are differencies depending on models, production year and country specific not forget Mini and Land Rover.
I like to be as flexible as possible to all kind of models so adding things to the plugin is the last option.

For this reason SetGamma will not be added, sorry.
This can be solved by adding 2 new entries in the ini file. Lights on ->RRCommand="NIGHTGAMMA" and Lights off ->RRCommand="DAYGAMMA".
Or if you want to control it manually just use any spare button from BMB and set RRCommand="GAMMA".

If you have the codes for it I can then add it to the .ini file

12-02-2010, 06:17 PM

shaken94

that's responsiveness!

In my bimmer, I have 2 fuel consumption. Is it possible to have the second consumption with a variable like $IBusCommunicatoRR_CONSUMPTION2$.

Otherwise, in IbusRR there is a variable $VIN$, I do not know what it is but maybe peoples serves it.

Again thank you for this plugin.

12-03-2010, 11:46 AM

JanneH0

Quote:

In my bimmer, I have 2 fuel consumption. Is it possible to have the second consumption with a variable like $IBusCommunicatoRR_CONSUMPTION2$.

$IBusCommunicatoRR_CONSUMPTION2$ added.

Quote:

Otherwise, in IbusRR there is a variable $VIN$, I do not know what it is but maybe peoples serves it.