registry.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #include "secplus_v1.h"
  25. /**
  26. * Registration by name SubGhzProtocol.
  27. * @param name Protocol name
  28. * @return SubGhzProtocol* pointer to a SubGhzProtocol instance
  29. */
  30. const SubGhzProtocol* subghz_protocol_registry_get_by_name(const char* name);
  31. /**
  32. * Registration protocol by index in array SubGhzProtocol.
  33. * @param index Protocol by index in array
  34. * @return SubGhzProtocol* pointer to a SubGhzProtocol instance
  35. */
  36. const SubGhzProtocol* subghz_protocol_registry_get_by_index(size_t index);
  37. /**
  38. * Getting the number of registered protocols.
  39. * @return Number of protocols
  40. */
  41. size_t subghz_protocol_registry_count();