File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 36
36
// 8051 speaks with smart card.
37
37
// 1000*50*3.07 = 153.5ms
38
38
// 1 byte transfer == 1ms with max frame being 256 bytes
39
- #define SIM_WAIT_DELAY 88000 // about 270ms delay // 109773 -- about 337.7ms delay
39
+ #define SIM_WAIT_DELAY 150000 // about 270ms delay // 109773 -- about 337.7ms delay
40
40
41
41
42
42
void I2C_recovery (void );
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ int sam_get_version(bool info) {
279
279
if (g_dbglevel >= DBG_INFO || info ) {
280
280
DbpString (_BLUE_ ("-- SAM Information --" ));
281
281
Dbprintf (_YELLOW_ ("Firmware version: " )"%X.%X" , sam_version_an [2 ], sam_version_an [3 ]);
282
- Dbprintf (_YELLOW_ ("Firmware ID : " ));
282
+ Dbprintf (_YELLOW_ ("Firmware ID: " ));
283
283
Dbhexdump (sam_build_an [1 ], sam_build_an + 2 , false);
284
284
}
285
285
goto out ;
@@ -348,7 +348,7 @@ int sam_get_serial_number(void) {
348
348
goto error ;
349
349
}
350
350
351
- Dbprintf (_YELLOW_ ("Sam Serial Number: " ));
351
+ Dbprintf (_YELLOW_ ("Serial Number: " ));
352
352
Dbhexdump (sam_response_an [1 ],sam_serial_an , false);
353
353
354
354
goto out ;
Original file line number Diff line number Diff line change @@ -5961,10 +5961,7 @@ static int CmdHFiClassSAM(const char *Cmd) {
5961
5961
clearCommandBuffer ();
5962
5962
SendCommandNG (CMD_HF_SAM_PICOPASS , data , cmdlen + 1 );
5963
5963
PacketResponseNG resp ;
5964
- if (WaitForResponseTimeout (CMD_HF_SAM_PICOPASS , & resp , 4000 ) == false) {
5965
- PrintAndLogEx (WARNING , "SAM timeout" );
5966
- return PM3_ETIMEOUT ;
5967
- }
5964
+ WaitForResponse (CMD_HF_SAM_PICOPASS , & resp );
5968
5965
5969
5966
switch (resp .status ) {
5970
5967
case PM3_SUCCESS :
You can’t perform that action at this time.
0 commit comments