xremote_sg_remote.h 582 B

123456789101112131415161718192021
  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. SubGhzRemote* xremote_sg_remote_alloc();
  9. void xremote_sg_remote_free(SubGhzRemote* remote);
  10. bool xremote_sg_remote_load(SubGhzRemote* remote, FuriString* path);
  11. uint32_t xremote_sg_remote_get_frequency(SubGhzRemote* remote);
  12. const char* xremote_sg_remote_get_preset(SubGhzRemote* remote);