diff --git a/src/device/autoDetect/DeviceScannedComponents.tsx b/src/device/autoDetect/DeviceScannedComponents.tsx index eea431c..0381281 100644 --- a/src/device/autoDetect/DeviceScannedComponents.tsx +++ b/src/device/autoDetect/DeviceScannedComponents.tsx @@ -40,7 +40,7 @@ export default function DeviceScannedComponents(props: Props){ const [openDialog, setOpenDialog] = useState(false); useEffect(()=>{ - console.log(scannedComponents) + //console.log(scannedComponents) if (scannedComponents.i2c) setScannedI2C(scannedComponents.i2c) //makes the array empty for testing // if (scannedComponents.i2c) { diff --git a/src/device/autoDetect/ScannedI2C.tsx b/src/device/autoDetect/ScannedI2C.tsx index 9e29d04..4719f66 100644 --- a/src/device/autoDetect/ScannedI2C.tsx +++ b/src/device/autoDetect/ScannedI2C.tsx @@ -15,7 +15,7 @@ interface Props { sensorNum?: number } -export default function ScannedI2C(props: Props){ +export default function ScannedI2C(props: Props){ const {addressData, deviceProduct, componentSelectionCallback, availablePositions, sensorNum} = props const [types, setTypes] = useState([]) const [subtypeOptions, setSubtypeOptions] = useState>([]) @@ -107,6 +107,7 @@ export default function ScannedI2C(props: Props){ return ( {sensorNum && Sensor {sensorNum}} + {addressData.expansionLine !== 0 && "Expansion Line: " + addressData.expansionLine} {types.length > 0 ? @@ -145,7 +146,7 @@ export default function ScannedI2C(props: Props){ }} select> {subtypeOptions.map(s => ( - {s.friendlyName} + {s.friendlyName} ))} } diff --git a/src/models/Device.ts b/src/models/Device.ts index e45f7aa..46ce943 100644 --- a/src/models/Device.ts +++ b/src/models/Device.ts @@ -42,11 +42,11 @@ const featureVersions: Map = new Map([ v2Cell: "N/A", v2WifiS3: "N/A", v2CellS3: "N/A", - v2CellBlack: "N/A", + v2CellBlack: "2.1.6", v2CellGreen: "N/A", - v2WifiBlue: "N/A", - v2CellBlue: "N/A", - v2EthBlue: "N/A" + v2WifiBlue: "2.1.6", + v2CellBlue: "2.1.6", + v2EthBlue: "2.1.6" } ] ]);