Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer.
[out] | pFixedBuffer | Buffer for packet serialization. |
[in] | packetType | Byte of the corresponding packet fixed header per the MQTT spec. |
[in] | packetId | Packet ID of the publish. |
Example