Not sure about the Speed camera using RR info, need to take a close look at it. Only need Lat/Long and current speed and if i can get that, it should be OK.
can u share the latest ibuscomm source code, i would like to look in to it, my intrest is to look for implimenting the CDC emu. procedure and the AUX mode trigering the rear cam, for now the ibusscomm doesnt impliment these procedures or it have them not very well tested.
Please can someone tell me the iBus message format for the PDC command? (0x60)
i.e 60 0E 3F A0 08 FF FF FF FF FF FF FF FF E6 02 1D
I am in the progress of creating a Can-Bus to iBus translator using a little Arduino micro processor. The motivation behind this is I have changed from an E46 BMW to an E84 BMW and hence gone from ibus to CAN Bus, I really needed to get steering wheel buttons back before I end up crashing!
So far I can read back CAN Bus data for Speed, Steering wheel buttons, RPM, temperature etc and translate them into IBus style commands that IbusRR and IBusCommunicatoRR understand.
I am stumped with the PDC command at the moment as I can find no documentation on the command format and don't know what IBusCommunicatoRR expects
Ultimately I would be better off creating my own plugin for RR as CAN Bus has a lot more engine and sensor data available than iBus. But, I'm not a software programmer and I am still trying to get my head around COM calls and all that.
It's been a while since I contacted you about ibuscommunicatoRR. I also replied a copple of time to the thread. I was wondering if you could tell me which codes you are using to get the communicatoRR to automatically switch skin to the PDC.skin. Or if it's possible to leaf the pdc distance informatie out of the IbuscommunicatoRR, because when I run IbuscommunicatoRR the scrolling music text doesn't run smoothly...and maybe when I leaf the PDC distance reading out this will help?
Hope you can help me.
Sorry for the late reply, havn't been here for a while
"FF" is where the value from the sensors are and here's the code.
Code:Public Function SendToRRPDC(PDCIbusmsg As String, iniUnit As String) As Boolean Dim i As Byte Dim SensorRead As Integer Dim RRSend As String Dim PDCChar As String Dim ResetTimer As Boolean SendToRRPDC = False For i = 6 To 13 SensorRead = Asc(Mid$(PDCIbusmsg, i, 1)) If SensorRead < 200 Then PDCChar = PDCDistance(SensorRead, iniUnit) SendToRRPDC = True Else PDCChar = "---" End If Select Case i Case 6 RRSDK.SetUserVar "IBusCommunicatoRR_PDCRLS", PDCChar int_pdcrls = SensorRead Case 7 RRSDK.SetUserVar "IBusCommunicatoRR_PDCRRS", PDCChar int_pdcrrs = SensorRead Case 8 RRSDK.SetUserVar "IBusCommunicatoRR_PDCRLC", PDCChar int_pdcrlc = SensorRead Case 9 RRSDK.SetUserVar "IBusCommunicatoRR_PDCRRC", PDCChar int_pdcrrc = SensorRead Case 10 RRSDK.SetUserVar "IBusCommunicatoRR_PDCFLS", PDCChar int_pdcfls = SensorRead Case 11 RRSDK.SetUserVar "IBusCommunicatoRR_PDCFRS", PDCChar int_pdcfrs = SensorRead Case 12 RRSDK.SetUserVar "IBusCommunicatoRR_PDCFLC", PDCChar int_pdcflc = SensorRead Case 13 RRSDK.SetUserVar "IBusCommunicatoRR_PDCFRC", PDCChar int_pdcfrc = SensorRead End Select Next i End Function Private Function PDCDistance(Distance As Integer, Unit As String) As String Select Case Unit Case "meter" PDCDistance = Format(Distance) Case "inch" PDCDistance = Format(Distance * 0.393700787, "0.0") Case "feet" PDCDistance = Format(Distance * 0.032808399, "0.00") End Select End Function
I don't have ibuscomm source, but it's availible here http://http://sourceforge.net/projec...iles/IBUSCOMM/
If you mean IbuscommunicatoRR, then it's not availible for now.
Many thanks for the PDC command info,
for the first time I've tested this plugin on my bimmer (e46). The PI well read the navigation informations, the rpm but I don't have informations for the speed, the consumption... I've tested with your skin and mine but same result.
Do you think there are differents Ibus codes to return informations. Could you get the ibus codes used in your plugin for all yours plugin variables as RRConsumption...
If in the ini file I put my ibus code and use setVar as RRcommand to set yours variables plugin, do you think that it's a solution?