/* Serializes a pubrel packet into the supplied buffer.  */
int mqtt_serialize_pubcomp(unsigned char *buf, int buflen, unsigned short packetid)
/* Serializes a pubrel packet into the supplied buffer.  */
int mqtt_serialize_pubcomp(unsigned char *buf, int buflen, unsigned short packetid)
{
	return mqtt_serialize_ack(buf, buflen, MQTTPACKET_PUBCOMP, 0, packetid);
}