mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: allow to download ´lf config´ settings to client
This commit is contained in:
parent
201f4acb8f
commit
b6dcfbf078
5 changed files with 32 additions and 4 deletions
|
@ -721,10 +721,17 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
setT55xxConfig(packet->oldarg[0], (t55xx_configurations_t *) packet->data.asBytes);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_SAMPLING_GET_CONFIG: {
|
||||
case CMD_LF_SAMPLING_PRINT_CONFIG: {
|
||||
printConfig();
|
||||
break;
|
||||
}
|
||||
case CMD_LF_SAMPLING_GET_CONFIG: {
|
||||
sample_config *c;
|
||||
c = getSamplingConfig();
|
||||
Dbprintf("CMD_LF_SAMPLING_GET_CONFIG - before answer");
|
||||
reply_ng(CMD_LF_SAMPLING_GET_CONFIG, PM3_SUCCESS, (uint8_t *)c, sizeof(sample_config));
|
||||
break;
|
||||
}
|
||||
case CMD_LF_SAMPLING_SET_CONFIG: {
|
||||
sample_config c;
|
||||
memcpy(&c, packet->data.asBytes, sizeof(sample_config));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue