server.h 424 B

1234567891011121314151617181920212223
  1. /*
  2. * server.h
  3. *
  4. * Created on: Jan 4, 2018
  5. * Author: sebastian
  6. */
  7. #ifndef SERVER_H_
  8. #define SERVER_H_
  9. #define SERVER_PORT 4242
  10. #define SERVER_CMD_ON "turnon"
  11. #define SERVER_CMD_OFF "turnoff"
  12. #define SERVER_CMD_STATUS "status"
  13. #define SERVER_CMD_BREW "brew"
  14. #define SERVER_CMD_STRIPEON "stripeon"
  15. #define SERVER_CMD_STRIPEOFF "stripeoff"
  16. void *serverThread(void *threadid);
  17. #endif /* SERVER_H_ */