mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
style
This commit is contained in:
parent
bcbe76064d
commit
a913b2c662
11 changed files with 31 additions and 26 deletions
|
@ -2070,7 +2070,7 @@ static int CmdHFiClassDump(const char *Cmd) {
|
|||
if (pagemap != PICOPASS_NON_SECURE_PAGEMODE) {
|
||||
// div key KD
|
||||
memcpy(tag_data + (PICOPASS_BLOCK_SIZE * 3),
|
||||
tempbuf + (PICOPASS_BLOCK_SIZE * 3), PICOPASS_BLOCK_SIZE);
|
||||
tempbuf + (PICOPASS_BLOCK_SIZE * 3), PICOPASS_BLOCK_SIZE);
|
||||
}
|
||||
// all memory available
|
||||
memcpy(tag_data + (PICOPASS_BLOCK_SIZE * payload.start_block),
|
||||
|
@ -2137,8 +2137,8 @@ static int CmdHFiClassDump(const char *Cmd) {
|
|||
|
||||
// AA2 data
|
||||
memcpy(tag_data + (PICOPASS_BLOCK_SIZE * payload.start_block),
|
||||
tempbuf + (PICOPASS_BLOCK_SIZE * payload.start_block),
|
||||
blocks_read * PICOPASS_BLOCK_SIZE);
|
||||
tempbuf + (PICOPASS_BLOCK_SIZE * payload.start_block),
|
||||
blocks_read * PICOPASS_BLOCK_SIZE);
|
||||
|
||||
bytes_got += (blocks_read * PICOPASS_BLOCK_SIZE);
|
||||
|
||||
|
|
|
@ -905,7 +905,7 @@ void Plot::MoveTo(uint32_t pos) {
|
|||
if (g_GraphTraceLen == 0) return;
|
||||
g_GraphStart = pos;
|
||||
|
||||
QObject* signalSender = sender();
|
||||
QObject *signalSender = sender();
|
||||
if (signalSender != nullptr && signalSender != this) {
|
||||
// Update if it's triggered by a signal from other object
|
||||
this->update();
|
||||
|
|
|
@ -38,7 +38,7 @@ class ProxWidget;
|
|||
* @brief The actual plot, black area were we paint the graph
|
||||
*/
|
||||
class Plot: public QWidget {
|
||||
Q_OBJECT; //needed for slot/signal classes
|
||||
Q_OBJECT; //needed for slot/signal classes
|
||||
|
||||
private:
|
||||
QWidget *master;
|
||||
|
|
|
@ -9995,16 +9995,18 @@
|
|||
"description": "Sniff low frequency signal. - use `lf config` to set parameters. - use `data plot` to look at it",
|
||||
"notes": [
|
||||
"lf read -v -s 12000 -> collect 12000 samples",
|
||||
"lf read -s 3000 -@ -> oscilloscope style"
|
||||
"lf read -s 3000 -@ -> oscilloscope style",
|
||||
"lf read -r -> use real-time mode"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
"-h, --help This help",
|
||||
"-s, --samples <dec> number of samples to collect",
|
||||
"-v, --verbose verbose output",
|
||||
"-@ continuous reading mode"
|
||||
"-@ continuous reading mode",
|
||||
"-r, --realtime real-time reading mode"
|
||||
],
|
||||
"usage": "lf read [-hv@] [-s <dec>]"
|
||||
"usage": "lf read [-hv@r] [-s <dec>]"
|
||||
},
|
||||
"lf search": {
|
||||
"command": "lf search",
|
||||
|
@ -10180,16 +10182,18 @@
|
|||
"description": "Sniff low frequency signal. You need to configure the LF part on the Proxmark3 device manually. Usually a trigger and skip samples is a good thing to set before doing a low frequency sniff. - use `lf config` to set parameters. - use `data plot` to look at sniff signal. - use `lf search -1` to see if signal can be automatic decoded",
|
||||
"notes": [
|
||||
"lf sniff -v",
|
||||
"lf sniff -s 3000 -@ -> oscilloscope style"
|
||||
"lf sniff -s 3000 -@ -> oscilloscope style",
|
||||
"lf sniff -r -> use real-time mode"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
"-h, --help This help",
|
||||
"-s, --samples <dec> number of samples to collect",
|
||||
"-v, --verbose verbose output",
|
||||
"-@ continuous sniffing mode"
|
||||
"-@ continuous sniffing mode",
|
||||
"-r, --realtime real-time sniffing mode"
|
||||
],
|
||||
"usage": "lf sniff [-hv@] [-s <dec>]"
|
||||
"usage": "lf sniff [-hv@r] [-s <dec>]"
|
||||
},
|
||||
"lf t55xx bruteforce": {
|
||||
"command": "lf t55xx bruteforce",
|
||||
|
@ -12066,6 +12070,6 @@
|
|||
"metadata": {
|
||||
"commands_extracted": 699,
|
||||
"extracted_by": "PM3Help2JSON v1.00",
|
||||
"extracted_on": "2023-11-11T20:31:02"
|
||||
"extracted_on": "2023-12-01T09:58:53"
|
||||
}
|
||||
}
|
|
@ -280,7 +280,8 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
// 64KB SRAM -> 524288 bits(max sample num) < 2^30
|
||||
uint32_t samples : LF_SAMPLES_BITS;
|
||||
uint32_t samples :
|
||||
LF_SAMPLES_BITS;
|
||||
bool realtime : 1;
|
||||
bool verbose : 1;
|
||||
} PACKED lf_sample_payload_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue