9 years, 1 month ago.

MQTT on F401RE

I found an MQTT client on mbed (the one in the IDE search written by 'Team MQTT'). However, it appears to require an EthernetInterface.h library, and the board I am working with only has wifi (I am using the X_NUCLEO_IDW01M1 wifi library).

How would I set up an MQTT client to use a different network interface?

1 Answer

9 years ago.

I don't think anyone made the X_NUCLEO_IDW01M1 work with the MQTT client library, but... the X_NUCLEO_IDW01M1 library has all the required parts to make it work (sockets mainly). You'll need to do a bit of plumbing though, but there's plenty of inspiration in these projects. Also contains a version which uses ESP8266 WiFi module.