mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
17 lines
604 B
C
17 lines
604 B
C
#include "_mqtt__MQTT.h"
|
|
|
|
void _mqtt__MQTT___init__(PikaObj* self,
|
|
char* ip,
|
|
int port,
|
|
char* clinetID,
|
|
char* username,
|
|
char* password,
|
|
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);
|
|
}
|