HydraFW binary NFC Reader mode guide - hydrabus/hydrafw GitHub Wiki
HydraFW binary NFC Reader mode guide
This guide is updated towards firmware release HydraFW v0.10 and later
Commands
Once the NFC mode has been selected, the following commands are available :
0b00000000Return to main mode. ReturnsBBIO10b00000001Mode identification. ReturnsNFC10b00000010Switch RF off0b00000011Switch RF on0b00000100Send bits (see below)0b00000101Send bytes (see below)0b00000110Set mode to ISO 14443A Reader0b00000111Set mode to ISO 15693 Reader0b11xxxxxxBinary Auxiliary pins
Command details
Send bits (0b00000100)
This command is used to send at most 7 bits and read the response Format :
Byte 1 2 3
|----------|----------|----------|
[command] [bits] [number]
number bits are sent starting from MSB of the bits field.
This commands returns one byte containing the number of bytes of the response, followed by the response.
Send bytes (0b00000101)
This command is used to send full bytes and read the response. Format :
Byte 1 2 3 4
|----------|----------|----------|----------| [...]
[command] [CRC] [number] [data]
If CRC == 0, the CRC is not calculated by the transceiver. if CRC == 1 CRC is calculated and transmitted.
data length has to match the number bytes to be sent.
This commands returns one byte containing the number of bytes of the response, followed by the response.
See https://github.com/hydrabus/hydrafw/wiki/HydraFW-HydraNFC-v1-guide for more explanation.