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