---
title: "MQTT library with IPv6"
url: "https://maker.wiznet.io/teju/projects/mqtt-library-with-ipv6/"
markdown_url: "https://maker.wiznet.io/teju/projects/mqtt-library-with-ipv6/md"
type: "UCC: User Created Content"
author: "bbkic"
author_url: "https://www.tumpik.com/bbkic"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "bbkic"
original_url: "https://www.tumpik.com/bbkic"
published: "2022-11-01"
language: "en"
hardware: ["WIZnet W6100-EVB"]
likes: 3
views: 1005
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# MQTT library with IPv6

> MQTT library with IPv6 support With the WIZnet W6100 chip, it is very easy to do.

Original author: bbkic (source: https://www.tumpik.com/bbkic)

## Components

- **WIZnet W6100-EVB** x 1 ([docs](https://docs.wiznet.io/Product/iEthernet/W6100/w6100-evb))

## Article

MQTT library with IPv6

MQTT library with IPv6 support

With the WIZnet W6100 chip, it is very easy to do.

You can download the source code from the link below.

https://github.com/WIZnet-ioLibrary/W6100EVB-MQTT

However, only Subscribe is currently supported, and improvements will be made gradually.

![Tumblr media](https://64.media.tumblr.com/8f3c106c4ef69e82b4f878980f07b6de/tumblr_inline_pr7s5xXw2V1vss9ba_540.pnj)

Tests are from the all-famous test.mosquitto.org

![Tumblr media](https://64.media.tumblr.com/80e1c2ba9ff7f22886f292cae0f5a4b9/tumblr_inline_pr7s6prQpH1vss9ba_540.pnj)

There are many examples of connecting with IPv4, but the case of using IPv6 is still rare.

Take the lead first. IPv6 world

The resulting serial log is shown below. This is an example of printing the published message to the serial terminal.

![Tumblr media](https://64.media.tumblr.com/86eba726e9f4beb23e60510162d67124/tumblr_inline_pr7s8hghTN1vss9ba_540.pnj)

---

Source: https://maker.wiznet.io/teju/projects/mqtt-library-with-ipv6/
