Merge pull request #13 from ctlove0523/bs

更新版本信息
This commit is contained in:
ctlove0523 2022-01-23 08:26:19 +08:00 committed by GitHub
commit bc95cccf8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ huaweicloud-iot-device-sdk-go提供设备接入华为云IoT物联网平台的Go
## 版本说明 ## 版本说明
当前稳定版本v1.0.0 当前稳定版本v2.0.0

View File

@ -4,7 +4,7 @@ import (
"testing" "testing"
) )
const deviceId = "5fdb75cccbfe2f02ce81d4bf_liqian" const deviceId = "611d13360ad1ed028658e089_device_cli"
const devicePwd = "123456789" const devicePwd = "123456789"
const server = "tls://iot-mqtts.cn-north-4.myhuaweicloud.com:8883" const server = "tls://iot-mqtts.cn-north-4.myhuaweicloud.com:8883"
const qos = 1 const qos = 1

View File

@ -17,7 +17,7 @@ func TestOsName(t *testing.T) {
} }
func TestVersion(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") t.Errorf("sdk version must be v0.0.2")
} }

View File

@ -1,2 +1,2 @@
author = chen tong author = chen tong
sdk-version = v1.0.0 sdk-version = v2.0.0