1
0

copy in progress

This commit is contained in:
Aiden
2026-05-26 16:01:20 +10:00
parent c0e3aaddee
commit d9a9dade41
7 changed files with 311 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
{
"name": "copy-hold-006d-5x-006c",
"notes": [
"Recover to CONNECT OK, send 006D every 1 second for five starts/progress ticks, then send 006C.",
"Tests whether repeated 006D can hold the copy-in-progress state for a longer transfer before completion."
],
"steps": [
{
"action": "power_cycle",
"off_seconds": 1.5
},
{
"action": "wait_ready",
"timeout": 10.0,
"heartbeats": 2,
"require": true
},
{
"action": "drain",
"seconds": 0.25
},
{
"action": "send",
"label": "ok_baseline_1",
"frame": "04 00 00 80 00 DE",
"listen": 0.7
},
{
"action": "send",
"label": "ok_baseline_2",
"frame": "04 00 00 80 00 DE",
"listen": 1.0
},
{
"action": "repeat",
"count": 5,
"steps": [
{
"action": "send",
"label": "copy_progress_006d",
"frame": "05 00 6D 00 00 32",
"listen": 1.0
}
]
},
{
"action": "send",
"label": "copy_complete_candidate_006c",
"frame": "05 00 6C 00 00 33",
"listen": 10.0
}
]
}

View File

@@ -0,0 +1,51 @@
{
"name": "copy-hold-006d-5x-no-complete",
"notes": [
"Recover to CONNECT OK, send 006D every 1 second five times, then do not send 006C.",
"Tests whether the timeout/fallback is measured from the last 006D progress tick."
],
"steps": [
{
"action": "power_cycle",
"off_seconds": 1.5
},
{
"action": "wait_ready",
"timeout": 10.0,
"heartbeats": 2,
"require": true
},
{
"action": "drain",
"seconds": 0.25
},
{
"action": "send",
"label": "ok_baseline_1",
"frame": "04 00 00 80 00 DE",
"listen": 0.7
},
{
"action": "send",
"label": "ok_baseline_2",
"frame": "04 00 00 80 00 DE",
"listen": 1.0
},
{
"action": "repeat",
"count": 5,
"steps": [
{
"action": "send",
"label": "copy_progress_006d",
"frame": "05 00 6D 00 00 32",
"listen": 1.0
}
]
},
{
"action": "listen",
"seconds": 10.0
}
]
}

View File

@@ -0,0 +1,53 @@
{
"name": "copy-repeat-006d-2x-006c",
"notes": [
"Recover to CONNECT OK, send 006D twice one second apart, then send 006C.",
"Tests whether repeating the in-progress selector extends/resets the completion window or interferes with completion."
],
"steps": [
{
"action": "power_cycle",
"off_seconds": 1.5
},
{
"action": "wait_ready",
"timeout": 10.0,
"heartbeats": 2,
"require": true
},
{
"action": "drain",
"seconds": 0.25
},
{
"action": "send",
"label": "ok_baseline_1",
"frame": "04 00 00 80 00 DE",
"listen": 0.7
},
{
"action": "send",
"label": "ok_baseline_2",
"frame": "04 00 00 80 00 DE",
"listen": 1.0
},
{
"action": "send",
"label": "copy_start_006d_1",
"frame": "05 00 6D 00 00 32",
"listen": 1.0
},
{
"action": "send",
"label": "copy_start_006d_2",
"frame": "05 00 6D 00 00 32",
"listen": 1.0
},
{
"action": "send",
"label": "copy_complete_candidate_006c",
"frame": "05 00 6C 00 00 33",
"listen": 10.0
}
]
}

View File

@@ -0,0 +1,59 @@
{
"name": "copy-repeat-006d-3x-006c",
"notes": [
"Recover to CONNECT OK, send 006D three times one second apart, then send 006C.",
"Tests whether repeated in-progress selectors can keep the copy state alive longer than the single-start window."
],
"steps": [
{
"action": "power_cycle",
"off_seconds": 1.5
},
{
"action": "wait_ready",
"timeout": 10.0,
"heartbeats": 2,
"require": true
},
{
"action": "drain",
"seconds": 0.25
},
{
"action": "send",
"label": "ok_baseline_1",
"frame": "04 00 00 80 00 DE",
"listen": 0.7
},
{
"action": "send",
"label": "ok_baseline_2",
"frame": "04 00 00 80 00 DE",
"listen": 1.0
},
{
"action": "send",
"label": "copy_start_006d_1",
"frame": "05 00 6D 00 00 32",
"listen": 1.0
},
{
"action": "send",
"label": "copy_start_006d_2",
"frame": "05 00 6D 00 00 32",
"listen": 1.0
},
{
"action": "send",
"label": "copy_start_006d_3",
"frame": "05 00 6D 00 00 32",
"listen": 1.0
},
{
"action": "send",
"label": "copy_complete_candidate_006c",
"frame": "05 00 6C 00 00 33",
"listen": 10.0
}
]
}

View File

@@ -0,0 +1,47 @@
{
"name": "copy-step-006d-006c-1500ms",
"notes": [
"Recover to CONNECT OK, send 006D, then send 006C 1.5 seconds later.",
"Narrows the working copy-complete window between the known 1.0s success and 2.5s failure."
],
"steps": [
{
"action": "power_cycle",
"off_seconds": 1.5
},
{
"action": "wait_ready",
"timeout": 10.0,
"heartbeats": 2,
"require": true
},
{
"action": "drain",
"seconds": 0.25
},
{
"action": "send",
"label": "ok_baseline_1",
"frame": "04 00 00 80 00 DE",
"listen": 0.7
},
{
"action": "send",
"label": "ok_baseline_2",
"frame": "04 00 00 80 00 DE",
"listen": 1.0
},
{
"action": "send",
"label": "copy_start_006d",
"frame": "05 00 6D 00 00 32",
"listen": 1.5
},
{
"action": "send",
"label": "copy_complete_candidate_006c",
"frame": "05 00 6C 00 00 33",
"listen": 10.0
}
]
}

View File

@@ -0,0 +1,47 @@
{
"name": "copy-step-006d-006c-2000ms",
"notes": [
"Recover to CONNECT OK, send 006D, then send 006C 2.0 seconds later.",
"Narrows the copy-complete acceptance window before the known 2.5s failure."
],
"steps": [
{
"action": "power_cycle",
"off_seconds": 1.5
},
{
"action": "wait_ready",
"timeout": 10.0,
"heartbeats": 2,
"require": true
},
{
"action": "drain",
"seconds": 0.25
},
{
"action": "send",
"label": "ok_baseline_1",
"frame": "04 00 00 80 00 DE",
"listen": 0.7
},
{
"action": "send",
"label": "ok_baseline_2",
"frame": "04 00 00 80 00 DE",
"listen": 1.0
},
{
"action": "send",
"label": "copy_start_006d",
"frame": "05 00 6D 00 00 32",
"listen": 2.0
},
{
"action": "send",
"label": "copy_complete_candidate_006c",
"frame": "05 00 6C 00 00 33",
"listen": 10.0
}
]
}