mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
style
This commit is contained in:
parent
7c9e3c6221
commit
b1c604c4cb
3 changed files with 1409 additions and 1409 deletions
|
@ -499,7 +499,7 @@ end
|
||||||
function segmentsToTag(bytes, tag)
|
function segmentsToTag(bytes, tag)
|
||||||
if(#bytes>23) then
|
if(#bytes>23) then
|
||||||
local start=23
|
local start=23
|
||||||
local i=-1
|
local i=-1
|
||||||
if (istable(tag)) then
|
if (istable(tag)) then
|
||||||
repeat
|
repeat
|
||||||
i=i+1
|
i=i+1
|
||||||
|
@ -1768,7 +1768,7 @@ function getSegmentData(bytes, start, index)
|
||||||
-- wrp (write proteted) = byte 2
|
-- wrp (write proteted) = byte 2
|
||||||
segment.WRP = tonumber(bytes[start+2],16)
|
segment.WRP = tonumber(bytes[start+2],16)
|
||||||
-- wrc (write control) - bit 4-6 of byte 3
|
-- wrc (write control) - bit 4-6 of byte 3
|
||||||
--segment.WRC = bbit("0x"..bytes[start+3],4,3)
|
--segment.WRC = bbit("0x"..bytes[start+3],4,3)
|
||||||
segment.WRC = (tonumber(bytes[start+3], 16) >> 4) & 0x07
|
segment.WRC = (tonumber(bytes[start+3], 16) >> 4) & 0x07
|
||||||
-- rd (read disabled) - bit 7 of byte 3
|
-- rd (read disabled) - bit 7 of byte 3
|
||||||
--segment.RD = bbit("0x"..bytes[start+3],7,1)
|
--segment.RD = bbit("0x"..bytes[start+3],7,1)
|
||||||
|
|
2812
client/src/atrs.h
2812
client/src/atrs.h
File diff suppressed because it is too large
Load diff
|
@ -13003,6 +13003,6 @@
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"commands_extracted": 749,
|
"commands_extracted": 749,
|
||||||
"extracted_by": "PM3Help2JSON v1.00",
|
"extracted_by": "PM3Help2JSON v1.00",
|
||||||
"extracted_on": "2024-11-20T23:37:32"
|
"extracted_on": "2024-11-22T02:17:04"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue