2022-03-03 12:48:56 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../types.h"
|
|
|
|
|
2022-04-14 15:49:29 +03:00
|
|
|
#include "princeton.h"
|
|
|
|
#include "keeloq.h"
|
|
|
|
#include "star_line.h"
|
|
|
|
#include "nice_flo.h"
|
|
|
|
#include "came.h"
|
|
|
|
#include "faac_slh.h"
|
|
|
|
#include "nice_flor_s.h"
|
|
|
|
#include "came_twee.h"
|
|
|
|
#include "came_atomo.h"
|
|
|
|
#include "nero_sketch.h"
|
|
|
|
#include "ido.h"
|
|
|
|
#include "kia.h"
|
|
|
|
#include "hormann.h"
|
|
|
|
#include "nero_radio.h"
|
|
|
|
#include "somfy_telis.h"
|
|
|
|
#include "somfy_keytis.h"
|
|
|
|
#include "scher_khan.h"
|
|
|
|
#include "gate_tx.h"
|
|
|
|
#include "raw.h"
|
2022-04-29 15:17:42 +03:00
|
|
|
#include "firefly.h"
|
2022-04-14 15:49:29 +03:00
|
|
|
|
2022-03-16 12:18:48 +03:00
|
|
|
/**
|
|
|
|
* Registration by name SubGhzProtocol.
|
|
|
|
* @param name Protocol name
|
|
|
|
* @return SubGhzProtocol* pointer to a SubGhzProtocol instance
|
|
|
|
*/
|
2022-03-03 12:48:56 +03:00
|
|
|
const SubGhzProtocol* subghz_protocol_registry_get_by_name(const char* name);
|
|
|
|
|
2022-03-16 12:18:48 +03:00
|
|
|
/**
|
|
|
|
* Registration protocol by index in array SubGhzProtocol.
|
|
|
|
* @param index Protocol by index in array
|
|
|
|
* @return SubGhzProtocol* pointer to a SubGhzProtocol instance
|
|
|
|
*/
|
2022-03-03 12:48:56 +03:00
|
|
|
const SubGhzProtocol* subghz_protocol_registry_get_by_index(size_t index);
|
|
|
|
|
2022-03-16 12:18:48 +03:00
|
|
|
/**
|
|
|
|
* Getting the number of registered protocols.
|
|
|
|
* @return Number of protocols
|
|
|
|
*/
|
2022-03-03 12:48:56 +03:00
|
|
|
size_t subghz_protocol_registry_count();
|