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;