---
title: "MQTT API reference"
symbol_kind: "intro"
decl_name: "mqtt.h"
items:
  - { name: mg_set_protocol_mqtt.md }
  - { name: mg_send_mqtt_handshake.md }
  - { name: mg_send_mqtt_handshake_opt.md }
  - { name: mg_mqtt_publish.md }
  - { name: mg_mqtt_subscribe.md }
  - { name: mg_mqtt_unsubscribe.md }
  - { name: mg_mqtt_disconnect.md }
  - { name: mg_mqtt_connack.md }
  - { name: mg_mqtt_puback.md }
  - { name: mg_mqtt_pubrec.md }
  - { name: mg_mqtt_pubrel.md }
  - { name: mg_mqtt_pubcomp.md }
  - { name: mg_mqtt_suback.md }
  - { name: mg_mqtt_unsuback.md }
  - { name: mg_mqtt_ping.md }
  - { name: mg_mqtt_pong.md }
  - { name: mg_mqtt_next_subscribe_topic.md }
  - { name: struct_mg_mqtt_topic_expression.md }
---



