29 Commits
Author SHA1 Message Date
iceman1001andClaude Opus 5.5 1f543f3ced em4x50: reply deadline for read / info retries
The retry check estimated the next attempt from the longest one so far.
That does not bound it:
- get_pulse_length() waits up to 4 bit periods
- one find_double_listen_window() can take about 3.2 s with no signal
- a login + read attempt can take over 6 s
- setup before tstart was not counted

A slow attempt after fast failures could end after the client gave up,
leaving the late reply queued for the next command.

read and info now set a deadline after setup, 1 s before the client
timeout. The listen window, ACK and word decode loops stop at the
deadline, as do the retries. With no deadline set (write, brute, sim,
...) they behave as before. The client waits 5 s for read, as it
already did for info / dump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:19:44 +07:00
iceman1001andClaude Opus 5.5 62f9fa8414 em4x50: only retry a read if it can still end in time
Next attempt must fit in 2.5 s, judged by the longest attempt so far.
Client waits 5 s for info/dump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 11:44:12 +07:00
iceman1001 b3048064f6 converted CMD_LF_EM4X50_ESET to NG frame, thanks Claude 2026-08-29 12:20:56 +02:00
iceman1001 d340de388d textual 2024-04-22 09:23:22 +02:00
iceman1001 c49a7c040b added a lf em 4x50 view command and lf em 4x50 dump now supports the nosave flag 2024-02-03 11:09:28 +01:00
phaseloop 85f1785ccb initial bruteforce module 2023-05-06 14:47:31 +00:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen 5b54385347 rename globals 2021-08-21 23:08:26 +02:00
iceman1001 16783000f0 rework some defines 2021-05-16 23:03:13 +02:00
tharexde ed7f623c6f increased timeout -> reliable lf search results 2021-02-06 19:59:03 +01:00
tharexde 1ca5d3c53c 4x50 standalone mode 2021-01-25 23:52:14 +01:00
tharexde 78d1e09595 deleted test functions, clean up 2021-01-18 00:01:22 +01:00
tharexde f6868aadf9 next version of half duplex simulation 2021-01-05 01:11:46 +01:00
tharexde eea63a6cb7 first draft half duplex simulation 2021-01-03 22:50:27 +01:00
tharexde 9b3bc55136 aa 2020-12-29 17:40:18 +01:00
tharexde 438cada2cf commits after xcode crash 2020-12-27 22:22:44 +01:00
tharexde 1a173f69f9 cleanup 2020-12-06 20:13:51 +01:00
tharexde 754285d9c7 sing emulator memory for sim and restore -> "data" in struct no longer necessary 2020-10-31 01:51:04 +01:00
tharexde 5af9fc15ec added default file size for dump files (bin/eml) -> 136 bytes 2020-10-26 00:11:49 +01:00
tharexde decabbae0c new parameter in struct due to new function 4x50_restore 2020-10-25 16:37:35 +01:00
tharexde a04002ab1b redesign 2020-10-22 00:42:18 +02:00
tharexde b4a8409349 clean up 2020-10-11 20:06:03 +02:00
tharexde a308fc692b added entry for login function (may be temporary) 2020-09-27 23:23:30 +02:00
tharexde ab8b5814b0 Merge branch 'dev-bruteforce_em4x50' into allin
merge
2020-09-27 19:55:42 +02:00
tharexde e8abcb9b23 two more entries for new function 4x50_bruteforce 2020-09-27 12:53:09 +02:00
tharexde c49e2d7ba9 solved 2020-09-05 13:25:57 +02:00
tharexde eddaf70ef9 added timeout value if there's no tag on device 2020-06-28 21:35:49 +02:00
tharexde 972ad78a40 rearranged defines 2020-06-26 14:21:54 +02:00
tharexde 1adc0de21d added EM4x50 info function 2020-06-15 14:30:50 +02:00