forked from flipperdevices/flipperzero-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement RPC mode for NFC app (flipperdevices#3096)
Co-authored-by: gornekich <[email protected]>
- Loading branch information
1 parent
8e02c9f
commit 664248a
Showing
7 changed files
with
121 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include "../helpers/protocol_support/nfc_protocol_support.h" | ||
|
||
void nfc_scene_rpc_on_enter(void* context) { | ||
nfc_protocol_support_on_enter(NfcProtocolSupportSceneRpc, context); | ||
} | ||
|
||
bool nfc_scene_rpc_on_event(void* context, SceneManagerEvent event) { | ||
return nfc_protocol_support_on_event(NfcProtocolSupportSceneRpc, context, event); | ||
} | ||
|
||
void nfc_scene_rpc_on_exit(void* context) { | ||
nfc_protocol_support_on_exit(NfcProtocolSupportSceneRpc, context); | ||
} |