mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
update mqtt
This commit is contained in:
parent
7d90370d4c
commit
b980fd4710
@ -9,5 +9,8 @@ void _mqtt__MQTT___init__(PikaObj* self,
|
||||
char* version,
|
||||
char* ca,
|
||||
int keepalive) {
|
||||
|
||||
}
|
||||
__platform_printf(
|
||||
"ip: %s, port: %d, clinetID: %s, username: %s, password: %s, version: "
|
||||
"%s, ca: %s, keepalive: %d\r\n",
|
||||
ip, port, clinetID, username, password, version, ca, keepalive);
|
||||
}
|
||||
|
@ -11,9 +11,6 @@ class MQTT(_mqtt._MQTT):
|
||||
version='3.1.1',
|
||||
ca='',
|
||||
keepalive=60):
|
||||
print('MQTT init')
|
||||
print(port)
|
||||
print('ip:', ip)
|
||||
super().__init__(ip, port, clinetID,
|
||||
username, password, version,
|
||||
ca, keepalive)
|
||||
|
@ -11,9 +11,6 @@ class MQTT(_mqtt._MQTT):
|
||||
version='3.1.1',
|
||||
ca='',
|
||||
keepalive=60):
|
||||
print('MQTT init')
|
||||
print(port)
|
||||
print('ip:', ip)
|
||||
super().__init__(ip, port, clinetID,
|
||||
username, password, version,
|
||||
ca, keepalive)
|
||||
|
@ -9,5 +9,8 @@ void _mqtt__MQTT___init__(PikaObj* self,
|
||||
char* version,
|
||||
char* ca,
|
||||
int keepalive) {
|
||||
|
||||
}
|
||||
__platform_printf(
|
||||
"ip: %s, port: %d, clinetID: %s, username: %s, password: %s, version: "
|
||||
"%s, ca: %s, keepalive: %d\r\n",
|
||||
ip, port, clinetID, username, password, version, ca, keepalive);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user