From 8d823bf408266b9565fe15509c051faa21850850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sat, 8 Aug 2026 14:38:58 +0300 Subject: [PATCH] fix pysimSendOta: populate Response parser from por.decoded (SW + response data), remove broken resp-sw1/sw2 refs; bump to v1.3.2 --- index.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 89c1243..f425431 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@
-

OTAMan SIM OTA with a Human Face v1.3.0

+

OTAMan SIM OTA with a Human Face v1.3.2

github @@ -2700,10 +2700,9 @@ async function pysimSendOta() { try { const data = await pysimFetch('/api/send-ota', { sp, ...spParams() }); if (data.success) { - if (data.response_data) { - document.getElementById('resp-data').value = data.response_data; - document.getElementById('resp-sw1').value = data.sw.slice(0, 2); - document.getElementById('resp-sw2').value = data.sw.slice(2, 4); + if (data.por && data.por.decoded) { + document.getElementById('resp-sw').value = data.por.decoded.last_status_word || ''; + document.getElementById('resp-data').value = data.por.decoded.last_response_data || ''; switchTab('response'); } let msg = 'OTA sent. SW: ' + data.sw;