Hackuarium / bioreactor-ui

https://hackuarium.github.io/bioreactor-ui/.
0 stars 1 forks source link

Automatic detection of device kind ? #24

Closed lpatiny closed 3 years ago

lpatiny commented 3 years ago

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

  1. Please add in the 'Select device' drop down menu in parenthesis what kind of device it is (if available).

image

  1. When you select a device from the drop down menu please change automatically the Device type if defined.
NadjibSb commented 3 years ago

closed by 3eb8e8fd3d675a6ffd4951fc5f498cd1d0bb0f51