Encodes a PUBACK packet (the QoS 1 acknowledgement).
The packet identifier of the PUBLISH being acknowledged.
The PUBACK bytes.
1.0.0
import { encodePubAck } from 'edgeport/mqtt';const bytes = encodePubAck(7); Copy
import { encodePubAck } from 'edgeport/mqtt';const bytes = encodePubAck(7);
Encodes a PUBACK packet (the QoS 1 acknowledgement).