[FL-1424] NFC emulate CLI command (#514)

* nfc: move cli commands to separate file
* nfc: add nfc_emulate CLI command
* nfc: rework nfc emulate call from gui
* nfc: deactivate nfc state machine when exiting worker

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2021-06-10 15:01:48 +03:00
committed by GitHub
parent 4ad5245969
commit 3a2121bbb8
7 changed files with 87 additions and 138 deletions

View File

@@ -0,0 +1,9 @@
#pragma once
#include <cli/cli.h>
void nfc_cli_init();
void nfc_cli_detect(Cli* cli, string_t args, void* context);
void nfc_cli_emulate(Cli* cli, string_t args, void* context);