Skip to content

Conversation

@DrZlo13
Copy link
Member

@DrZlo13 DrZlo13 commented Aug 14, 2022

What's new

New protocols:

  • Indala26 (covers almost all Indala PSK cards)
  • AWID
  • FDX-A
  • FDX-B
  • 96-bit HID protocol (covers up to HID 40-bit)
  • 192-bit HID protocol (covers HID extended)
  • RAW RFID data recording

Verification

  • Use the LF-RFID application as usual, try to read, emulate, write new protocols.

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@kubrickfr
Copy link

But, before this PR, the device LED was flashing yellow when detecting a device, now there is no visual clue at all that at least "something" is working.

d8b8f74 fixed it. Thank you @DrZlo13

@DrZlo13 DrZlo13 requested review from hedger and removed request for wosk August 22, 2022 19:00
DrZlo13 and others added 3 commits August 23, 2022 08:48
There appear to be extended HID Proximity keys that are longer than 37 bits that fit into a 44-bit payload (88 raw bits after Manchester encoding, plus the 0x1D preamble for a total of 96 raw bits). These keys don't start with 0b100111 like some extended HID keys supposedly do.

One way to detect these keys is to see if any of the first six bits in the 44-bit payload is a 1. If so, the key is longer than 37 bits. This means the longest key that can fit into a 44-bit payload is 43 bits (the first bit is a 1, followed by 43 key bits).

Also fixed a bug rendering the first nibble of a HID key in `protocol_hid_generic_string_cat_protocol_bits`.

Tested by running `raw_analyze` on known RFID captures:

```
rfid raw_analyze /ext/hid40.raw
...
   Frequency: 125000.000000
  Duty Cycle: 0.500000
       Warns: 0
   Pulse sum: 25415
Duration sum: 40179
     Average: 0.632544
    Protocol: HIDProx [1X XX XX XX XX X0]
 Description:
40-bit HID Proximity
Data: XXXXXXXXXX
```
```
rfid raw_analyze /ext/hid36.raw
...
   Frequency: 125000.000000
  Duty Cycle: 0.500000
       Warns: 0
   Pulse sum: 28080
Duration sum: 41618
     Average: 0.674708
    Protocol: HIDProx [03 XX XX XX XX X0]
 Description:
36-bit HID Proximity
Data: XXXXXXXXX
```
@github-actions
Copy link

github-actions bot commented Aug 23, 2022

PVS-Studio report for commit dc382ea4:

@Tozapid
Copy link

Tozapid commented Aug 23, 2022

Unfortunately not working on my pets. They have ISO Transponder Microchip 2.12*12mm, think this one - https://www.animal-microchip.com/sale-9568205-professional-iso-transponder-microchip-2-12-12mm-for-animals-identification.html

R/W STANDARD: ISO 11784/5 FDX-B 134.2khz

But with your branch there is no reaction at all. On version 0.64.3, I can see the LED indication that the chip is responding

Upd. My mistake, I had to choose Extra Actions in the menu. So, now I see that LED is blinking green(or yellow, not sure), but still not reading the microchip

Upd2. Found the spot:) Thank you! It is works
Screenshot-20220823-155700

@skotopes skotopes merged commit 9bfb641 into dev Aug 23, 2022
@skotopes skotopes deleted the zlo/lf-rfid-overhaul branch August 23, 2022 15:57
@DrZlo13 DrZlo13 restored the zlo/lf-rfid-overhaul branch August 24, 2022 12:48
@skotopes skotopes deleted the zlo/lf-rfid-overhaul branch October 16, 2022 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Feature Contains an IMPLEMENTATION of a new feature RFID 125kHz 125, 134 kHz RFID UI Affects UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants