Skip to content

Commit 4ccaee7

Browse files
committed
rename iotcloud.tencentIotHub to iotcloud.tencent
1 parent 734e689 commit 4ccaee7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package/iotcloud/iotcloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def aliyun(self, clientId: str, productKey: str, deviceName: str, deviceSecret:
4444
digestmod=signMethod).hexdigest()
4545
return True
4646

47-
def tencentIotHub(self, productId, deviceName, deviceSecret, signMethod="hmac-sha1", expiryTime=3600, ssl=False):
47+
def tencent(self, productId, deviceName, deviceSecret, signMethod="hmac-sha1", expiryTime=3600, ssl=False):
4848
if productId == None or deviceName == None or deviceSecret == None:
4949
print("[Error]input param is None")
5050
return False

port/linux/package/pikascript/iotcloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def aliyun(self, clientId: str, productKey: str, deviceName: str, deviceSecret:
4444
digestmod=signMethod).hexdigest()
4545
return True
4646

47-
def tencentIotHub(self, productId, deviceName, deviceSecret, signMethod="hmac-sha1", expiryTime=3600, ssl=False):
47+
def tencent(self, productId, deviceName, deviceSecret, signMethod="hmac-sha1", expiryTime=3600, ssl=False):
4848
if productId == None or deviceName == None or deviceSecret == None:
4949
print("[Error]input param is None")
5050
return False

0 commit comments

Comments
 (0)