-
Notifications
You must be signed in to change notification settings - Fork 42
Background ping fail when snooping #35
Description
The proxmark will not respond when in snoop mode. Therefore background ping doesn't work, and app automatically disconnects. But upon reconnect it somehow makes the proxmark reboot, so the snoop data is lost.
Steps to reproduce the behaviour:
- connect proxmark
- type "hf 14a snoop" enter
- wait 20 seconds till it shows connection failed
Expected behaviour
stop ping when snooping so we can get the snoop data normally
Actual behaviour
ping failed, proxmark reboots upon reconnect which leads to data loss
Screenshots / logs
Proxmark details (required!)
Prox/RFID mark3 RFID instrument
bootrom: master/v3.1.0-35-g0d5545c-suspect 2018-12-29 21:12:22
os: master/v3.1.0-35-g0d5545c-suspect 2018-12-29 21:12:23
fpga_lf.bit built for 2s30vq100 on 2015/03/06 at 07:38:04
fpga_hf.bit built for 2s30vq100 on 2018/09/12 at 15:18:46
SmartCard Slot: available
uC: AT91SAM7S512 Rev B
Embedded Processor: ARM7TDMI
Nonvolatile Program Memory Size: 512K bytes. Used: 199197 bytes (38). Free: 325091 bytes (62).
Second Nonvolatile Program Memory Size: None
Internal SRAM Size: 64K bytes
Architecture Identifier: AT91SAM7Sxx Series
Nonvolatile Program Memory Type: Embedded Flash Memory
Device details (required!)
AndProx version: 2.0.4-5-g4a4713a-dirty (100)
PM3 Client version: v3.1.0/HEAD
Build timestamp: 2018-12-30T01:38:28Z
Model: ONEPLUS A5000 (OnePlus5)
Product: OnePlus5
Manufacturer: OnePlus (OnePlus)
RAM: 7.5 GiB (2.6 GiB free)
Android OS: 9 (API 28)
Android Build: PKQ1.180716.001
Additional context
I have modified the ping time period locally (NativeSerialWrapper.java) as a temporary solution. Hope background ping can smartly pause when blocking tasks are running.