diff --git a/package-lock.json b/package-lock.json index e369745..64aa39b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "mui-tel-input": "^7.0.0", "notistack": "^3.0.1", "openweathermap-ts": "^1.2.10", - "protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#master", + "protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#staging", "react": "^18.3.1", "react-beautiful-dnd": "^13.1.1", "react-color": "^2.19.3", @@ -10864,7 +10864,7 @@ }, "node_modules/protobuf-ts": { "version": "1.0.0", - "resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#f8704561c094b208029340cdf2ce0c510ef1eb12", + "resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#3f9a71a350651fb151d18514f990794f62a8e0cc", "dependencies": { "protobufjs": "^6.8.8" } diff --git a/package.json b/package.json index 8e3ebd3..5a32392 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "mui-tel-input": "^7.0.0", "notistack": "^3.0.1", "openweathermap-ts": "^1.2.10", - "protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#master", + "protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#staging", "react": "^18.3.1", "react-beautiful-dnd": "^13.1.1", "react-color": "^2.19.3", diff --git a/src/firmware/UploadFirmware.tsx b/src/firmware/UploadFirmware.tsx index d985f7a..aa5aa41 100644 --- a/src/firmware/UploadFirmware.tsx +++ b/src/firmware/UploadFirmware.tsx @@ -79,7 +79,8 @@ class UploadFirmware extends React.Component { pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLACK, pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_GREEN, pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLUE, - pond.DevicePlatform.DEVICE_PLATFORM_V2_WIFI_BLUE + pond.DevicePlatform.DEVICE_PLATFORM_V2_WIFI_BLUE, + pond.DevicePlatform.DEVICE_PLATFORM_V2_ETHERNET_BLUE ].includes(platform); var isChannelValid = [ pond.UpgradeChannel.UPGRADE_CHANNEL_ALPHA, @@ -229,6 +230,9 @@ class UploadFirmware extends React.Component { V2 Wifi Blue + + + V2 Ethernet Blue = new Map([ @@ -29,7 +30,8 @@ const featureVersions: Map = new Map([ v2CellBlack: "2.0.44", v2CellGreen: "2.0.44", v2WifiBlue: "2.0.44", - v2CellBlue: "2.0.44" + v2CellBlue: "2.0.44", + v2EthBlue: "2.0.44" } ] ]); @@ -118,6 +120,8 @@ export class Device { return this.status.firmwareVersion >= versions.v2WifiBlue; case pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLUE: return this.status.firmwareVersion >= versions.v2CellBlue; + case pond.DevicePlatform.DEVICE_PLATFORM_V2_ETHERNET_BLUE: + return this.status.firmwareVersion >= versions.v2EthBlue; default: return false; } diff --git a/src/pages/DeviceSupport.tsx b/src/pages/DeviceSupport.tsx index 20bf476..a6a19de 100644 --- a/src/pages/DeviceSupport.tsx +++ b/src/pages/DeviceSupport.tsx @@ -301,6 +301,9 @@ export default function DeviceSupport() { V2 Cellular Blue + + V2 Ethernet Blue +