From a61ebda710901ce7e61a92d5a9b4fbaeefe0048d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=B0=91=E9=98=B3?= <786612630@qq.com> Date: Wed, 8 Jan 2025 19:35:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201=E3=80=81=E4=BF=AE=E5=A4=8Dwifi?= =?UTF-8?q?=E9=94=81=E3=80=81=E7=BD=91=E5=85=B3=E9=85=8D=E7=BD=91=E4=BC=A0?= =?UTF-8?q?=E5=85=A5=E7=9A=84gatewayJson=E9=95=BF=E5=BA=A61=E5=AD=97?= =?UTF-8?q?=E8=8A=82=E6=94=B9=E4=B8=BA2=E5=AD=97=E8=8A=82bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/blue/io_gateway/io_gateway_configuringWifi.dart | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/blue/io_gateway/io_gateway_configuringWifi.dart b/lib/blue/io_gateway/io_gateway_configuringWifi.dart index 7d6a5ede..769f2079 100644 --- a/lib/blue/io_gateway/io_gateway_configuringWifi.dart +++ b/lib/blue/io_gateway/io_gateway_configuringWifi.dart @@ -53,8 +53,8 @@ class GatewayConfiguringWifiCommand extends SenderProtocol { final int clientIdLengthDoubleType1 = clientIdLengthDouble.toInt(); final int clientIdLengthDoubleType2 = clientIdLength % 256; // AppLog.log('gatewayConfigurationStr!:$gatewayConfigurationStr! clientIdLength:$clientIdLength clientIdLengthDouble:$clientIdLengthDouble clientIdLengthDoubleType1:$clientIdLengthDoubleType1 clientIdLengthDoubleType2:$clientIdLengthDoubleType2'); - data.add(clientIdLengthDoubleType1); - data.add(clientIdLengthDoubleType2); + subData.add(clientIdLengthDoubleType1); + subData.add(clientIdLengthDoubleType2); subData.addAll(utf8.encode(gatewayConfigurationStr!)); // subData = getFixedLengthList(subData, 20 - clientIdLength); diff --git a/pubspec.yaml b/pubspec.yaml index f9f08476..527ac7dd 100755 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -104,7 +104,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # 1.0.85+2024120301:完善网关功能 # 1.0.85+2024120401:修复网关问题,打包给谢敬调试 -version: 1.0.85+2025010801 +version: 1.0.85+2025010802 environment: sdk: '>=2.12.0 <3.0.0'