@libs-scripts-mep/grav-fw-pvi 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grav-fw-pvi.js +1 -1
- package/package.json +1 -1
package/grav-fw-pvi.js
CHANGED
|
@@ -276,7 +276,7 @@ class GravaFW {
|
|
|
276
276
|
tryingPorts.push(splittedInfo[2])
|
|
277
277
|
UI.setMsg(`Tentando gravar na porta ${splittedInfo[2]}`)
|
|
278
278
|
|
|
279
|
-
} else if (info.includes("failed to connect")) {
|
|
279
|
+
} else if (info.includes("failed to connect") || info.includes("Timed out waiting for packet header")) {
|
|
280
280
|
if (tryingPorts.length >= portsFound) {
|
|
281
281
|
PVI.FWLink.globalDaqMessagesObservers.remove(id)
|
|
282
282
|
resolve({ sucess: false, msg: "Gravador não conseguiu se conectar com o ESP32" }); return
|