Hi,
What did you do to get this working?
I get all the time
"MQTT connection failed, rc=-2"
Here is my code:
#include <NativeEthernet.h> //for teensy 4.1
#include <PubSubClient.h>
byte NETWORK_MAC[] = { 0xDE, 0xAA, 0xBE, 0xEF, 0xF3, 0x08 };
IPAddress NETWORK_IP (192,168,1,31); //static...