config.h 979 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef OBOO_CARD_MANAGER_CONFIG_H
  2. #define OBOO_CARD_MANAGER_CONFIG_H
  3. #define OB_TOP_BAR_RES 24
  4. #define OB_SPLASH_SCREEN_ENABLED 1
  5. #define OB_PC_SIMULATOR 0
  6. #define USE_OB_THEME_OBOO 1 /*Oboo Smart Clock Theme*/
  7. /*Card view (dependencies: lv_page, lv_btnm)*/
  8. #define USE_OB_CARDVIEW 1
  9. #if USE_OB_CARDVIEW != 0
  10. #define OB_CARDVIEW_ANIM_TIME 150 /*Time of slide animation [ms] (0: no animation)*/
  11. #endif
  12. /*Calendar element default size */
  13. #define OB_CAL_DEFAULT_WIDTH 230
  14. #define OB_CAL_DEFAULT_HEIGHT 240
  15. /*Status bar*/
  16. #define USE_OB_STATUSBAR 1
  17. /*MQ settings*/
  18. #define MQ_HOST "localhost"
  19. #define MQ_HOST_PORT 1883
  20. #define MQ_CARD_TOPIC "/card"
  21. #define MQ_STATUS_TOPIC "/status"
  22. #define MQ_CARD_RESPONSE_TOPIC "/cardResponse"
  23. #define MQ_NOTIFICATION_TOPIC "/notification"
  24. /*General*/
  25. #define MAX_CHAR_LEN 256
  26. #endif // OBOO_CARD_MANAGER_CONFIG_H