Skip to content

Commit 376436c

Browse files
committed
Additional README notes
1 parent 258e46b commit 376436c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@ Courses of action to try in the event the LF coil signal is too weak:
77
- Attempt downstream modulation techniques, in addition to upstream, like the LF RFID worker does when writing
88
- Introduce a subcarrier at ~125kHz, and OOK modulate it at the desired freq of bits (~4kHz)
99
- Implement using the timer system, rather than direct-writing to pins
10-
- Use the NFC (HF RFID) coil instead of or in addition to the LF coil
10+
- Use the NFC (HF RFID) coil instead of or in addition to the LF coil (this is promising in my mind; Samsung Wallet's discontinued magstripe emulation would've been over their NFC coil, most likely)
1111
- Scrap all this and stick to using an external module for TX (could likely simplify to just a resistor and some coiled wire, rather than the full H-bridge build)
12+
13+
Other misc things to investigate / build:
14+
- File format, manual add, saving / loading
15+
- Ideal timing / speed
16+
- Precomputing bit output, and then sending ("RedSpoof" by devBioS does this, as they say they had timing issues when computing the bits live)
17+
- Reverse-track emulate?
18+
- Tuning of parameters like pre-signal zeros?
19+
- "Interpacket delay" like the RedSpoof implementation?

scenes/mag_scene_emulate_test.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#define PIN_A 0
44
#define PIN_B 1 // currently unused
5-
#define CLOCK_US 250 // typically set between 200-500us
5+
#define CLOCK_US 240 // typically set between 200-500us
66
#define TEST_STR "%B123456781234567^LASTNAME/FIRST^YYMMSSSDDDDDDDDDDDDDDDDDDDDDDDDD?;1234567812?"
77
// TODO: better way of setting temp test str,
88
// text wrapping on screen? (Will be relevant for any loaded data too)
@@ -167,9 +167,12 @@ bool mag_scene_emulate_test_on_event(void *context, SceneManagerEvent event) {
167167
// Hardcoding a test string for the time being, while we debug/improve LF RFID TX
168168
FuriString *v = furi_string_alloc();
169169
furi_string_set_str(v, test_str);
170+
171+
// blink led while spoofing
170172
notification_message(mag->notifications, &sequence_blink_start_magenta);
171173
mag_spoof(v, 0);
172174
notification_message(mag->notifications, &sequence_blink_stop);
175+
173176
furi_string_free(v);
174177
} else if (event.event == GuiButtonTypeLeft) {
175178
consumed = true;

0 commit comments

Comments
 (0)