## [Unreleased][unreleased]
### Changed
-- Changed lf config's `threshold` to a graph (signed) metric and it will trigger on + or - value set to. (example: set to 50 and recording would begin at first graphed value of >= 50 or <= -50) (marshmellow)
+- Added `hf 14b raw -s` option to auto select a 14b std tag before raw command
- Changed `hf 14b write` to `hf 14b sriwrite` as it only applied to sri tags (marshmellow)
-- Added `hf 14b reader` to `hf search` (marshmellow)
+- Added `hf 14b info` to `hf search` (marshmellow)
### Added
-- Add `hf 14b reader` to find and print general info about known 14b tags (marshmellow)
-- Add `hf 14b info` to find and print full info about std 14b tags and sri tags (using 14b raw commands in the client) (marshmellow)
+- Add `hf 14b info` to find and print info about std 14b tags and sri tags (using 14b raw commands in the client) (marshmellow)
- Add PACE replay functionality (frederikmoellers)
### Fixed
return 0;
}
- if (select){
+ if (select){ //auto select 14b tag
uint8_t cmd2[16];
uint8_t cmdLen = 3;
bool crc2 = true;
cmd2[1] = 0x00;
cmd2[2] = 0x08;
+ // REQB
if (HF14BCmdRaw(true, &crc2, true, cmd2, &cmdLen, false)==0) return rawClose();
if (cmd2[0] != 0x50 || cmdLen != 14 || !crc2) return rawClose();
- data[0] = 0x1D;
+ data[0] = 0x1D;
+ // UID from data[1 - 4]
data[5] = 0x00;
data[6] = 0x08;
data[7] = 0x01;
data[8] = 0x00;
-
cmdLen = 9;
+
+ // attrib
if (HF14BCmdRaw(true, &crc2, true, cmd2, &cmdLen, false)==0) return rawClose();
if (cmd2[0] != 0x10 || cmdLen != 3 || !crc2) return rawClose();