Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2015-01-09 20:18:18

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Help understanding 2 lf commands

lf cmdread               
Usage:
<off period> <'0' period> <'1' period> <command> ['h'] -- Modulate LF reader field to send command before read (all periods in microseconds) (option 'h' for 134)

lf snoop
Usage:
['l'|'h'|<divisor>] [trigger threshold]-- Snoop LF (l:125khz, h:134khz)


I need an extensive description of those 2 commands to improve/add them in the GUI. Can someone please help me understanding each single parameter ? Examples ?

<off period> = ?
<'0' period> = ?
<'1' period> = ?
<command> = ?

<divisor> = ?
[trigger threshold] = ?

Offline

#2 2015-01-09 20:31:38

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

lf snoop:

divisor,  if you want a custom low freq (Kilo hertz) to snoop you can manually set it.
Some sample values:
  divisor = 88 ( 134 Khz )
  divisor = 95 ( 125 Khz )

The divisor goes up,  the Khz goes down.

https://github.com/Proxmark/proxmark3/b … fops.c#L73

Offline

#3 2015-01-09 20:33:02

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

Trigger threshold =  don't collect the signal data if it is below this threshold..

Offline

#4 2015-01-09 20:56:30

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: Help understanding 2 lf commands

Thank you Ice !

Is the divisor explanation valid for all lf commands ? Is a range value between 19 and 255 valid for that parameter ?

Offline

#5 2015-01-09 21:07:38

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

the divisor should be the same for all LF commands which uses it.  (only one place in the arm-src)

Remember that your antenna is tuned for a certain Khz...

Offline

#6 2015-01-09 21:11:54

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: Help understanding 2 lf commands

Thanks! Can you write a full command example using [trigger treshold] parameter ?

I am waiting for explanation of "lf cmdread" params:
<off period> = ?
<'0' period> = ?
<'1' period> = ?
<command> = ?

Last edited by asper (2015-01-09 21:12:04)

Offline

#7 2015-01-09 21:17:44

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

  sample:   lf snoop l
                 lf snoop l 200
                 lf snoop 95  
                 lf snoop 95 200

Offline

#8 2015-01-09 21:22:00

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

lf cmdread =

sends a command before reading.

<off period>  = sleeping gap after sending and before reading.
<0 period> = what length in microsec denotes a "0"
<1 period> = what length in mirosec denotes a "1"

Defaults to 125Kz,    option "H"  = is for 134Khz
hrm, but where does it take it's input for the command to send?

Offline

#9 2015-01-09 21:33:48

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: Help understanding 2 lf commands

sample:   lf snoop l
                 lf snoop l 200   --> snoop at 125KHz with treshold = 200
                 lf snoop 95      --> snoop at 125KHz no treshold
                 lf snoop 95 200 --> snoop at 125KHz with treshold = 200

Is this correct ?


The <command> seems to be a parameter... isn't it ?

Offline

#10 2015-01-09 21:57:49

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

problem with the command parameter, is that is only handled as a string..  I don't know if it is supposed to be a binary / hex / decimal  string...   like:   "ff"   or  "1001001"   or "129344"

Offline

#11 2015-01-09 22:00:05

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

aha,  it's supposed to be a binary inputed string..

Sample:
lf cmdread 40 23 48 1001001
lf cmdread 40 23 48 h 1001001

Offline

#12 2015-01-09 22:03:17

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

Where
40 microsec sleeping gap before reading.
23 length of zero in micsec
48 length of one in micsec
1001001 command to send.

In LF it's antenna is power on for x micsec == 0   for y micsec == 1...

Offline

#13 2015-01-09 22:04:51

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: Help understanding 2 lf commands

how many bits for the <command> ?

Offline

#14 2015-01-09 22:13:28

iceman
Administrator
Registered: 2013-04-25
Posts: 9,497
Website

Re: Help understanding 2 lf commands

No limit implemented in code,  limited by UsbPacketSize of 512bytes..  So I suggest you write Max 200-300 chars wink

Offline

Board footer

Powered by FluxBB