[Ovmsdev] Valid Vehicle ID characters?
Mark Webb-Johnson
mark at webb-johnson.net
Fri Mar 9 14:20:54 HKT 2018
As these are used in mDNS, I think we should follow DNS naming conventions:
https://tools.ietf.org/html/rfc952 <https://tools.ietf.org/html/rfc952>
https://technet.microsoft.com/en-us/library/cc959336.aspx <https://technet.microsoft.com/en-us/library/cc959336.aspx>
I think that means letter, digits, and the hyphen character.
Regards, Mark.
> On 9 Mar 2018, at 3:42 AM, Greg D. <gregd2350 at gmail.com> wrote:
>
> I can't find it now, but somehow I ended up with an underscore in my
> vehicle ID, registered through the OpenVehicles website. Should I
> change the ID, or change the webserver to accept the additional
> characters? I'm guessing the only real restrictions are to use the
> traditional printable characters from the base ASCII character set, and
> no spaces.
>
> Greg
>
>
> Michael Balzer wrote:
>> No, that's the v2 rule for vehicle IDs.
>>
>> Don't know about the origin though, I don't think any component would have a problem with lower case and dashes / underscores /…
>>
>> Even UTF-8 should be no problem (except via SMS). Maybe a rule we can drop?
>>
>>
>>
>> Am 08.03.2018 um 19:17 schrieb Greg D.:
>>> Just noticed... The Webserver restricts the vehicle ID to "upper case
>>> letters and digits". I thought underscores and dashes are allowed
>>> (seems to work); my car's ID contains an underscore... Is this
>>> additional restriction new (server v3, perhaps)?
>>>
>>> Greg
>>>
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk
>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180309/d903c41a/attachment.htm>
More information about the OvmsDev
mailing list