From e62dfa3bcd1bc409cff69674fa78a1844a34ab09 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 16 Apr 2021 01:53:07 +0200 Subject: [PATCH] typos --- armsrc/BigBuf.c | 2 +- client/lualibs/read15.lua | 2 +- doc/new_frame_format.md | 12 ++++++------ include/pm3_cmd.h | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/armsrc/BigBuf.c b/armsrc/BigBuf.c index 95a19dbb7..b4dd2bc05 100644 --- a/armsrc/BigBuf.c +++ b/armsrc/BigBuf.c @@ -206,7 +206,7 @@ uint32_t BigBuf_get_traceLen(void) { /** This is a function to store traces. All protocols can use this generic tracer-function. The traces produced by calling this function can be fetched on the client-side - by 'hf list raw', alternatively 'hf list ' for protocol-specific + by 'hf list -t raw', alternatively 'hf list -t ' for protocol-specific annotation of commands/responses. **/ bool RAMFUNC LogTrace(const uint8_t *btBytes, uint16_t iLen, uint32_t timestamp_start, uint32_t timestamp_end, uint8_t *parity, bool readerToTag) { diff --git a/client/lualibs/read15.lua b/client/lualibs/read15.lua index 5d7400e2d..feb35d3eb 100644 --- a/client/lualibs/read15.lua +++ b/client/lualibs/read15.lua @@ -72,7 +72,7 @@ local function read15693(slow, dont_readresponse) We start by trying this command: MANDATORY (present in ALL iso15693 tags) command (the example below is sent to a tag different from the above one): - pm3> hf 15 info u + pm3> hf 15 info --ua UID=E007C1A257394244 Tag Info: Texas Instrument; Tag-it HF-I Standard; 8x32bit pm3> diff --git a/doc/new_frame_format.md b/doc/new_frame_format.md index 102ef9c18..c5e7d542d 100644 --- a/doc/new_frame_format.md +++ b/doc/new_frame_format.md @@ -288,10 +288,10 @@ USART_BAUD_RATE defined there Receiving from USART need more than 30ms as we used on USB else we get errors about partial packet reception - FTDI 9600 hw status ⇒ we need 20ms - FTDI 115200 hw status ⇒ we need 50ms - FTDI 460800 hw status ⇒ we need 30ms - BT 115200 hf mf fchk 1 dic ⇒ we need 140ms + FTDI 9600 hw status ⇒ we need 20ms + FTDI 115200 hw status ⇒ we need 50ms + FTDI 460800 hw status ⇒ we need 30ms + BT 115200 hf mf fchk --1k -f file.dic ⇒ we need 140ms # define UART_FPC_CLIENT_RX_TIMEOUT_MS 170 # define UART_USB_CLIENT_RX_TIMEOUT_MS 20 @@ -307,7 +307,7 @@ it's reduced to UART_USB_CLIENT_RX_TIMEOUT_MS. Add automatically some communication delay in the `WaitForResponseTimeout` & `dl_it` timeouts. Only when using FPC, timeout = 2* empirically measured delay (FTDI cable). -Empirically measured delay (FTDI cable) with "hw ping 512" : +Empirically measured delay (FTDI cable) with "hw ping -l 512" : usb ⇒ 6.. 32ms 460800 ⇒ 40.. 70ms @@ -453,7 +453,7 @@ On linux UART (FTDI) CMD_PING reply_ng(CMD_PING, PM3_SUCCESS, packet->data.asBytes, packet->length); <-12=504d33620080000009016233 <- NG -`hw ping 512` (NG) +`hw ping -l 512` (NG) CmdPing SendCommandNG(CMD_PING, data, len); ->522=504d336100820901000102030405060708090a0b0c0d0e0f1011121314151617 -> NG diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index 8459bdd22..5cee586d2 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -860,10 +860,10 @@ typedef struct { // Receiving from USART need more than 30ms as we used on USB // else we get errors about partial packet reception -// FTDI 9600 hw status -> we need 20ms -// FTDI 115200 hw status -> we need 50ms -// FTDI 460800 hw status -> we need 30ms -// BT 115200 hf mf fchk 1 dic -> we need 140ms +// FTDI 9600 hw status -> we need 20ms +// FTDI 115200 hw status -> we need 50ms +// FTDI 460800 hw status -> we need 30ms +// BT 115200 hf mf fchk --1k -f file.dic -> we need 140ms // all zero's configure: no timeout for read/write used. // took settings from libnfc/buses/uart.c