constants.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #pragma once
  2. #include <furi_hal_uart.h>
  3. /// Defines the channel that the pwnagotchi uses
  4. #define PWNAGOTCHI_UART_CHANNEL FuriHalUartIdUSART1
  5. /// Defines the baudrate that the pwnagotchi will use
  6. #define PWNAGOTCHI_UART_BAUD 115200
  7. /// Max length of channel data at top left
  8. #define PWNAGOTCHI_MAX_CHANNEL_LEN 4
  9. /// Max length of APS captured at top left
  10. #define PWNAGOTCHI_MAX_APS_LEN 11
  11. /// Max length for uptime
  12. #define PWNAGOTCHI_MAX_UPTIME_LEN 11
  13. /// Maximum length of pwnagotchi hostname
  14. #define PWNAGOTCHI_MAX_HOSTNAME_LEN 11
  15. /// Maximum length of pwnagotchi message
  16. #define PWNAGOTCHI_MAX_MESSAGE_LEN 101
  17. /// Maximum length of handshakes info at the bottom
  18. #define PWNAGOTCHI_MAX_HANDSHAKES_LEN 21
  19. /// Maximum length of a pwnagotchi SSID info displayed at the bottom
  20. #define PWNAGOTCHI_MAX_SSID_LEN 26
  21. /// Maximum length for pwnagotchi friend name and stats
  22. #define PWNAGOTCHI_MAX_FRIEND_STAT_LEN 21
  23. /// Height of flipper screen
  24. #define FLIPPER_SCREEN_HEIGHT 64
  25. /// Width of flipper screen
  26. #define FLIPPER_SCREEN_WIDTH 128