<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
That can work, too, but we should make it clear that the name-space
is case insensitive.<br>
<br>
Greg<br>
<br>
<br>
<div class="moz-cite-prefix">Tom Saxton wrote:<br>
</div>
<blockquote type="cite"
cite="mid:144C4CD0-67A7-43B2-BF3C-D9B19A006CC4@idleloop.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas",serif;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt">I think it
should accept and preserve mixed case IDs, but do case
insensitive compares when matching IDs. I don’t want
JoeSmithModelS showing up as JOESMITHMODELS.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> Tom<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span
style="font-size:12.0pt;color:black">From: </span></b><span
style="font-size:12.0pt;color:black"><a class="moz-txt-link-rfc2396E" href="mailto:ovmsdev-bounces@lists.teslaclub.hk"><ovmsdev-bounces@lists.teslaclub.hk></a>
on behalf of "Greg D." <a class="moz-txt-link-rfc2396E" href="mailto:gregd2350@gmail.com"><gregd2350@gmail.com></a><br>
<b>Reply-To: </b>OVMS Developers
<a class="moz-txt-link-rfc2396E" href="mailto:ovmsdev@lists.teslaclub.hk"><ovmsdev@lists.teslaclub.hk></a><br>
<b>Date: </b>Friday, March 9, 2018 at 11:26 AM<br>
<b>To: </b>OVMS Developers
<a class="moz-txt-link-rfc2396E" href="mailto:ovmsdev@lists.teslaclub.hk"><ovmsdev@lists.teslaclub.hk></a><br>
<b>Subject: </b>Re: [Ovmsdev] Valid Vehicle ID
characters?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><a
name="_MailOriginalBody" moz-do-not-send="true">But, the
itef reference talks about there being no distinction
between upper and lower case. Should we accept either, but
shift (force) lower case to upper case?<br>
<br>
Greg<br>
<br>
<o:p></o:p></a></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">Michael Balzer
wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"
style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">Right, forgot about
that. Input validation rule changed to allow lower case
letters and hyphen.<br>
<br>
Regards,<br>
Michael<br>
<br>
<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">Am 09.03.2018 um
07:20 schrieb Mark Webb-Johnson:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">As these are used
in mDNS, I think we should follow DNS naming
conventions: <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
</div>
<blockquote style="margin-left:30.0pt;margin-right:0in">
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"></span><a
href="https://tools.ietf.org/html/rfc952"
moz-do-not-send="true"><span
style="mso-bookmark:_MailOriginalBody">https://tools.ietf.org/html/rfc952</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"></span><a
href="https://technet.microsoft.com/en-us/library/cc959336.aspx"
moz-do-not-send="true"><span
style="mso-bookmark:_MailOriginalBody">https://technet.microsoft.com/en-us/library/cc959336.aspx</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></p>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">I think that
means letter, digits, and the hyphen character.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">Regards, Mark.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">On 9 Mar
2018, at 3:42 AM, Greg D. <</span><a
href="mailto:gregd2350@gmail.com"
moz-do-not-send="true"><span
style="mso-bookmark:_MailOriginalBody">gregd2350@gmail.com</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
style="mso-bookmark:_MailOriginalBody">>
wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">I can't
find it now, but somehow I ended up with an
underscore in my<br>
vehicle ID, registered through the
OpenVehicles website. Should I<br>
change the ID, or change the webserver to
accept the additional<br>
characters? I'm guessing the only real
restrictions are to use the<br>
traditional printable characters from the base
ASCII character set, and<br>
no spaces.<br>
<br>
Greg<br>
<br>
<br>
Michael Balzer wrote:<br>
<br>
<o:p></o:p></span></p>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">No,
that's the v2 rule for vehicle IDs.<br>
<br>
Don't know about the origin though, I don't
think any component would have a problem
with lower case and dashes / underscores /…<br>
<br>
Even UTF-8 should be no problem (except via
SMS). Maybe a rule we can drop?<br>
<br>
<br>
<br>
Am 08.03.2018 um 19:17 schrieb Greg D.:<br>
<br>
<o:p></o:p></span></p>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody">Just
noticed... The Webserver restricts the
vehicle ID to "upper case<br>
letters and digits". I thought
underscores and dashes are allowed<br>
(seems to work); my car's ID contains an
underscore... Is this<br>
additional restriction new (server v3,
perhaps)?<br>
<br>
Greg<br>
<br>
_______________________________________________<br>
OvmsDev mailing list<br>
</span><a
href="mailto:OvmsDev@lists.teslaclub.hk"
moz-do-not-send="true"><span
style="mso-bookmark:_MailOriginalBody">OvmsDev@lists.teslaclub.hk</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
style="mso-bookmark:_MailOriginalBody"><br>
</span><a
href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
moz-do-not-send="true"><span
style="mso-bookmark:_MailOriginalBody">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></p>
</blockquote>
</blockquote>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><br>
_______________________________________________<br>
OvmsDev mailing list<br>
</span><a
href="mailto:OvmsDev@lists.teslaclub.hk"
moz-do-not-send="true"><span
style="mso-bookmark:_MailOriginalBody">OvmsDev@lists.teslaclub.hk</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
style="mso-bookmark:_MailOriginalBody"><br>
</span><a
href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
moz-do-not-send="true"><span
style="mso-bookmark:_MailOriginalBody">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody">_______________________________________________<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody">OvmsDev mailing list<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody"></span><a href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true"><span style="mso-bookmark:_MailOriginalBody">OvmsDev@lists.teslaclub.hk</span><span style="mso-bookmark:_MailOriginalBody"></span></a><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody"></span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true"><span style="mso-bookmark:_MailOriginalBody">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</span><span style="mso-bookmark:_MailOriginalBody"></span></a><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody">-- <o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody">Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody">Fon 02333 / 833 5735 * Handy 0176 / 206 989 26<o:p></o:p></span></pre>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody">_______________________________________________<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody">OvmsDev mailing list<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody"></span><a href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true"><span style="mso-bookmark:_MailOriginalBody">OvmsDev@lists.teslaclub.hk</span><span style="mso-bookmark:_MailOriginalBody"></span></a><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="mso-bookmark:_MailOriginalBody"></span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true"><span style="mso-bookmark:_MailOriginalBody">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</span><span style="mso-bookmark:_MailOriginalBody"></span></a><span style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:.5in"><span
style="mso-bookmark:_MailOriginalBody"><br>
_______________________________________________ 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> </span><o:p></o:p></p>
</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>