mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-24 16:14:59 +08:00
make 16 bytes default cols
This commit is contained in:
parent
0cc7373655
commit
32fcf5e870
5 changed files with 6 additions and 4 deletions
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
|||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||
|
||||
## [unreleased][unreleased]
|
||||
- Changed `usart btfactory` - handles the new BT board with version "BT SPP V3.0" (@iceman1001)
|
||||
- Changed `hf mf eview --sk` - now can extract keys and save to file (@iceman1001)
|
||||
- Changed `hf mf view --sk` - now can extract keys and save to file (@iceman1001)
|
||||
- Changed `hf mf sim` - reduce 6ms threshold to 4ms for reset to idle #1974 (@net147)
|
||||
|
|
|
@ -531,7 +531,7 @@ static int CmdFlashMemSpiFFSView(const char *Cmd) {
|
|||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_str1("f", "file", "<fn>", "SPIFFS file to view"),
|
||||
arg_int0("c", "cols", "<dec>", "column breaks (def 32)"),
|
||||
arg_int0("c", "cols", "<dec>", "column breaks (def 16)"),
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, false);
|
||||
|
@ -540,7 +540,7 @@ static int CmdFlashMemSpiFFSView(const char *Cmd) {
|
|||
char fn[32] = {0};
|
||||
CLIParamStrToBuf(arg_get_str(ctx, 1), (uint8_t *)fn, 32, &fnlen);
|
||||
|
||||
int breaks = arg_get_int_def(ctx, 2, 32);
|
||||
int breaks = arg_get_int_def(ctx, 2, 16);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
uint8_t *dump = NULL;
|
||||
|
|
|
@ -157,7 +157,7 @@ static int usart_bt_testcomm(uint32_t baudrate, uint8_t parity) {
|
|||
ret = usart_txrx((uint8_t *)string, strlen(string), data, &len, 1000); // such large timeout needed
|
||||
if (ret == PM3_SUCCESS) {
|
||||
PrintAndLogEx(SUCCESS, "RX (%3zu):%.*s", len, (int)len, data);
|
||||
if (strcmp((char *)data, "hc01.comV2.0") == 0) {
|
||||
if (strcmp((char *)data, "hc01.comV2.0") == 0 || strcmp((char *)data, "BT SPP V3.0") == 0) {
|
||||
PrintAndLogEx(SUCCESS, "Add-on " _GREEN_("found!"));
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -199,7 +199,7 @@ The ROLE command takes its parameter after an equal sign:
|
|||
|
||||
|Command |Description |Reply |
|
||||
|-------------------|------------------------------------------------------|--------------|
|
||||
|`AT+VERSION` |print firmware version |`hc01.comV2.0`|
|
||||
|`AT+VERSION` |print firmware version |`hc01.comV2.0` or `BT SPP V3.0`|
|
||||
|`AT+BAUD8` |set baudrate to 115200 |`OK115200` |
|
||||
|`AT+PIN1234` |set PINCODE to 1234. (must be numbers) |`OKsetPIN` |
|
||||
|`AT+NAMEPM3_RDV4.0`|set device name (as shown to BT hosts) to `PM3_RDV4.0`|`OKsetname` |
|
||||
|
|
1
tools/btaddon/requirements.txt
Normal file
1
tools/btaddon/requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
pyserial==3.5.0
|
Loading…
Reference in a new issue