Jack Hansdampf
/
MQTT_HelloENC28J60
MQTT client to test the ENC28J60-EMAC on NUCLEO-L152RE
Diff: main.cpp
- Revision:
- 2:2a16a9f4509c
- Parent:
- 1:1c2544eafc9c
- Child:
- 4:f8abf1fc6615
--- a/main.cpp Fri Mar 26 16:35:09 2021 +0000 +++ b/main.cpp Sat Mar 27 22:46:17 2021 +0000 @@ -10,6 +10,7 @@ #define NETMASK "255.255.255.0" #define BROKER_IP "192.168.1.31" // IP address of your MQTT broker. Change to match your case. #define MQTT_PORT 1883 // MQTT port + const uint8_t MAC[6] = { 0, 1, 2, 3, 4, 5 }; // Global variables