start mqtt stuff

This commit is contained in:
2020-11-10 15:56:07 +01:00
parent 8a36a3da82
commit 662a440179
6 changed files with 129 additions and 3 deletions

8
cube/User/Src/ports.c Normal file
View File

@ -0,0 +1,8 @@
#include <stdint.h>
// on the W5500 there are eight ports available
const uint8_t DHCP_SOCK = 0;
const uint8_t MQTT_SOCK = 1;