Define name of mesure type in its definition, not at registering
Closed this issue · 1 comments
ChillPC commented
Instead of having :
this.measures.register('temperature', temperatureMeasure);
Have simply:
this.measures.register(temperatureMeasure);
With 'temperature'
defined in its file with the mappings and the unit
Aschen commented
Actually the type of the register
method is only used to ensure that we don't register twice the same measure, then the type
of a measurement should be set inside the decoder: