Skip to content
Vehicle Signal Specification standard building on the work done by W3C / AMB.
Python C Makefile
Branch: master
Clone or download
rstreif and danielwilms Using reproducible UUID namespace
This commit updates the creation of UUID5 (SHA-1 hash) from using
the UUID5 of their parent as the namespace to a UUID5 namespace
derived from the object identifier 'vehicle_signal_specification':

> uuid.uuid5(uuid.NAMESPACE_OID, 'vehicle_signal_specification')
> UUID('4635ee41-2db8-5e71-94e0-9ad0f157522c')

This means that a UUID5 for any node in the VSS tree can always
be computed with:

> uuid.uuid5(UUID('4635ee41-2db8-5e71-94e0-9ad0f157522c'), 'Vehicle')
> UUID('ccc825f9-4139-544d-bb5f-4bfd033bece6')

This fixes the criticism that the previous signal ID, which was simply
a numbering, already had and that was carried over to the UUID scheme
that with any new creating of the ID database the IDs would change
unless the database was used as a lookup table (in that case the ID
would simply be read from the database).

This carried over to the UUID-based database because the root UUID
(the one for the first node called 'vehicle') was created using a
UUID1 which is based on hostid, sequence number and time. Furthermore,
the previous UUID creation used the parent node's UUID as the namespace,
hence nodes with different parents would use a different namespace (and
all nodes with 'vehicle' as parent would use the UUID1 for 'vehicle' as
their namespace).

Technically, with this change the ID database becomes somewhat obsolete
as a lookup table to create UUIDs as they always can be reccomputed as
shown above. However, the database still has its place as a reverse lookup
table since UUIDs are of course hashes and hash functions are not inverse.
Latest commit 317645b Sep 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Generated documentation Jan 23, 2020
pics [Prep2.0.0] Updated Documentation Dec 4, 2018
spec Using reproducible UUID namespace Feb 16, 2020
tools Using reproducible UUID namespace Feb 16, 2020
.gitmodules Added hugo documentation for github pages Sep 27, 2019
LICENSE Initial commit Mar 1, 2016
Makefile
README.md Point to the docs in https protocol Nov 12, 2019
RELEASE_PROCESS.md Unified all files and artifacts under the same license Jan 11, 2017
VERSION Bumped alpha version to 006 May 17, 2019
structure.txt Dump of new files May 2, 2016
vss_rel_2.0.0-alpha+006.csv POSITIONING: Added CSV export Feb 16, 2020

README.md

(C) 2019 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
(C) 2018 Volvo Cars
(C) 2016 Jaguar Land Rover

All files and artifacts in this repository are licensed under the provisions of the license provided by the LICENSE file in this repository.

VEHICLE SIGNAL SPECIFICATION

Please find the official documentation at: Vehicle Signal Specification

Latest release: 1.0

You can’t perform that action at this time.