constants.h 1017 B

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