add empty command to enable client side to break loops on device side, like sim
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user