mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fixng the read command 0-31bytes
This commit is contained in:
parent
72d51a7774
commit
cbff5bcace
1 changed files with 6 additions and 4 deletions
|
@ -169,14 +169,16 @@ function main(args)
|
||||||
res, err = send(payload , {ignore_response = false, append_crc = true})
|
res, err = send(payload , {ignore_response = false, append_crc = true})
|
||||||
if err then return end
|
if err then return end
|
||||||
|
|
||||||
local data = getdata(res)
|
local d0_d15 = getdata(res)
|
||||||
|
|
||||||
payload = "80"
|
payload = "80"
|
||||||
res, err = send(payload, {ignore_response = true, append_crc = false})
|
res, err = send(payload, {ignore_response = false, append_crc = false})
|
||||||
if err then return end
|
if err then return end
|
||||||
|
|
||||||
print(block, data)
|
local d16_d31 = getdata(res)
|
||||||
table.insert(block_data, data)
|
|
||||||
|
print(block, d0_d15, d16_d31)
|
||||||
|
table.insert(block_data, d0_d15..d16_31)
|
||||||
end
|
end
|
||||||
print("----+------------------")
|
print("----+------------------")
|
||||||
lib14a.disconnect()
|
lib14a.disconnect()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue