Skip to content

Commit

Permalink
Missed a spot!
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyweiss committed Dec 29, 2022
1 parent 9d92e65 commit 0187d20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

2 changes: 1 addition & 1 deletion scenes/mag_scene_emulate_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0187d20

Please sign in to comment.