node-red-config.h 558 B

1234567891011121314151617181920212223242526
  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. // Static IP for cases when DHCP is not used or fails.
  15. #define STATIC_IP "192.168.1.10"
  16. #define STATIC_GW "192.168.1.0"
  17. #define STATIC_MASK "255.255.255.0"
  18. #define BROKER_IP "192.168.1.34"
  19. #define MQTT_PORT 1883
  20. #endif /* INC_NODE_RED_CONFIG_H_ */