subghz_txrx_i.h 608 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "subghz_txrx.h"
  3. struct SubGhzTxRx {
  4. SubGhzWorker* worker;
  5. SubGhzEnvironment* environment;
  6. SubGhzReceiver* receiver;
  7. SubGhzTransmitter* transmitter;
  8. SubGhzProtocolDecoderBase* decoder_result;
  9. FlipperFormat* fff_data;
  10. SubGhzRadioPreset* preset;
  11. SubGhzSetting* setting;
  12. uint8_t hopper_timeout;
  13. uint8_t hopper_idx_frequency;
  14. bool is_database_loaded;
  15. SubGhzHopperState hopper_state;
  16. SubGhzTxRxState txrx_state;
  17. SubGhzSpeakerState speaker_state;
  18. SubGhzTxRxNeedSaveCallback need_save_callback;
  19. void* need_save_context;
  20. };