|
Chameleon-Mini
|
The ChameleonMini is able to act as an ISO 14443A reader. This page describes how to use this configuration (See Configurations) correctly.
Using the ISO 14443A reader configuration enables the usage of some commands that are only available within this configuration.
SEND and SEND_RAW commands are also timeout commands, but they end successfully (either with NO DATA or the response) nearly immediately on every call.INVALID COMMAND USAGE on a non-reader configuration.SEND <BYTEVALUE> There are two cases what is done, depending on the parameter:
After sending, the ChameleonMini waits for an answer and returns either
NO DATA if no answer could be detected orPARITY OK or PARITY ERR indicating whether the parity check failed or not.In each case, the ChameleonMini code 101:OK WITH TEXT is returned.
SEND 52 sends the WUPA commandSEND 9320 sends the ANTICOLLISION commandSEND AB2 returns INVALID PARAMETER since the parameter is no byte sequenceSEND <2-BYTEVALUE> <BYTEVALUE> Does the same like the command with only one parameter, but the first parameter indicates the to-be-sent bit count.
SEND 0007 26 sends the REQA commandSEND 0010 9320 sends the ANTICOLLISION commandSEND 0012 13DE4A sends (on bit-processing-layer) SOC - 1100 1000 0111 1011 01 - EOC. The remaining bits are discarded. Note that the byte sequence is interpreted as little-endian and the bits are sent in reverse-order, just like defined in the ISO. Note also, that no parity bits are added, since 0x12 is neither 7 nor a multiple of 8.SEND 0300 52 returns INVALID PARAMETER since the second parameter does not contain 768 bits.SEND_RAW <BYTEVALUE> Sends the given byte sequence. The ChameleonMini assumes that the parameter has the parity bits already appended and thus calculates the bit count itself:
floor(n * 16 / 9) bits.After sending, the ChameleonMini waits for an answer and returns either
NO DATA if no answer could be detected orSEND_RAW 52 sends the WUPA command.SEND_RAW 934100 sends the ANTICOLLISION command as the bit sequence SOC - 1100 1001 1 0000 0100 0 - EOC is sent, which is the same as 0x9320 with parity bits.SEND_RAW AB2 returns INVALID PARAMETER since the parameter is no byte sequenceSEND_RAW <2-BYTEVALUE> <BYTEVALUE> Does the same like the command with only one parameter, but the first parameter indicates the to-be-sent bit count.
SEND_RAW 0007 26 sends the REQA commandSEND_RAW 0012 934100 sends the ANTICOLLISION commandSEND_RAW 0012 934100AB also sends the ANTICOLLISION command, since remaining bits are discardedSEND_RAW 0300 52 returns INVALID PARAMETER since the second parameter does not contain 768 bits.GETUID This is a timeout command. It tries to obtain the UID from a card that is in reader range and returns it.
If this command is called within the reader configuration, it either ends up returning 101:OK WITH TEXT and the UID or with a timeout (no matter if on setting/configuration change or on real timeout).
DUMP_MFU This is a timeout command. It tries to read the whole content of a MiFare Ultralight card that is in reader range and returns the content.
If this command is called within the reader configuration, it either ends up returning 101:OK WITH TEXT and the card content in 4 lines (each line contains 16 bytes) or with a timeout (no matter if on setting/configuration change or on real timeout).
IDENTIFY This is a timeout command. Tries to identify the type of a card in reader range and returns the type.
If this command is called within the reader configuration, it ends in one of three ways:
101:OK WITH TEXT, the card type and ATQA value, UID value and SAK value of the highest cascade level.101:OK WITH TEXT, the information that this card type is unknown to the ChameleonMini ("Unknown card.") and ATQA value, UID value and SAK value of the highest cascade level.AUTOCALIBRATE This is a timeout command. Tries to select to a card with every threshold within a range with a specific step size and chooses the best threshold.
If this command is called within the reader configuration, it ends in one of the following ways:
101:OK WITH TEXT and a list of the tested thresholds with a + for every threshold where the select protocol was successful and a - if the select protocol was not successfully finished.
1.8.11