NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.
Starring:
- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer
Supporting roles:
- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance
Special thanks:
@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 06:08:09 +03:00
|
|
|
#pragma once
|
|
|
|
|
2024-01-19 23:35:37 +03:00
|
|
|
#include "protocols/iso14443_4a/iso14443_4a.h"
|
NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.
Starring:
- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer
Supporting roles:
- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance
Special thanks:
@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 06:08:09 +03:00
|
|
|
#include <toolbox/bit_buffer.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct Iso14443_4Layer Iso14443_4Layer;
|
|
|
|
|
|
|
|
Iso14443_4Layer* iso14443_4_layer_alloc();
|
|
|
|
|
|
|
|
void iso14443_4_layer_free(Iso14443_4Layer* instance);
|
|
|
|
|
|
|
|
void iso14443_4_layer_reset(Iso14443_4Layer* instance);
|
|
|
|
|
|
|
|
void iso14443_4_layer_encode_block(
|
|
|
|
Iso14443_4Layer* instance,
|
|
|
|
const BitBuffer* input_data,
|
|
|
|
BitBuffer* block_data);
|
|
|
|
|
|
|
|
bool iso14443_4_layer_decode_block(
|
|
|
|
Iso14443_4Layer* instance,
|
|
|
|
BitBuffer* output_data,
|
|
|
|
const BitBuffer* block_data);
|
|
|
|
|
2024-01-19 23:35:37 +03:00
|
|
|
Iso14443_4aError iso14443_4_layer_decode_block_pwt_ext(
|
|
|
|
Iso14443_4Layer* instance,
|
|
|
|
BitBuffer* output_data,
|
|
|
|
const BitBuffer* block_data);
|
|
|
|
|
NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.
Starring:
- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer
Supporting roles:
- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance
Special thanks:
@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 06:08:09 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|