Conversation
wosk
left a comment
There was a problem hiding this comment.
The code is quite large to be reviewed in full, so I stopped on lib\nfc\protocols\iso14443_3b\iso14443_3b.c =)
Overall this is very good code! Thanks!
Here are the traces @gornekich : traces.zip The files are named |
|
@noproto Thanks a lot for the effort! The sniffer data you have provided did clarify things quite a bit. It turns out that at least in one instance, a DESFire card responds with an unexpected amount of data to the GetFileSettings command. This discrepancy was ignored in the pre-refactoring version, but it's unclear whether that data was valid or just garbage. It may be some new addition to the proprietary DESFire protocol. In any case, I would like to have some more logs from you :) Please fetch the last commit on |
|
|
||
| instance->signal = iso15693_signal_alloc(&gpio_spi_r_mosi); | ||
| instance->parser = | ||
| iso15693_parser_alloc(&gpio_spi_r_miso, FURI_HAL_NFC_ISO15693_MAX_FRAME_SIZE); |
There was a problem hiding this comment.
The use of MISO here is an issue. It breaks emulation against readers that use ASK modulation instead of OOK modulation. For example legacy iClass readers flipperdevices/flipperzero-good-faps#62 (comment)
The previous code uses the IRQ line instead as per
flipperzero-firmware/lib/nfc/protocols/nfcv.c
Line 1223 in 35c9034
Note that due to the diode on the IRQ line, using that pin requires enabling a PullDown which the old code achieved here:
flipperzero-firmware/lib/nfc/protocols/nfcv.c
Line 1229 in 35c9034
|
Hi there. Is there anyone who can guide me a bit to install qflipper on Linux Ubuntu? The image doesn't do anything. Or is there an online terminal with q flipper as the firmware cannot be updated through the phone app and its always crashing bus fault'. Its been stuck on 0.92. All the best. Blessing everyone 1.0.x |
|
|
I tried mostly everything. I guess I should try easier on windows. Thanks a lot 🙏 |
Per the comment at the top of the file, defining DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN to be a GpioPin variable name should allow additional debug output on that pin. However, this would not work without modifying the file as well to add the furi_hal.h header. Wrap including that header in the same macro define to automatically include it when used. Fixes: d92b0a8 ("NFC refactoring (flipperdevices#3050)") Signed-off-by: Kris Bahnsen <Kris@KBEmbedded.com>
…fs (#3964) Per the comment at the top of the file, defining DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN to be a GpioPin variable name should allow additional debug output on that pin. However, this would not work without modifying the file as well to add the furi_hal.h header. Wrap including that header in the same macro define to automatically include it when used. Fixes: d92b0a8 ("NFC refactoring (#3050)") Signed-off-by: Kris Bahnsen <Kris@KBEmbedded.com> Co-authored-by: hedger <hedger@users.noreply.github.com>
What's new
Verification
Checklist (For Reviewer)