From 8fe274e3754add67568bab6da33e6d8c4a25d62d Mon Sep 17 00:00:00 2001 From: ctlove0523 <478309639@qq.com> Date: Sun, 23 Jan 2022 08:25:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- base_device_test.go | 2 +- info_test.go | 2 +- sdk_info | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bcedd55..0f5b9ed 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ huaweicloud-iot-device-sdk-go提供设备接入华为云IoT物联网平台的Go ## 版本说明 -当前稳定版本:v1.0.0 +当前稳定版本:v2.0.0 diff --git a/base_device_test.go b/base_device_test.go index 385f61f..53d5961 100644 --- a/base_device_test.go +++ b/base_device_test.go @@ -4,7 +4,7 @@ import ( "testing" ) -const deviceId = "5fdb75cccbfe2f02ce81d4bf_liqian" +const deviceId = "611d13360ad1ed028658e089_device_cli" const devicePwd = "123456789" const server = "tls://iot-mqtts.cn-north-4.myhuaweicloud.com:8883" const qos = 1 diff --git a/info_test.go b/info_test.go index cc19424..bf27277 100644 --- a/info_test.go +++ b/info_test.go @@ -17,7 +17,7 @@ func TestOsName(t *testing.T) { } func TestVersion(t *testing.T) { - if SdkInfo()["sdk-version"] != "v1.0.0" { + if SdkInfo()["sdk-version"] != "v2.0.0" { t.Errorf("sdk version must be v0.0.2") } diff --git a/sdk_info b/sdk_info index 44f418d..ade8314 100644 --- a/sdk_info +++ b/sdk_info @@ -1,2 +1,2 @@ author = chen tong -sdk-version = v1.0.0 +sdk-version = v2.0.0