Lines Matching refs:buflen
118 char* MQTTFormat_toClientString(char* strbuf, int strbuflen, unsigned char* buf, int buflen) in MQTTFormat_toClientString() argument
134 if (MQTTDeserialize_connack(&sessionPresent, &connack_rc, buf, buflen) == 1) in MQTTFormat_toClientString()
145 &payload, &payloadlen, buf, buflen) == 1) in MQTTFormat_toClientString()
157 if (MQTTDeserialize_ack(&packettype, &dup, &packetid, buf, buflen) == 1) in MQTTFormat_toClientString()
166 if (MQTTDeserialize_suback(&packetid, maxcount, &count, grantedQoSs, buf, buflen) == 1) in MQTTFormat_toClientString()
173 if (MQTTDeserialize_unsuback(&packetid, buf, buflen) == 1) in MQTTFormat_toClientString()
188 char* MQTTFormat_toServerString(char* strbuf, int strbuflen, unsigned char* buf, int buflen) in MQTTFormat_toServerString() argument
204 if ((rc = MQTTDeserialize_connect(&data, buf, buflen)) == 1) in MQTTFormat_toServerString()
215 &payload, &payloadlen, buf, buflen) == 1) in MQTTFormat_toServerString()
227 if (MQTTDeserialize_ack(&packettype, &dup, &packetid, buf, buflen) == 1) in MQTTFormat_toServerString()
239 topicFilters, requestedQoSs, buf, buflen) == 1) in MQTTFormat_toServerString()
249 …if (MQTTDeserialize_unsubscribe(&dup, &packetid, maxcount, &count, topicFilters, buf, buflen) == 1) in MQTTFormat_toServerString()