mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
upd - CHANGELOG.md
chg 'hf iclass sniff' more debugstatements
This commit is contained in:
parent
da6222f3bb
commit
4d354f75fe
2 changed files with 18 additions and 3 deletions
|
@ -6,7 +6,10 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
|
|||
-
|
||||
- trace/securakey-64169.pm3 - trace of a scecurakey (atyppo)
|
||||
- 'hf mf decrypt' - got some longer input and helptext parameter (iceman)
|
||||
|
||||
- Updated the Reveng 1.51 sourcecode to 1.52 from Reveng project homepage (iceman)
|
||||
- 'hf 14a read' - disconnects when failing to read tag (iceman)
|
||||
- 'hf mf csave' - renamed parameter 'i' to 'o' as in output (iceman)
|
||||
|
||||
## [3.0.0][2017-08-29]
|
||||
Notes on this release
|
||||
this version includes a merge with the PM3 offical v3.0.1 code, a.k.a the "Monster merge"
|
||||
|
|
|
@ -715,7 +715,7 @@ static void iclass_setup_sniff(void){
|
|||
void RAMFUNC SniffIClass(void) {
|
||||
|
||||
uint8_t previous_data = 0;
|
||||
int maxDataLen = 0, datalen = 0;
|
||||
int maxDataLen = 0; // datalen = 0;
|
||||
uint32_t time_0 = 0, time_start = 0, time_stop = 0;
|
||||
uint32_t sniffCounter = 0;
|
||||
|
||||
|
@ -834,7 +834,19 @@ void RAMFUNC SniffIClass(void) {
|
|||
DbpString("Sniff statistics:");
|
||||
Dbprintf(" maxDataLen=%x, Uart.state=%x, Uart.byteCnt=%x", maxDataLen, Uart.state, Uart.byteCnt);
|
||||
Dbprintf(" Tracelen=%x, Uart.output[0]=%x", BigBuf_get_traceLen(), (int)Uart.output[0]);
|
||||
Dbhexdump(datalen, data, false);
|
||||
Dbhexdump(ICLASS_DMA_BUFFER_SIZE, data, false);
|
||||
uint8_t r[128] = {0};
|
||||
uint8_t t[128] = {0};
|
||||
uint16_t i;
|
||||
uint8_t j;
|
||||
for (i=0, j=0; i<ICLASS_DMA_BUFFER_SIZE; i += 2, j++) {
|
||||
r[j] = (data[i] & 0xF0) | (data[i+1] >> 4);
|
||||
t[j] = (data[i] << 4) | (data[i+1] & 0xF);
|
||||
}
|
||||
DbpString("reader:");
|
||||
Dbhexdump(sizeof(r), r, false);
|
||||
DbpString("tag:");
|
||||
Dbhexdump(sizeof(t), t, false);
|
||||
}
|
||||
|
||||
switch_off();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue