Skip to content

Instantly share code, notes, and snippets.

@robbie-cao
Last active August 31, 2016 12:58
Show Gist options
  • Save robbie-cao/98b8f77d1e60b4fad350239d36bd7093 to your computer and use it in GitHub Desktop.
Save robbie-cao/98b8f77d1e60b4fad350239d36bd7093 to your computer and use it in GitHub Desktop.
pn532-writeurl
root@mylinkit:/# pn532-writeurl
writeCommand: Sending:
writeCommand: cmdlen + 8 = 10, offset = 8
0x00 0x00 0xff 0x02 0xfe 0xd4 0x02 0x2a 0x00 0x00
sendCommandCheckAck: IRQ received
readData: read returned 8bytes
(raw) buf (8) = 0x81 0x00 0x00 0xff 0x00 0xff 0x00 0x02
(returned) buf (6) =
0x00 0x00 0xff 0x00 0xff 0x00
readData: read returned 14bytes
(raw) buf (14) = 0x81 0x00 0x00 0xff 0x06 0xfa 0xd5 0x03 0x32 0x01 0x06 0x07 0xe8 0x00
(returned) buf (12) =
0x00 0x00 0xff 0x06 0xfa 0xd5 0x03 0x32 0x01 0x06 0x07 0xe8
Got firmware version: 0x00320106
writeCommand: Sending:
writeCommand: cmdlen + 8 = 14, offset = 12
0x00 0x00 0xff 0x06 0xfa 0xd4 0x32 0x05 0xff 0x01 0xff 0xf6 0x00 0x00
sendCommandCheckAck: Not ready, timeout
writeCommand: Sending:
writeCommand: cmdlen + 8 = 13, offset = 11
0x00 0x00 0xff 0x05 0xfb 0xd4 0x14 0x01 0x14 0x01 0x02 0x00 0x00
sendCommandCheckAck: Not ready, timeout
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
sendCommandCheckAck: Not ready, timeout
readPassiveTargetID: No card(s) read
Waiting for a card...
writeCommand: Sending:
writeCommand: cmdlen + 8 = 12, offset = 10
0x00 0x00 0xff 0x04 0xfc 0xd4 0x4a 0x01 0x00 0xe1 0x00 0x00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment