parent
02cf0b3d60
commit
a2b022609f
8 changed files with 13 additions and 13 deletions
|
|
@ -108,7 +108,7 @@ target_io( nfc_target *pnt, const uint8_t *pbtInput, const size_t szInput, uint8
|
|||
case 0xe0: // RATS (ISO14443-4)
|
||||
// Send ATS
|
||||
*pszOutput = pnt->nti.nai.szAtsLen + 1;
|
||||
pbtOutput[0] = pnt->nti.nai.szAtsLen + 1; // ISO14443-4 says that ATS contains ATS_Lenght as first byte
|
||||
pbtOutput[0] = pnt->nti.nai.szAtsLen + 1; // ISO14443-4 says that ATS contains ATS_Length as first byte
|
||||
if(pnt->nti.nai.szAtsLen) {
|
||||
memcpy(pbtOutput+1, pnt->nti.nai.abtAts, pnt->nti.nai.szAtsLen);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ nfc-emulate-uid \- NFC target emulation command line tool based on libnfc
|
|||
.RI [ UID ]
|
||||
.SH DESCRIPTION
|
||||
.B nfc-emulate-uid
|
||||
is a tag emulation tool that allows to choose any tag UID. Tag emulation is one
|
||||
is a tag emulation tool that allows one to choose any tag UID. Tag emulation is one
|
||||
of the main added features in NFC. But to avoid abuse of existing systems,
|
||||
manufacturers of the NFC controller intentionally did not support emulation of
|
||||
fully customized UID but only of "random" UIDs, which always start with 0x08.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue