subghz_txrx_i.h 718 B

12345678910111213141516171819202122232425262728293031
  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. const SubGhzDevice* radio_device;
  19. SubGhzRadioDeviceType radio_device_type;
  20. SubGhzTxRxNeedSaveCallback need_save_callback;
  21. void* need_save_context;
  22. bool debug_pin_state;
  23. };