SubGhz: Oregon v2.1 decoder (#1678)

* Oregon v2.1 decoder
* Refactor FSM to switch
* Refactor headers
* Format strings
* Unit tests of oregon2
* Cleanups
* Add oregon2 raw data to random_test_raw.sub
* Adjust count of packets detected on random test
* Format sources

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Max Lapan
2022-09-19 16:24:24 +02:00
committed by GitHub
parent c7cd5721ed
commit d003db0404
7 changed files with 375 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
#pragma once
#include "base.h"
#define SUBGHZ_PROTOCOL_OREGON2_NAME "Oregon2"
extern const SubGhzProtocol subghz_protocol_oregon2;