subghz_txrx_i.h 699 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. */
  11. SubGhzRadioPreset* preset;
  12. SubGhzSetting* setting;
  13. uint8_t hopper_timeout;
  14. uint8_t hopper_idx_frequency;
  15. bool is_database_loaded;
  16. SubGhzHopperState hopper_state;
  17. SubGhzTxRxState txrx_state;
  18. SubGhzSpeakerState speaker_state;
  19. const SubGhzDevice* radio_device;
  20. SubGhzRadioDeviceType radio_device_type;
  21. /*SubGhzTxRxNeedSaveCallback need_save_callback;
  22. void* need_save_context;*/
  23. };