Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mqtt/MQTTClient-C/
A DMQTTClient.c34 static int sendPacket(MQTTClient* c, int length, Timer* timer) in sendPacket() function
229 if (len > 0 && (rc = sendPacket(c, len, &timer)) == SUCCESS) // send the ping packet in keepalive()
297 rc = sendPacket(c, len, timer); in cycle()
313 else if ((rc = sendPacket(c, len, timer)) != SUCCESS) // send the PUBREL packet in cycle()
437 if ((rc = sendPacket(c, len, &connect_timer)) != SUCCESS) // send the connect packet in MQTTConnectWithResults()
538 if ((rc = sendPacket(c, len, &timer)) != SUCCESS) // send the subscribe packet in MQTTSubscribeWithResults()
592 if ((rc = sendPacket(c, len, &timer)) != SUCCESS) // send the subscribe packet in MQTTUnsubscribe()
641 if ((rc = sendPacket(c, len, &timer)) != SUCCESS) // send the subscribe packet in MQTTPublish()
693 rc = sendPacket(c, len, &timer); // send the disconnect packet in MQTTDisconnect()

Completed in 4 milliseconds