pikapython/package/mqtt/_mqtt__MQTT.c

18 lines
628 B
C
Raw Normal View History

2022-11-12 22:21:23 +08:00
#include "_mqtt__MQTT.h"
2022-11-13 14:52:39 +08:00
#include "mqttclient.h"
2022-11-12 22:21:23 +08:00
void _mqtt__MQTT___init__(PikaObj* self,
char* ip,
int port,
char* clinetID,
char* username,
char* password,
char* version,
char* ca,
int keepalive) {
2022-11-12 23:28:55 +08:00
__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);
}