I added a new method that allows from 'device-util' to retrieve device info from the deviceID DevicesInfo.fromDeviceID(id).
Each instrument has an ID that we use to store the log and retrieve information about the device. It is a 2 bytes code and the first byte is related to the kind of device it is. This means that from this code we can select automatically the corresponding device.
I added a new method that allows from 'device-util' to retrieve device info from the deviceID
DevicesInfo.fromDeviceID(id)
.Each instrument has an ID that we use to store the log and retrieve information about the device. It is a 2 bytes code and the first byte is related to the kind of device it is. This means that from this code we can select automatically the corresponding device.
https://github.com/Hackuarium/legoino-device-information/blob/master/src/index.js#L19
Device type
if defined.