registry.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #pragma once
  2. #include "../types.h"
  3. #include "princeton.h"
  4. #include "keeloq.h"
  5. #include "star_line.h"
  6. #include "nice_flo.h"
  7. #include "came.h"
  8. #include "faac_slh.h"
  9. #include "nice_flor_s.h"
  10. #include "came_twee.h"
  11. #include "came_atomo.h"
  12. #include "nero_sketch.h"
  13. #include "ido.h"
  14. #include "kia.h"
  15. #include "hormann.h"
  16. #include "nero_radio.h"
  17. #include "somfy_telis.h"
  18. #include "somfy_keytis.h"
  19. #include "scher_khan.h"
  20. #include "gate_tx.h"
  21. #include "raw.h"
  22. #include "firefly.h"
  23. #include "secplus_v2.h"
  24. /**
  25. * Registration by name SubGhzProtocol.
  26. * @param name Protocol name
  27. * @return SubGhzProtocol* pointer to a SubGhzProtocol instance
  28. */
  29. const SubGhzProtocol* subghz_protocol_registry_get_by_name(const char* name);
  30. /**
  31. * Registration protocol by index in array SubGhzProtocol.
  32. * @param index Protocol by index in array
  33. * @return SubGhzProtocol* pointer to a SubGhzProtocol instance
  34. */
  35. const SubGhzProtocol* subghz_protocol_registry_get_by_index(size_t index);
  36. /**
  37. * Getting the number of registered protocols.
  38. * @return Number of protocols
  39. */
  40. size_t subghz_protocol_registry_count();