mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
add empty command to enable client side to break loops on device side, like sim
This commit is contained in:
parent
e0d4e69cb9
commit
585ce7556c
2 changed files with 5 additions and 0 deletions
|
@ -696,6 +696,8 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
switch (packet->cmd) {
|
switch (packet->cmd) {
|
||||||
|
case CMD_BREAK_LOOP:
|
||||||
|
break;
|
||||||
case CMD_QUIT_SESSION: {
|
case CMD_QUIT_SESSION: {
|
||||||
reply_via_fpc = false;
|
reply_via_fpc = false;
|
||||||
reply_via_usb = false;
|
reply_via_usb = false;
|
||||||
|
|
|
@ -288,6 +288,7 @@ typedef struct {
|
||||||
#define CMD_STANDALONE 0x0115
|
#define CMD_STANDALONE 0x0115
|
||||||
#define CMD_WTX 0x0116
|
#define CMD_WTX 0x0116
|
||||||
#define CMD_TIA 0x0117
|
#define CMD_TIA 0x0117
|
||||||
|
#define CMD_BREAK_LOOP 0x0118
|
||||||
|
|
||||||
// RDV40, Flash memory operations
|
// RDV40, Flash memory operations
|
||||||
#define CMD_FLASHMEM_WRITE 0x0121
|
#define CMD_FLASHMEM_WRITE 0x0121
|
||||||
|
@ -550,6 +551,8 @@ typedef struct {
|
||||||
|
|
||||||
// Error codes Usages:
|
// Error codes Usages:
|
||||||
|
|
||||||
|
// Success, transfer nonces pm3: Sending nonces back to client
|
||||||
|
#define PM3_SNONCES 1
|
||||||
// Success (no error)
|
// Success (no error)
|
||||||
#define PM3_SUCCESS 0
|
#define PM3_SUCCESS 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue