<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Mark,<br>
<br>
I read in the OVMS_Development.pdf (git hub) this:<br>
<br>
So you've got about 20 seconds after powering the module / reset
to send the<br>
magic word. You may send the word as often as you want, the module
will<br>
normally respond to it after the first modem init (i.e. after
"Call Ready" / "GPS<br>
Ready"). If it does not, reboot.<br>
<br>
Once you're in DIAG mode, enter:<br>
• "HELP" to list available commands (also lists SMS and MSG
commands)<br>
• "DIAG" to see a short status overview<br>
• "S command" to execute an SMS command<br>
• "M command" to execute a MSG command<br>
<br>
In DIAG mode, all SMS and MSG outputs are sent to the DIAG port
instead of the<br>
GPRS network. MSG output will not be encrypted.<br>
<br>
and I thought that it was possible. I don't want the modem but I
am not a specialist<br>
in electronics and embeded systems. My first thought was to use an
ELM237 to get<br>
data from OBDII but I can not find the PIDs of Twizy and I thought
of using this interface<br>
like I would with ELM. Just send a command via bluetooth and get
back a response.<br>
<br>
Regards, Giannis<br>
<br>
PS: Thanks again for the support!<br>
<br>
On 21/6/2013 07:55, Mark Webb-Johnson wrote:<br>
</div>
<blockquote
cite="mid:CE9A3302-88AE-44F9-B207-B39025A5943E@webb-johnson.net"
type="cite">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 moz-do-not-send="true"
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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a moz-do-not-send="true" 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 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>
</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>
</body>
</html>