<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Giannis,<div><br></div><div>As the DIAG port is just a tap (not a separate port), I don't think you will have much success just spoofing commands into it.</div><div><br></div><div>Do you need the modem? If not, you can wire up instead of the modem and adjust firmware as necessary.</div><div><br></div><div>Regard, Mark.</div><div><br><div><div>On 20 Jun, 2013, at 9:42 PM, Giannis Bakas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thank you Mark for your quick reply,<br>
<br>
I have made a connection (SPP) with a bluetooth connected to my PC
from parrot and seems <br>
to work fine.<br>
<br>
My question was if DIAG port would work with a bluetooth serial
adapter. And working on DIAG<br>
MODE I can send SMS or MSG commands to get data like SOC, speed,
gps position.<br>
<br>
Cheers Giannis<br>
<br>
On 20/6/2013 11:56, Mark Webb-Johnson wrote:<br>
</div>
<blockquote cite="mid:3DA03B62-ADE4-429E-82C0-B347E37AEE9A@webb-johnson.net" type="cite">Giannis,
<div><br>
</div>
<div>You are having the same problem as me - we both have Parrots
in our cars :-)</div>
<div><br>
</div>
<div>Work I have done on this so far:</div>
<div><br>
</div>
<div>
<ul class="MailOutline">
<li>I investigated USB serial adaptors to the Parrot. The FTDI
driver is in the Parrot Android, but there are some problems
with loading it (you can hack it from the adb shell, or from
an App with root access). Parrot themselves say it is not
yet supported, but planned for future.<br>
<br>
</li>
<li>I investigated bluetooth. Prior to the latest firmware it
didn't work at all. With the latest 2.1.1 firmware I have
had more success. I managed to get bluetooth to my Pebble
smartwatch working (which means I can control Parrot volume
from my wrist), but so far I haven't managed to get
bluetooth SPP working. It should work, so maybe just me,<br>
<br>
</li>
<li>From the OVMS hardware point of view, things are not so
easy. The PIC18F is very limited and it is hard to get extra
connections. It should be possible to disconnect the
connection to the modem and instead go to a bluetooth module
on that single ASYNC port (both 5v and 3.3v lines are
available on the OVMS v2 board). I have heard, but not
tried, that it might be possible to get a software async
working on one of the free I/O pins - low baud rate with no
flow control.<br>
<br>
</li>
<li>I am working on more sophisticated hardware with 6 ASYNC
ports and 2 CAN buses! But, the bluetooth situation is a
mess at the moment (Android supports bluetooth 2.2 but not
BLE 4.0, and iPhone supports BLE 4.0 but not bluetooth 2.2 -
good grief).</li>
</ul>
</div>
<div><br>
</div>
<div>If you don't need the modem, the easiest would be to try to
cut the RX+TX lines from the PIC to the MODEM and use them for
your bluetooth module. The comms is at 9600 baud.</div>
<div><br>
</div>
<div>Regards, Mark.</div>
<div><br>
<div>
<div>On 20 Jun, 2013, at 3:41 PM, Giannis Bakas wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Hi all,<br>
<br>
is it possible to use a serial to bluetooth dongle on the
DIAG port of the module<br>
to get data via bluetooth, requesting data with "MSG
commands"? What I want<br>
to do is to use OVMS like a bridge between my car and my
parrot device (Android device)<br>
in order to visualize the data I get to the screen. I want
to avoid the SIM card and to get<br>
data from the server.<br>
<br>
Best regards,<br>
Giannis<br>
<br>
_______________________________________________<br>
OvmsDev mailing list<br>
<a moz-do-not-send="true" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></body></html>