1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-13 05:06:30 +04:00

[FL-1057] Low frequency RFID app [HID Encoder] (#445)

* App Lfrfid: hid26 timer stage
* App Lfrfid: hid26 encoder
* fully removed old lf-rfid app
* fix codeowners
This commit is contained in:
SG
2021-05-05 17:50:19 +10:00
committed by GitHub
parent 46bc515c6a
commit 469e2dffec
5 changed files with 127 additions and 76 deletions

View File

@@ -341,13 +341,14 @@ void RfidTimerEmulator::start(Type type) {
if(encoders.count(type)) {
current_encoder = encoders.find(type)->second;
uint8_t em_data[5] = {0x53, 0x00, 0x5F, 0xB3, 0xC2};
uint8_t hid_data[3] = {0xED, 0x87, 0x70};
switch(type) {
case Type::EM:
current_encoder->init(em_data, 5);
break;
case Type::HID:
current_encoder->init(nullptr, 3);
current_encoder->init(hid_data, 3);
break;
case Type::Indala:
current_encoder->init(nullptr, 5);