mqtt-devices-parser 1.0.31 → 1.0.32
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/Changelog.md +4 -1
- package/package.json +1 -1
- package/src/device/device.js +1 -1
package/Changelog.md
CHANGED
package/package.json
CHANGED
package/src/device/device.js
CHANGED
|
@@ -510,7 +510,7 @@ async function parseMqttMessage(client, project_name, device, topic, payload, re
|
|
|
510
510
|
break;
|
|
511
511
|
case "fw":
|
|
512
512
|
if(topic === "fota/update/status"){
|
|
513
|
-
handleFotaError(device.id, payload);
|
|
513
|
+
self.handleFotaError(device.id, payload);
|
|
514
514
|
}else{
|
|
515
515
|
let word = $.parser.getFirstWord(topic);
|
|
516
516
|
if(typeof payload === 'object' && payload !== null){
|