subghz_txrx_i.h 691 B

1234567891011121314151617181920212223242526272829
  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. };