node-red-config.h 662 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * node-red-config.h
  3. *
  4. * Created on: Jun 14, 2024
  5. * Author: jakubski
  6. */
  7. #ifndef INC_NODE_RED_CONFIG_H_
  8. #define INC_NODE_RED_CONFIG_H_
  9. #include "lwip.h"
  10. #define FEATURE_ON 1
  11. #define FEATURE_OFF 0
  12. #define USE_DHCP LWIP_DHCP // LWIP_DHCP defined in lwipopts.h
  13. #define DHCP_USER_LOGS FEATURE_ON
  14. #define UART_TASK_LOGS FEATURE_ON
  15. // Static IP for cases when DHCP is not used or fails.
  16. #define STATIC_IP "192.168.1.10"
  17. #define STATIC_GW "192.168.1.0"
  18. #define STATIC_MASK "255.255.255.0"
  19. #define BROKER_IP "192.168.3.34"
  20. #define MQTT_PORT 1883
  21. #define MEASURMENTS_SCHEDULER_INTERVAL_MS 1000
  22. //#define USER_MOCKS
  23. #endif /* INC_NODE_RED_CONFIG_H_ */