<p>Everyone,</p>
<p>Thanks for the reports. Here are some updates for the Android app in the market:</p>
<p>1. The PIN and current entry bugs are fixed. Sorry about the new bugs.</p>
<p>2. Screen rotation for the first two tabs are disabled for now because horizontal screens are getting too crowded on phones. I'm working on a new custom horizontal layout. Rotation will be enabled soon.</p>
<p>3. A new 4x1 home screen widget has been added to the latest version. Please note that it will only show up in the add widgets list when the app is installed inside phone memory (not SD card). This seems to be an Android restriction.</p>
<p>4. The widget is highly experimental and will be improved over upcoming updates. The way the app works now is that it closes the server TCP connection when it goes to background. As such, the widget's data can refresh only when the main app is opened. While I want to keep the TCP shutdown behavior, in the next version, at least the parking meter will remain live all the time.</p>
<p>5. The app has been over 5MB in size for some time. 90%+ of that goes to the very nice car layout graphics (one for each roadster color). As a low priority task, I'm going to make the app download the car images the first time you use them. This will make app updates speedy and conserve some bandwidth for limited data plans.</p>
<p>Michael, can you check the TCP log in the Android app to see if SMS,IP is sent after you tap commit? And when you tap refresh, does SMS,IP show up in the TCP log, under [RX] prefix? Thanks.</p>
<p>Sonny</p>
<div class="gmail_quote">On Feb 18, 2012 6:01 AM, "Michael Stegen" <<a href="mailto:michael@stegen.com">michael@stegen.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Sonny, Mark, others, <br>
<br>
Thanks, the new update fixed the charge mode issues.<br>
<br>
Some bugs:<br>
<br>
I'm seeing the same two digit PIN limit now. <br>
<br>
Also, setting the Charge current, causes a forced close of the app.
(might be related to the beta ICS version i have on my phone right
now)<br>
<br>
The app also shows SMS/Paranoid Mode Password.<br>
Aren't those two different params? The app shows the SMS password
"OVMS"<br>
<br>
Somehow the notification mode setting is displayed as SMS only,
instead of "SMS, IP" I changed it in the app, rebooted the module,
but it doesn't stick. (at first i tought it did, but now it's back
to "SMS" only)<br>
<br>
Regards, Michael<br>
<br>
<br>
<br>
Op 17-2-2012 17:16, William Petefish schreef:
<blockquote type="cite">
<p>Hard reset performed. Module working again.</p>
<p>Pin entry still limited to 2 characters.</p>
<p>William</p>
<div class="gmail_quote">On Feb 17, 2012 10:05 AM, "William
Petefish" <<a href="mailto:william.petefish@gmail.com" target="_blank">william.petefish@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Problem confirmed still. Module doesn't seem to be
responding even after the reboot request.</p>
<p>Another popped up, pin entry in app limited to 2
characters. </p>
<p>William</p>
<div class="gmail_quote">On Feb 17, 2012 8:34 AM, "William
Petefish" <<a href="mailto:william.petefish@gmail.com" target="_blank">william.petefish@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Mark,</div>
<div><br>
</div>
Will Do.
<div>Waiting on it now. </div>
<div>I'll run a test after I get out of my first class.</div>
<div><br>
</div>
<div>William</div>
<div><br>
<div class="gmail_quote">On Fri, Feb 17, 2012 at 8:25
AM, Mark Webb-Johnson <span dir="ltr"><<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Michael,
<div><br>
</div>
<div>I just tried from the iPhone App I'm working
on, and all seems ok.</div>
<div><br>
</div>
<div>
<ul>
<li>Car was not charging, standard mode with
limit 13A on a 70A HPC.</li>
<li>I sent a charge mode command to RANGE
mode, and car switched to range mode,
started charging at 13A and reported
charging,range.</li>
<li>I sent a charge mode command to STANDARD
mode, and car switched to standard mode,
while charge continued at 13A and reported
as charging,standard.</li>
<li>I sent a charge limit command to 32A, then
car sent back limit 32A and within a few
seconds increased the current at the car to
32amp.</li>
<li>I sent a charge limit command to 70A, then
car sent back limit 70amp and within a few
seconds increased the current at the car to
70amp.</li>
</ul>
</div>
<div><br>
</div>
<div>Sonny says he has fixed the Android App
charge mode and the version in the market should
be ok now. Can you try that?</div>
<div><br>
</div>
<div>If the new version has not yet been released,
perhaps selecting performance mode will enter
range mode (assuming 3=2 and 4=3)?</div>
<div><br>
</div>
<div>Regards, Mark.</div>
<div><br>
<div>
<div>
<div>On 17 Feb, 2012, at 9:35 PM, Mark
Webb-Johnson wrote:</div>
<br>
</div>
<div>
<div>
<blockquote type="cite">
<div style="word-wrap:break-word">Michael,
<div><br>
</div>
<div>I tried issuing the commands
manually on the can bus and can
switch modes shown on the VDS.</div>
<div><br>
</div>
<div>N.B. There is a bug in the
Android App on the marketplace - it
gets the mode numbers wrong (I guess
0..3 not 0,1,3,4).</div>
<div><br>
</div>
<div>I'm implementing this in the
iPhone App tonight, so should be
able to test later.</div>
<div><br>
</div>
<div>Regards, Mark.</div>
<div><br>
<div>
<div>On 17 Feb, 2012, at 9:11 PM,
Michael Stegen wrote:</div>
<br>
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000"> I can confirm
that switching between charge
modes does not work 100%.<br>
I tried switching to range
mode, and then start charging
from the app.<br>
<br>
The battery indicator in the
car changes, i.e. the top of
the battery is visible.<br>
Range does not change, also
charge mode visible on the VDS
does not change (still
standard charging)<br>
<br>
On the (Android) app , it's
shows the same. After i
stopped the charging, i
received a SMS that does not
start with Range - or Standard
- <br>
just "Charging Stopped, ideal
range ..etc"<br>
<br>
Tonight i'll try to send the
commands manually on the CAN
bus, to see if i see any
difference in behaviour.<br>
<br>
<br>
Btw, i do receive a "Hello
World" push message on my
android phone, but not on the
Ipad.<br>
I'm not using any testflight
version anymore, but the one
from the appstore.<br>
<br>
Btw2, when a charge is
stopped, i used to receive a
push message + SMS, this
somehow does not work anymore
for me. I only receive the SMS<br>
<br>
Btw3, the car powers up fine,
and starts charging, even if
left unused (but connected)
for over a day.<br>
<br>
-Michael<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Op 17-2-2012 8:06, Mark
Webb-Johnson schreef:
<blockquote type="cite">
<div><br>
</div>
<div>
<blockquote type="cite">
<div>P.S. Could someone
fix the display so it
reads Range Mode
instead of Standard
Mode when switched
from standard to
range? (Much
appreciated.)</div>
</blockquote>
</div>
<div>
<div><br>
</div>
</div>
<div>Is this Android App?</div>
<div><br>
</div>
<div>If so, Sonny (again):
modes are 0=standard,
1=storage,3=range,4=performance</div>
<div><br>
</div>
<div>P.S. What happened to
mode 2? Did there used to
be a mystery fifth mode?</div>
<br>
<div>
<div>On 17 Feb 2012, at
2:59 PM, William
Petefish wrote:</div>
<br>
<blockquote type="cite">
<div>Mark,</div>
<div><br>
</div>
Yes, fully repeatable,
reproducible, and
verifiable.
<div><br>
</div>
<div>When not woken up
first, none of the
commands work.</div>
<div><br>
</div>
<div>I will restart the
module and try
further.</div>
<div><br>
</div>
<div>It will disarm the
alarm and allow it to
be driven. </div>
<div><br>
</div>
<div>William</div>
<div><br>
</div>
<div>P.S. Could someone
fix the display so it
reads Range Mode
instead of Standard
Mode when switched
from standard to
range? (Much
appreciated.)</div>
<div><br>
<div><br>
<div class="gmail_quote">On
Fri, Feb 17, 2012
at 12:51 AM, Mark
Webb-Johnson <span dir="ltr"><<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">William,
<div><br>
</div>
<div>Is it
repeatable?</div>
<div><br>
</div>
<div>ie; plug
in, stop
charge. wait 5
minutes until
coolant pump
turns off,
then try start
charge from
the app.</div>
<div> <br>
</div>
<div>Also, are
other commands
working (like
lock/unlock)?</div>
<div><br>
</div>
<div>After
setting the
feature for
write-enabled
CAN bus, you
need to
restart the
module. If
not, none of
the commands
will work. If
at least one
of the
commands is
working, then
that is fine.</div>
<div><br>
</div>
<div>Regards,
Mark.</div>
<div><br>
</div>
<div>P.S. Not
wishing to
hijack this
thread, but
since you are
in the USA -
could you test
the
lock/unlock
commands for
us on your US
car?
Supposedly,
the US cars
don't have an
immobiliser so
that the
UNLOCK command
will disable
the alarm and
allow the car
to be driven.
Please try and
let us know.</div>
<div>
<div>
<div><br>
</div>
<div>
<div>
<div>On 17 Feb
2012, at 2:35
PM, William
Petefish
wrote:</div>
<br>
<blockquote type="cite">
<div>Mark,</div>
<div><br>
</div>
Yes, I did and
to no avail. I
had
purposefully
let the car
sit until it
went into
power save
mode and tried
again, no joy.
<div> <br>
</div>
<div>Might it
have something
to do with the
new FW on the
roadster?
(4.6.4 I think
is the FW that
is on mine.)
My roadster is
a 2.5.</div>
<div>
<div><br>
</div>
<div>William<br>
<div><br>
<div class="gmail_quote">On
Fri, Feb 17,
2012 at 12:29
AM, Mark
Webb-Johnson <span dir="ltr"><<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">William:
<div><br>
</div>
<div>Current
(1.2.0-rc3)
code is:</div>
<div><br>
</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div>
<div>void
can_tx_setchargecurrent(unsigned
char current)</div>
<div> {</div>
<div> while
(TXB0CONbits.TXREQ)
{} // Loop
until TX is
done</div>
<div> TXB0CON
= 0;</div>
<div>
TXB0SIDL =
0b01000000; //
Setup 0x102</div>
<div>
TXB0SIDH =
0b00100000; //
Setup 0x102</div>
<div> TXB0D0
= 0x05;</div>
<div> TXB0D1
= 0x02;</div>
<div> TXB0D2
= 0x00;</div>
<div> TXB0D3
= 0x00;</div>
<div> TXB0D4
= current;</div>
<div> TXB0D5
= 0x00;</div>
<div> TXB0D6
= 0x00;</div>
<div> TXB0D7
= 0x00;</div>
<div> TXB0DLC
= 0b00001000;
// data length
(8)</div>
<div> TXB0CON
= 0b00001000;
// mark for
transmission</div>
<div> while
(TXB0CONbits.TXREQ)
{} // Loop
until TX is
done</div>
<div><br>
</div>
<div>
can_tx_wakeup();
// Also,
wakeup the car
if necessary</div>
<div> }</div>
</div>
<div><br>
</div>
<div>
<div>void
can_tx_wakeup(void)</div>
<div> {</div>
<div> while
(TXB0CONbits.TXREQ)
{} // Loop
until TX is
done</div>
<div>
TXB0CON = 0;</div>
<div>
TXB0SIDL =
0b01000000; //
Setup 0x102</div>
<div>
TXB0SIDH =
0b00100000; //
Setup 0x102</div>
<div> TXB0D0
= 0x0a;</div>
<div> TXB0DLC
= 0b00000001;
// data length
(8)</div>
<div> TXB0CON
= 0b00001000;
// mark for
transmission</div>
<div> while
(TXB0CONbits.TXREQ)
{} // Loop
until TX is
done</div>
<div> }</div>
</div>
</blockquote>
<div><br>
</div>
<div>That
should work.
Pre-rc3, I
used to see
this, but
since rc3 it
has been ok
for me.</div>
<div><br>
</div>
<div>Maybe the
bus was busy
and lost the
wakeup
message? Did
you try
sending any
other
commands, or
repeating the
start charge
command?</div>
<div><br>
</div>
<div>What is
the version of
your car (2.x
or 1.5?).</div>
<div><br>
</div>
<div>Regards,
Mark.</div>
<div><br>
</div>
<div>P.S.
There is also
a specific
command C,18
that calls the
CAN wakeup
function. Not
sure if the
Android App
supports it or
not.</div>
<div>
<div>
<div><br>
</div>
<div>
<div>
<div>On 17 Feb
2012, at 2:22
PM, William
Petefish
wrote:</div>
<br>
<blockquote type="cite">Mark,<br>
<div><br>
</div>
<div>Feature
Needed: Wake
Up command.</div>
<div><br>
</div>
<div>I tried
to send the
start charge
command from
my android
phone and it
wouldn't start
to charge or
change
charging mode,
etc. without
being woken up
by
opening/closing
the
doors/trunk/remote/etc. </div>
<div><br>
</div>
<div>I am
using the
latest release
(1.20) and the
Android app.</div>
<div><br>
</div>
<div>William</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
OvmsDev
mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
OvmsDev mailing
list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
OvmsDev mailing list
<a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Stegen Electronics
Kwartslaan 95
3162 RD Rhoon
The Netherlands
Tel: <a href="tel:%2B31%2010-5016960" value="+31105016960" target="_blank">+31 10-5016960</a>
<a href="http://www.stegen.com/" target="_blank">www.stegen.com</a></pre>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
OvmsDev mailing list
<a href="mailto:OvmsDev@lists.teslaclub.hk" target="_blank">OvmsDev@lists.teslaclub.hk</a>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Stegen Electronics
Kwartslaan 95
3162 RD Rhoon
The Netherlands
Tel: <a href="tel:%2B31%2010-5016960" value="+31105016960" target="_blank">+31 10-5016960</a>
<a href="http://www.stegen.com" target="_blank">www.stegen.com</a></pre>
</div>
<br>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br></blockquote></div>