This commit is contained in:
2021-01-09 22:01:21 +01:00
commit 4b3e3a3710
38 changed files with 3231 additions and 0 deletions

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

@ -0,0 +1,11 @@
#include <stdint.h>
// on the W5500 there are eight ports available
const uint8_t DHCP_SOCK = 0;
const uint8_t MQTT_SOCK = 1;
const uint8_t CMD_SOCK = 2;
const uint8_t SYSLOG_SOCK = 3;
const uint8_t DNS_SOCK = 4;