Page 1 of 1

msDroid

Posted: Tue Dec 30, 2014 3:17 pm
by AndreyB
What do we know about msDroid?

There is http://www.msdroid.com/ which has MS all over it but not much info like the license or source code link, if this software is open source. Does anyone know anything about msDroid?

Re: msDroid

Posted: Tue Dec 30, 2014 5:13 pm
by 3400tZ
It is not open source. If you have any specific questions about the software, I should be able to answer (I do have source code access) so I should be able to help. Just hit me up on Skype.

Re: msDroid

Posted: Tue Dec 30, 2014 5:40 pm
by AndreyB
Well, it's a show stopper I guess.

Image

update: there is also http://dtadroid.com/

Re: msDroid

Posted: Tue Dec 30, 2014 6:11 pm
by 3400tZ
The bottom line of that is that we don't want to promote counterfeit MS (anything that is against the MS licensing). Since rusEFI doesn't fall into that category, I don't see any problem to support it.

DTAdroid is pretty much just a rebranded MSDroid (95% same code) to be used with DTA ECUs.

Re: msDroid

Posted: Tue Dec 30, 2014 6:15 pm
by puff
you managed to connect? bluetooth or usb? how do i enable otg or whatever is needed? (my android recognizes usb drives, so i guess otg works fine)

Re: msDroid

Posted: Tue Dec 30, 2014 6:40 pm
by rus084
this programm support only ftdi usb devices?

Re: msDroid

Posted: Tue Dec 30, 2014 7:06 pm
by 3400tZ
USB FTDI, USB Prolific and Bluetooth

Re: msDroid

Posted: Tue Dec 30, 2014 7:13 pm
by puff
that's a pity. what bluetooth data rate is required? (we have to set up speed of tuner studio port and the bluetoot module)

Re: msDroid

Posted: Tue Dec 30, 2014 7:46 pm
by 3400tZ
Can you elaborate on why it's a pitty please... The app doesn't care about the bluetooth data rate, that's between the bluetooth adapter and the ECU.

Re: msDroid

Posted: Tue Dec 30, 2014 8:05 pm
by puff
Can you elaborate on why it's a pitty please
i presume the usb used in discovery board is neither prolific nor ftdi. It's a ChibiOS/RT Virtual COM Port (PID:0x570, VID:0483 - STMicroelectronics), and that's what is a pity.
For some reason I couldn't connect to it via bluetooth either (got the log file). I added rusefi.ini to the corresponding folder, but it didn't help… Besides, it seems my screen is too small: when I open the can pass through settings - they are never saved, probably, there should be a 'save config' button but I don't see it.

Re: msDroid

Posted: Tue Dec 30, 2014 10:10 pm
by kb1gtt
FTDI makes a chip specifically for androids http://www.ftdichip.com/Android.htm

The data from that FTDI chip is either TTL or typical 232.

Re: msDroid

Posted: Tue Dec 30, 2014 11:24 pm
by 3400tZ
From my quick research, sounds like we're dealing with a CDC/ACM USB device. Support for that would need to be added to the app. Possibly this would work?: https://github.com/ksksue/PhysicaloidLibrary/blob/master/PhysicaloidLibrary/src/com/physicaloid/lib/usb/driver/uart/UartCdcAcm.java

Re: msDroid

Posted: Tue Dec 30, 2014 11:56 pm
by puff
I am pretty much sure this should help. I'd like to be among the first beta-testers :D If you add this support I wouldn't need to mess with soldering ftdi chip on frankenstein ;)
Bluetooth is a separate problem. What is strange is I am able to pass communication test easily with tuner studio, but it does not work with msdroid. Another strange observation is when in bluetooth mode my tuner studio works sort of a slower than with direct usb connection working at the same speed. As Andrey says, in usb connection baud rate doesn't make any sense, the board works at the maximum available speed, and this could explain everything. Or, when in Bluetooth mode it might be overflooded with errors, which makes bluetooth connection work slower :?:

Re: msDroid

Posted: Tue Jan 27, 2015 5:15 pm
by rus084
why msDroid send "Q" and "S" symbols when in rusefi.ini defined "H" ?

I downloaded rusefi.ini and moved it to msdroid ini files directory . connected power to bluetooth , connected tx line to logic analyzer . Started msdroid , pushed "connect to ecu" , and started recording on the logic analyzer programm .

In msdroid logs i saw rusefi.ini file , but it doesn't use definitions from rusefi.ini

Re: msDroid

Posted: Wed Jan 28, 2015 2:19 am
by AndreyB

Re: msDroid

Posted: Sun Feb 01, 2015 3:40 pm
by rus084
[video][/video]
it's works !

but having some problem :

Code: Select all

INI File errors
Line 410 : rpm : Got too many parameters for scalar output channel "rpm", going to ignore some
Line 423 : AFRactual : Got too many parameters for scalar output channel "AFRactual", going to ignore some
Line 425 : VBatt : Got too many parameters for scalar output channel "VBatt", going to ignore some
gauges from this error doesn't works .

Re: msDroid

Posted: Sun Feb 01, 2015 4:55 pm
by rus084
update rusefi.ini from 28 january to current .
added 2 new errors and msdroid doesn't connect to rusefi :

Code: Select all

line 154 : veLoadBins : incorrect number of arguments for array constant "veLoadBins", excepted 11 or 12 but got 10
line 156 : afrLoadBins : incorrect number of arguments for array constant "afrLoadBins", excepted 11 or 12 but got 10

Re: msDroid

Posted: Sun Feb 01, 2015 5:04 pm
by kb1gtt
Was that a bluetooth module? If so was it a ITEAD_HC-05?

Re: msDroid

Posted: Sun Feb 01, 2015 5:07 pm
by rus084
it was HC-06 bluetooth module

Re: msDroid

Posted: Sun Mar 15, 2015 12:50 am
by AndreyB
If only we had a chance to troubleshoot this with the *droid developers :(

Re: msDroid

Posted: Fri Jun 19, 2015 11:44 pm
by AndreyB

Re: msDroid

Posted: Thu Jan 05, 2017 9:34 am
by rus084
Tryed to connect it again
Used last version of rusefi simulator and rusefi.ini . Connected via wifi
But something went wrong
Image

Re: msDroid

Posted: Thu Jan 05, 2017 9:50 am
by AndreyB
Такое ощущение, что он не нашёл rusefi.ini на телефоне? или нашёл, но ему не понравилось?

Re: msDroid

Posted: Thu Jan 05, 2017 9:54 am
by puff
ещё бы знать, как туда этот файл помещать...
с ДР!

Re: msDroid

Posted: Thu Jan 05, 2017 10:36 am
by rus084
файл то нашел , закинул его в /sdcard/msdroid/ini
когда в ini меняю signature на ту что выдает сообщение ошибки , в следущий раз в сообщении она выводится уже не 2 а 3 раза


спасибо)

Re: msDroid

Posted: Wed Aug 30, 2017 11:55 pm
by AndreyB
@ you were asking for the status of msDroid. The status is unclear - I have no idea why does not not work and if the problem is anywhere on the rusEfi firmware side or on the msDroid side. Unfortunatelly msDroid is not open source so we really depend on the author :(

Re: msDroid

Posted: Thu Aug 31, 2017 3:17 pm
by darxfame
@russian ok. I heard you. I make connect with autor and ask him manual to connect rusefi to MSDroid