From 0187d204a0bc8d00c28e888f09910aa9f21dbdf6 Mon Sep 17 00:00:00 2001 From: Zachary Weiss Date: Wed, 28 Dec 2022 23:28:37 -0500 Subject: [PATCH] Missed a spot! --- README.md | 2 +- scenes/mag_scene_emulate_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00f8a408af9..d0d66dfd7f3 100644 --- a/README.md +++ b/README.md @@ -21,5 +21,5 @@ Other misc things to investigate / build: HF coil notes: -NFC reader field can be turned on / off with `furi_hal_nfc_field_on();` and `furi_hal_nfc_field_off();` respectively, as seen in nfc_scene_field.c (used for debug purposes). Initial tests with `furi_hal_nfc_field_on();` are promising signal-wise, but the delay introduced by the wake/sleep initialization renders it impossible to toggle rapidly. At a lower level, that consists of `furi_hal_nfc_exit_sleep();` and `st25r3916TxRxOn();` to turn on, and `st25r3916TxRxOff();` and `furi_hal_nfc_start_sleep();` to turn off. May be worth trying directly (wake from sleep at setup, toggle on and off corresponding with bit direction, send to sleep on exit). Initial tests have been difficult to get work as some of the st25r3916 symbols are unresolved; need to figure out how to import and call it properly, or how to get another layer lower of control. +NFC reader field can be turned on / off with `furi_hal_nfc_field_on();` and `furi_hal_nfc_field_off();` respectively, as seen in nfc_scene_field.c (used for debug purposes). Initial tests with `furi_hal_nfc_field_on();` are promising signal-wise, but the delay introduced by the wake/sleep initialization renders it impossible to toggle rapidly. At a lower level, that consists of `furi_hal_nfc_exit_sleep();` and `st25r3916TxRxOn();` to turn on, and `st25r3916TxRxOff();` and `furi_hal_nfc_start_sleep();` to turn off. May be worth trying directly (wake from sleep at setup, toggle on and off corresponding with bit direction, send to sleep on exit). Initial tests have been difficult to get work as some of the st25r3916 symbols are unresolved; need to figure out how to import/call it properly, or how to get another layer lower of control. diff --git a/scenes/mag_scene_emulate_test.c b/scenes/mag_scene_emulate_test.c index 7d0bcb88156..70f582cd196 100644 --- a/scenes/mag_scene_emulate_test.c +++ b/scenes/mag_scene_emulate_test.c @@ -73,7 +73,7 @@ static void mag_spoof(FuriString *track_str, uint8_t track) { furi_hal_ibutton_pin_low(); // NFC TEST - furi_hal_nfc_exit_sleep(); + //furi_hal_nfc_exit_sleep(); // Initializing at GpioSpeedLow seems sufficient for our needs; no improvements seen by increasing speed setting