xremote_sg_remote.h 648 B

12345678910111213141516171819202122
  1. #pragma once
  2. //#include "../../xremote_i.h"
  3. #include "subghz_i.h"
  4. //#include <lib/subghz/protocols/protocol_items.h>
  5. //extern const SubGhzProtocolRegistry subghz_protocol_registry;
  6. typedef struct SubGhzRemote SubGhzRemote;
  7. const char* xremote_sg_remote_get_name(SubGhzRemote* remote);
  8. const char* xremote_sg_remote_get_filename(SubGhzRemote* remote);
  9. SubGhzRemote* xremote_sg_remote_alloc();
  10. void xremote_sg_remote_free(SubGhzRemote* remote);
  11. bool xremote_sg_remote_load(SubGhzRemote* remote, FuriString* path);
  12. uint32_t xremote_sg_remote_get_frequency(SubGhzRemote* remote);
  13. const char* xremote_sg_remote_get_preset(SubGhzRemote* remote);