@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.
Files changed (2) hide show
  1. package/grav-fw-pvi.js +1 -1
  2. 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libs-scripts-mep/grav-fw-pvi",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Auxilia na gravação de microcontroladores por linha de comando através do PVI",
5
5
  "main": "grav-fw-pvi.js",
6
6
  "scripts": {