Skip to content

Packet type: SUBSCRIBE

Dmitry Zavalishin edited this page Feb 3, 2019 · 6 revisions

Packet format is mostly the same as in MQTT, but:

  • No packet ID variable header
  • Only one topic per packet is allowed
  • Requested QoS is ignored

Purpose

Ask senders to resend topic value

Structure

  • Packet type and flags: 0x82
  • Remaining length (1-2 bytes)
  • NO Packet id
  • Topic length (2 bytes)
  • Topic name, UTF-8 string
  • Possible Tagged Tail