@lifefinder/vsm-mqtt-client-open-source 0.0.49 → 0.0.51
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/package.json +1 -1
- package/rules.js +3 -0
package/package.json
CHANGED
package/rules.js
CHANGED
|
@@ -214,11 +214,14 @@ const rules = [
|
|
|
214
214
|
if (lastAttemptPeriodS < ALMANAC_DOWNLOAD_INTERVAL_S)
|
|
215
215
|
return next; // Do not attempt a download now
|
|
216
216
|
next.gnss.lastAlmanacDownloadAttempt = date;
|
|
217
|
+
console.log("Almanac update: Attempted")
|
|
217
218
|
|
|
218
219
|
// Run this asynchronously rather than wait
|
|
219
220
|
if (!solver.api.downlinkAlmanac) {
|
|
221
|
+
console.log("Almanac update: failed No API")
|
|
220
222
|
return next;
|
|
221
223
|
}
|
|
224
|
+
console.log("Almanac update: API called")
|
|
222
225
|
downlinkAlmanac(args, integration, client, solver, deviceid, next.encodedData.maxSize);
|
|
223
226
|
|
|
224
227
|
return next;
|