22e1ecb642
* Hal lfrfid: add read timer pulse and period config fns * New debug application for lfrfid subsystem * New lfrfid: app, fix naming * App lfrfid: assets * Container view module * App ibutton: remove unused header * App lfrfid scenes * App notification, add yield to blocking operations, add speaker volume control * App lfrfid: reading key scene * Assets: placeholder icon * App lfrfid: reworked container view module * App lfrfid: new scenes * App lfrfid: write scene * App lfrfid: write hid * App lfrfid: emulate scene * App lfrfid: save name scene * App lfrfid: add missing file
23 lines
634 B
C++
23 lines
634 B
C++
#pragma once
|
|
#include "protocol-generic.h"
|
|
|
|
class ProtocolEMMarin : public ProtocolGeneric {
|
|
public:
|
|
uint8_t get_encoded_data_size() final;
|
|
uint8_t get_decoded_data_size() final;
|
|
|
|
void encode(
|
|
const uint8_t* decoded_data,
|
|
const uint8_t decoded_data_size,
|
|
uint8_t* encoded_data,
|
|
const uint8_t encoded_data_size) final;
|
|
|
|
void decode(
|
|
const uint8_t* encoded_data,
|
|
const uint8_t encoded_data_size,
|
|
uint8_t* decoded_data,
|
|
const uint8_t decoded_data_size) final;
|
|
|
|
bool can_be_decoded(const uint8_t* encoded_data, const uint8_t encoded_data_size) final;
|
|
};
|