commit
bc95cccf8e
|
@ -25,7 +25,7 @@ huaweicloud-iot-device-sdk-go提供设备接入华为云IoT物联网平台的Go
|
||||||
|
|
||||||
## 版本说明
|
## 版本说明
|
||||||
|
|
||||||
当前稳定版本:v1.0.0
|
当前稳定版本:v2.0.0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue