Searched refs:getNextPacketId (Results 1 – 1 of 1) sorted by relevance
/device/board/isoftstone/yangfan/common/mqtt/mqttclient_c/src/ |
D | MQTTClient.c | 30 static int getNextPacketId(MQTTClient *c) { in getNextPacketId() function 589 … len = MQTTSerialize_subscribe(c->buf, c->buf_size, 0, getNextPacketId(c), 1, &topic, (int*)&qos); in MQTTAsyncSubscribe() 623 … len = MQTTSerialize_subscribe(c->buf, c->buf_size, 0, getNextPacketId(c), 1, &topic, (int*)&qos); in MQTTSubscribeWithResults() 678 … if ((len = MQTTSerialize_unsubscribe(c->buf, c->buf_size, 0, getNextPacketId(c), 1, &topic)) <= 0) in MQTTAsyncUnsubscribe() 710 … if ((len = MQTTSerialize_unsubscribe(c->buf, c->buf_size, 0, getNextPacketId(c), 1, &topic)) <= 0) in MQTTUnsubscribe() 753 message->id = getNextPacketId(c); in MQTTAsyncPublish() 793 message->id = getNextPacketId(c); in MQTTPublish()
|