Home
last modified time | relevance | path

Searched refs:MQTTClient (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/mqtt/MQTTClient-C/
A DMQTTClient.h106 typedef struct MQTTClient struct
133 } MQTTClient; argument
145 DLLExport void MQTTClientInit(MQTTClient* client, Network* network, unsigned int command_timeout_ms,
153 DLLExport int MQTTConnectWithResults(MQTTClient* client, MQTTPacket_connectData* options,
161 DLLExport int MQTTConnect(MQTTClient* client, MQTTPacket_connectData* options);
169 DLLExport int MQTTPublish(MQTTClient* client, const char*, MQTTMessage*);
201 DLLExport int MQTTUnsubscribe(MQTTClient* client, const char* topicFilter);
207 DLLExport int MQTTDisconnect(MQTTClient* client);
214 DLLExport int MQTTYield(MQTTClient* client, int time);
220 DLLExport int MQTTIsConnected(MQTTClient* client);
[all …]
A DMQTTClient.c29 static int getNextPacketId(MQTTClient *c) { in getNextPacketId()
111 static int readPacket(MQTTClient* c, Timer* timer) in readPacket()
212 int keepalive(MQTTClient* c) in keepalive()
239 void MQTTCleanSession(MQTTClient* c) in MQTTCleanSession()
248 void MQTTCloseSession(MQTTClient* c) in MQTTCloseSession()
257 int cycle(MQTTClient* c, Timer* timer) in cycle()
341 int MQTTYield(MQTTClient* c, int timeout_ms) in MQTTYield()
361 int MQTTIsConnected(MQTTClient* client) in MQTTIsConnected()
369 MQTTClient* c = (MQTTClient*)parm; in MQTTRun()
388 int MQTTStartTask(MQTTClient* client) in MQTTStartTask()
[all …]
/AliOS-Things-master/components/mqtt/
A DREADME.md24 ├── MQTTClient-C
25 │  ├── MQTTClient.c
26 │  ├── MQTTClient.h
76 DLLExport void MQTTClientInit(MQTTClient* client, Network* network, unsigned int command_timeout_ms,
87 DLLExport int MQTTConnect(MQTTClient* client, MQTTPacket_connectData* options);
96 DLLExport int MQTTPublish(MQTTClient* client, const char* topic, MQTTMessage* message);
106 DLLExport int MQTTSubscribe(MQTTClient* client, const char* topicFilter, enum QoS, messageHandler);
116 DLLExport int MQTTUnsubscribe(MQTTClient* client, const char* topicFilter);
125 DLLExport int MQTTDisconnect(MQTTClient* client);
133 DLLExport int MQTTYield(MQTTClient* client, int time);
[all …]
/AliOS-Things-master/components/amp/jslib/src/
A Dmqtt.js4 class MQTTClient extends event.EventEmitter { class
143 return new MQTTClient(options);
/AliOS-Things-master/components/amp/libjs/lib/
A Dmqtt.js5 class MQTTClient extends EventEmitter{ class
152 return new MQTTClient(options);
/AliOS-Things-master/components/mqtt/example/
A Dmqtt_example.c50 MQTTClient c; in mqtt_comp_example()
/AliOS-Things-master/components/py_engine/modules/mqtt/
A Dmqttclient.c34 MQTTClient c;
83 MQTTClient c = { 0 }; in mqtt_client_new()

Completed in 11 milliseconds