Skorp sub ghz add protocol (#581)

* SubGhz: Add Star Line protocol
* Rollback ReadMe changes
* SubGhz: add shared keystore for keeloq derived protocols.
* SubGhz: add missing key load routine

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
Skorpionm
2021-07-16 19:37:48 +04:00
committed by GitHub
parent a837bc5d00
commit 1a039a86f8
9 changed files with 584 additions and 154 deletions
@@ -2,13 +2,15 @@
#include "subghz_protocol_common.h"
typedef struct SubGhzKeystore SubGhzKeystore;
typedef struct SubGhzProtocolKeeloq SubGhzProtocolKeeloq;
/** Allocate SubGhzProtocolKeeloq
*
* @return SubGhzProtocolKeeloq*
*/
SubGhzProtocolKeeloq* subghz_protocol_keeloq_alloc();
SubGhzProtocolKeeloq* subghz_protocol_keeloq_alloc(SubGhzKeystore* keystore);
/** Free SubGhzProtocolKeeloq
*
@@ -16,15 +18,6 @@ SubGhzProtocolKeeloq* subghz_protocol_keeloq_alloc();
*/
void subghz_protocol_keeloq_free(SubGhzProtocolKeeloq* instance);
/** Loading of manufacture keys
*
* @param instance - SubGhzProtocolKeeloq instance
* @param name - key name
* @param key - manufacture (64bit)
* @param type - type manufacture key
*/
void subghz_protocol_keeloq_add_manafacture_key(SubGhzProtocolKeeloq* instance, const char* name, uint64_t key, uint16_t type);
/** Sends the key on the air
*
* @param instance - SubGhzProtocolKeeloq instance