queclink-parser 1.5.0 → 1.8.3

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 CHANGED
@@ -1,3 +1,89 @@
1
+ #### 1.8.3 (2024-01-08)
2
+
3
+ #### 1.8.2 (2024-01-08)
4
+
5
+ #### 1.8.1 (2024-01-08)
6
+
7
+ ### 1.8.0 (2024-01-08)
8
+
9
+ ### 1.6.0 (2024-01-08)
10
+
11
+ ##### New Features
12
+
13
+ * **GV310LAU:**
14
+ * support for new CAN message ([740b9766](https://github.com/jaayesta/queclink-parser/commit/740b9766fc316a2190628d9567912e77881a77d6))
15
+ * support CRD & ACC message ([96ad6b97](https://github.com/jaayesta/queclink-parser/commit/96ad6b97b6b8aace45c1975fdfddd2faf6b28bd0))
16
+ * support CRG message ([97535bfc](https://github.com/jaayesta/queclink-parser/commit/97535bfcdbeed0806916f5b7bda694baacafdeec))
17
+ * support AVC message ([5da24cbd](https://github.com/jaayesta/queclink-parser/commit/5da24cbd4cf74454a6a11273f51fac7d801f4d1c))
18
+ * support DOM message ([556d4094](https://github.com/jaayesta/queclink-parser/commit/556d409475e594758ea2b9d9485ea3c5552b79e9))
19
+ * support AUR message ([8ee6ea25](https://github.com/jaayesta/queclink-parser/commit/8ee6ea25401c15d986d35e8d085118238ccbd329))
20
+ * support for new ASC & HBE message ([c2e9d7bc](https://github.com/jaayesta/queclink-parser/commit/c2e9d7bc3279deda612979508cbbf20ed6685137))
21
+ * support for new WPB message and corrections ([af2e8968](https://github.com/jaayesta/queclink-parser/commit/af2e89682aa5b1b6f4efcf51c7dcc0ebde83e5b8))
22
+ * support for new LBA message ([62bdd3a0](https://github.com/jaayesta/queclink-parser/commit/62bdd3a050b2dbf8f977e49e1b5642508d7b68d3))
23
+ * support for new GTSVR message ([e0f702c9](https://github.com/jaayesta/queclink-parser/commit/e0f702c9249859fa29f3d5821fa957bd00e995a9))
24
+ * support for new GTPNR message ([cf332566](https://github.com/jaayesta/queclink-parser/commit/cf332566b7d067b29335115e553460889de5ee15))
25
+ * support for GTPNR and GTPFR ([b116ed25](https://github.com/jaayesta/queclink-parser/commit/b116ed259277b183e270ea200509807941437e9c))
26
+ * support for GTCLT ([2cc96e2d](https://github.com/jaayesta/queclink-parser/commit/2cc96e2dfd0e363f8dee853a20ae6741691f9e47))
27
+ * support for GTGSM ([d302a452](https://github.com/jaayesta/queclink-parser/commit/d302a4524f441c159661337883bb00984f388a23))
28
+ * support for GTVGF ([95acd6be](https://github.com/jaayesta/queclink-parser/commit/95acd6be9fb2130ab859e9aa866f28d107bbd62f))
29
+ * support for GTVGN ([5c796f14](https://github.com/jaayesta/queclink-parser/commit/5c796f14c9b4fbeeccd7370cd74e77fce9cd2ae9))
30
+ * support for GTJDR ([5153d32b](https://github.com/jaayesta/queclink-parser/commit/5153d32baa87d3d7e2a7a0b72c1689e13028dc28))
31
+ * support for GTBID ([f0141dd8](https://github.com/jaayesta/queclink-parser/commit/f0141dd8fb1d0a8671530863913b29e6be21ea85))
32
+ * support for BT data in GTERI ([84978903](https://github.com/jaayesta/queclink-parser/commit/84978903f4dadbf613cee08695bcb1918697c77c))
33
+ * support for BT data in GTERI ([1fa5f3d7](https://github.com/jaayesta/queclink-parser/commit/1fa5f3d797744d41c5b9911249acae78a8b129b0))
34
+ * bluetooth beacon accessory (incomplete) ([09a606fb](https://github.com/jaayesta/queclink-parser/commit/09a606fbb552f6deed8c21f7295c49d602c3dd40))
35
+ * New BT elements in BCS & BDS ([3fe8ab7b](https://github.com/jaayesta/queclink-parser/commit/3fe8ab7b086c4088467d3b18cea52bbd4efb83fb))
36
+ * bluetooth accessories ([429fd42b](https://github.com/jaayesta/queclink-parser/commit/429fd42bd91a4ad365d653ec6b26c16c203fec84))
37
+ * bluetooth accessories (incomplete) ([995d86eb](https://github.com/jaayesta/queclink-parser/commit/995d86eb310cc7e29dc2e0567f8c1972c96c97dd))
38
+ * bluetooth connected/disconnected ([0550cff1](https://github.com/jaayesta/queclink-parser/commit/0550cff1920d1d64d837ec51222ca05e3f284c89))
39
+ * parse and messages for CID, CSQ and VER ([8ed00766](https://github.com/jaayesta/queclink-parser/commit/8ed0076695b269023ed1e41a82992ea5ceffc0ea))
40
+ * parse for GSS, CAN, IDA, DAT, DTT and DOS ([02a0fb4e](https://github.com/jaayesta/queclink-parser/commit/02a0fb4ed0807a106ac8b295856660fafb4d748c))
41
+ * parse for power, batt, jamming and crash ([efe77794](https://github.com/jaayesta/queclink-parser/commit/efe777941a32184ccee155d7e76ecbcdf1e0589e))
42
+ * parse for info, EPS and TMP ([7d072fef](https://github.com/jaayesta/queclink-parser/commit/7d072fefbd65e2a1e7f2c0f83b7ecfad73f7d521))
43
+ * **GV310L:** parse for FRI, ERI and INF messages ([2c20aaf1](https://github.com/jaayesta/queclink-parser/commit/2c20aaf16909e2c8f06e267ba73b0ce64e24f958))
44
+ * **messages:**
45
+ * detail in VGL text ([3d33db8b](https://github.com/jaayesta/queclink-parser/commit/3d33db8b52ae4c0306b267e4ac402d66f36a5648))
46
+ * detail in HBM text ([9b02e5b2](https://github.com/jaayesta/queclink-parser/commit/9b02e5b210051586474a42a16b980ef8b7e1991e))
47
+ * **VGL:** virtual ignition detection ([16e97327](https://github.com/jaayesta/queclink-parser/commit/16e973277c00cac55f20e3eb4726b4b380c403ef))
48
+ * **dog:** get reason for device reboot ([8b4cec14](https://github.com/jaayesta/queclink-parser/commit/8b4cec1467a63eabcaf462ccca831b34501410bc))
49
+
50
+ ##### Bug Fixes
51
+
52
+ * **test:** fix alarm test ([2c7abfd2](https://github.com/jaayesta/queclink-parser/commit/2c7abfd2225e66a180e3a9cbcac2540b3e81da80))
53
+ * **conflict:** fix last merge conflicts ([cee2ffd2](https://github.com/jaayesta/queclink-parser/commit/cee2ffd2afa6bfc5bab36a6a1d0e1b539c7b52a8))
54
+ * **GV310LAU:** CAN message ([2a07a396](https://github.com/jaayesta/queclink-parser/commit/2a07a3960a43d71618ba94a731aac64dfe3f0234))
55
+ * **GTCLT:** line with error ([377cff09](https://github.com/jaayesta/queclink-parser/commit/377cff09446d21f16b0021be1a12373a401b73ea))
56
+ * **messages:**
57
+ * detail in VGL text ([d59daa82](https://github.com/jaayesta/queclink-parser/commit/d59daa82fbc40ca9ac89e6c7d813ba2d5350da48))
58
+ * correction in VGL text ([d462d72b](https://github.com/jaayesta/queclink-parser/commit/d462d72be4287c84409c0814dbeb10ebe1d31fed))
59
+ * new ACKs & DOG messages ([31ca8ff1](https://github.com/jaayesta/queclink-parser/commit/31ca8ff1afce267f8c6b7f482d03b12866281d7f))
60
+ * **DOG:** better messages ([a264c439](https://github.com/jaayesta/queclink-parser/commit/a264c4394412b2970a9a6bb21950d43a439a2836))
61
+
62
+ ##### Other Changes
63
+
64
+ * **examples:**
65
+ * examples for this dev ([38d586ac](https://github.com/jaayesta/queclink-parser/commit/38d586ac11eac439c3c70d15a8d6aa0f264151db))
66
+ * examples for this dev ([d2ac1248](https://github.com/jaayesta/queclink-parser/commit/d2ac1248ef96112cc0f4bec15fb581b3a4628c6d))
67
+ * examples for this dev ([befa2630](https://github.com/jaayesta/queclink-parser/commit/befa26302f18fd21983a7328a76af88cfa8818ab))
68
+
69
+ #### 1.5.5 (2023-10-13)
70
+
71
+ #### 1.5.4 (2023-10-13)
72
+
73
+ #### 1.5.3 (2023-10-13)
74
+
75
+ #### 1.5.2 (2023-10-13)
76
+
77
+ #### 1.5.1 (2023-10-13)
78
+
79
+ ##### New Features
80
+
81
+ * **ack:** datetime added to ack data ([6b66e8e9](https://github.com/jaayesta/queclink-parser/commit/6b66e8e93977c06469f0132125d23e91c88e9dfd))
82
+
83
+ ##### Bug Fixes
84
+
85
+ * **lint:** se corrigen test y console.log ([724fc6ee](https://github.com/jaayesta/queclink-parser/commit/724fc6eeeab90dee82b1a99687a57476ba3af58a))
86
+
1
87
  ### 1.5.0 (2023-03-08)
2
88
 
3
89
  ##### Bug Fixes
package/example.js CHANGED
@@ -1,4 +1,55 @@
1
- const queclink = require('queclink-parser');
1
+ const queclink = require('.');
2
2
 
3
- const raw = new Buffer('+RESP:GTFRI,060100,135790246811220,,,00,1,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,2000.0,12345:12:34,,,80,210100,,,,20090214093254,11F0$');
4
- queclink.parse(raw);
3
+ var mess = '+RESP:GTFRI,6E0100,866775050906585,GV310LAU,12093,10,1,2,0.0,131,100.2,117.129250,31.839233,20220524060603,0460,0000,550B,0E9E30A5,00,100.0,00000:03:32,12000,12300,99,100,210100,,,,20220524060606,0021$';
4
+ var eri = '+RESP:GTERI,6E0100,100000000000306,GV310LAU,00000002,,10,1,1,12.0,0,93.0,117.129271,31.839336,20210812071324,0460,0000,550B,B7B1,00,15.1,,,1648,,0,110001,2,1,28FBCA9C0A000092,1,019C,20210812151326,8A59$';
5
+ var eri2 = '+RESP:GTERI,6E0100,866775050906668,GV310LAU,00000002,,10,1,1,12.0,0,88.7,117.129265,31.839253,20220620104346,0460,0001,DE10,027A4F1F,00,15.1,,,1648,,100,220100,2,3,2836369E0A0000C7,1,01C7,283E1E41030000B5,1,01B3,28C54DC5080000F2,1,01AF,20220620104347,02BE$';
6
+ var info = '+RESP:GTTOW,6E0100,866775050906767,GV310LAU,3,00,1,0,0.0,267,65.5,117.129388,31.838345,20220713055257,0460,0000,550B,0E9E30A5,01,7,23.7,1,32,20220713055448,1384$';
7
+ var eps = '+RESP:GTEPS,6E0200,866775050906544,GV310LAU_123,12390,01,1,0,0.3,0,86.0,117.129153,31.839230,20220818073645,0460,0001,DE10,027A4F1F,00,100.0,20220818170650,01B7$';
8
+ var tmp = '+RESP:GTTMP,6E0100,866775050906858,GV310LAU,,12291,01,1,1,0.0,227,64.0,117.129126,3 1.839297,20220711080448,0460,0000,550B,0E9E30A5,00,10.1,,3456,0,4353,10,01,,,,280453CB08000091,,27,20220711160449,599E$';
9
+ var cra = '+RESP:GTCRA,6E0200,866775050906544,,05,0,0.0,18,113.5,117.129345,31.839108,20220826023413,0460,0000,550B,0E9E30A5,00,20220826103415,1C65$';
10
+ var jds = '+RESP:GTJDS,6E0100,866775050906767,GV310LAU,1,3,0,3.8,173,62.3,117.129874,31.838456,20220714051457,0460,0000,550B,0E9E30A5,01,32,20220714131539,476B$';
11
+ var ant = '+RESP:GTANT,6E0200,866775050906544,GV310LAU,0,0,1.7,0,52.0,117.129292,31.838311,20220825024128,0460,0000,550B,0E9E30A5,00,20220825024333,10AB$';
12
+ var rmd = '+RESP:GTRMD,6E0100,866775050906684,GV310LAU_123,1,0,0.0,259,60.0,117.129291,31.839 294,20220831083741,0460,0000,550B,0E9E30A5,00,20220831180919,0003$';
13
+ var bpl = '+RESP:GTBPL,6E0100,866775050906932,,3.61,2,0.0,186,80.4,117.129363,31.838143,20220817023201,0460,0000,550B,0E9E30A5,00,20220817023202,01DB$';
14
+ var ign = '+RESP:GTIGN,6E0100,866775050906940,GV310LAU,863,0,0.0,186,69.9,117.129340,31.838973,20220630055647,0460,0000,550B,0E9E30A5,01,4,,0.0,20220630061015,00A8$';
15
+ var str = '+RESP:GTSTR,6E0100,866775050906767,GV310LAU,,,0,39.7,269,60.5,117.082767,31.832155,20220624054817,0460,0000,550B,0E9E30A5,00,0.7,20220624054819,1492$';
16
+ var stt = '+BUFF:GTSTT,6E0100,866775050906130,GV310LAU,21,0,0.0,165,81.5,117.129521,31.838534,20220630010318,0460,0001,DE11,05FE6667,00,20220630090320,B344$';
17
+ var gss = '+RESP:GTGSS,6E0100,866775050906858,GV310LAU,0,0,21,,0,0.0,170,73.2,117.129202,31.839 432,20220708011105,0460,0000,550B,0E9E30A5,01,4,20220708092106,34A7$';
18
+ var ida = '+BUFF:GTIDA,6E0100,866775050906544,GV310LAU,,D0DF95D7,0,1,2,0.0,0,78.0,117.129264,31.839145,20220822111318,0460,0000,550B,0E9E30A5,00,0.0,,,,,20220822191319,4C95$';
19
+ var dat_short = '+RESP:GTDAT,6E0100,866775050906684,,2132,20220901074329,082F$';
20
+ var dat_long = '+RESP:GTDAT,6E0100,866775050906684,,,,,2132,1,0.0,187,65.4,117.129372,31.838884,20220901074343,0460,0000,550B,0E9E30A5,00,,,,,20220901074345,0830$';
21
+ var dtt_short = '+RESP:GTDTT,6E0200,866775050906544,GV310LAU,,,0,9,123456789,20220823144523,669D$';
22
+ var dtt_long = '+RESP:GTDTT,6E0100,866775050906767,,,,0,9,123456789,2,0.0,279,72.8,117.129300,31.838850,20220712055707,0460,0000,550B,0E9E30A5,00,,,,,20220712055708,0111$';
23
+ var dos = '+RESP:GTDOS,6E0100,866775050906767,,1,0,2,0.0,248,87.8,117.129293,31.839724,20220721034754,0460,0000,550B,0E9E30A5,00,20220721034755,0370$';
24
+ var cid = '+RESP:GTCID,6E0200,866775050906544,,898602a51244f5103329,20220823172829,6D71$';
25
+ var csq = '+RESP:GTCSQ,6E0100,866775050906858,GV310LAU,31,,20220708184826,3C4E$';
26
+ var ver = '+RESP:GTVER,6E0100,866775050906684,GV310LAU,6E,0138,0103,20220812063401,0079$';
27
+ var bcs = '+RESP:GTBCS,6E0200,866775051515393,GV310LAU,,1,0.0,0,127.3,117.129427,31.839283,20220901022731,0460,0000,550B,B7B1,01,12,1D03,GV310LAU_BT,B908A4800DB1,1,1,F7E776096185,,,,,20220901102731,2472$';
28
+ var bds = '+RESP:GTBDS,6E0200,866775051515393,GV310LAU,,1,0.0,0,87.1,117.129505,31.839294,20220902060131,0460,0000,550B,B1E2,01,12,1D03,GV310LAU_BT,B908A4800DB1,1,1,F7E776096185,0,,,,20220902140133,3EA1$';
29
+ var baa = '+RESP:GTBAA,6E0405,868589060183822,GV310LAU,6,6,2,07,083F,WTH1,7805410458E4,1,3303,23,19,23.49,1,0.0,166,1535.3,-99.192685,18.932749,20231113163446,0334,0050,2674,02A4510E,00,20231113163448,1006$';
30
+ var bid = '+RESP:GTBID,6E0200,866775051515393,GV310LAU,9,1,0042,AC233F228645,-41,1,0042,AC233F2297F6,-40,1,0042,AC233F22863E,-45,1,0042,AC233F228481,-44,1,0042,AC233F229921,-45,1,0042,AC233F2298B2,-34,1,0042,AC233F229B82,-39,1,0042,AC233F22A3BE,-37,1,0042,AC233F228475,-37,1,0.0,174,89.1,117.129354,31.838392,20220901084338,0460,0000,550B,3D93,01,9,20220901164339,2826$';
31
+ var eri3 = '+RESP:GTERI,6E0405,868589060183822,GV310LAU,00000100,,10,1,0,,,,,,,0334,0050,2674,02A4510E,00,0.0,,,,,52,420000,5,6,0,6,4,,283F,WMS1,E409073882F7,0,,,,,,1,6,4,,283F,WMS2,DF31073898F7,0,,,,,,2,6,4,,283F,WMS3,E03F0A38D7F7,0,,,,,,3,6,4,,283F,WMS4,D8430738D0F8,0,,,,,,4,13,0,,4007,WRL1,E9120938F0F9,0,,5,13,0,,4007,WRL2,D3490738E5F8,0,,20231113154933,0FBB$';
32
+ var rto = '+ACK:GTRTO,6E0405,868589060183822,GV310LAU,RLY,004D,20231113161041,0FD2$'
33
+ var eri4 = '+RESP:GTERI,6E0405,868589060183822,GV310LAU,00000100,,10,1,0,0.0,0,4840.7,-99.190854,18.929302,20231213173525,0334,0050,2674,02A4510E,00,0.0,,,,,34,410000,0,1,0,6,2,1A4A2D07,083F,WTH300,78054104581B,1,2745,26,45,26.29,20231213173556,1523$';
34
+ var jdr = '+RESP:GTJDR,6E0200,866775050906544,GV310LAU,1,0,0.0,255,104.8,117.128741,31.838246,20220825033943,,,,,00,20220825034028,1177$';
35
+ var vgn = '+BUFF:GTVGN,6E0100,866775050906130,GV310LAU,00,4,1194,0,0.0,17,80.3,117.129324,31.838576,20220629023814,0460,0000,550B,0E9E30A5,00,,61.8,20220629103825,A716$';
36
+ var vgf = '+BUFF:GTVGF,6E0100,866775050906130,GV310LAU,00,4,132,0,0.0,20,77.2,117.129289,31.838557,20220629014530,0460,0000,550B,0E9E30A5,00,,61.8,20220629094531,A6C7$';
37
+ var gsm = '+RESP:GTGSM,6E0200,866775050906544,FRI,0460,0000,550B,085BE2AA,22,,0460,0000,550B,0E9E30AD,14,,0460,0000,550B,085BE2AE,11,,,,,,,,,,,,,,,,,,,,0460,0000,550B,E9E30A5,36,00,20220819103332,0297$';
38
+ var clt = '+RESP:GTCLT,6E0100,866775050906767,,0,00000001,00000000,00000000,,,203FFFFF,,2,H779133,50.56,20,40,90,,L87.40,3960,32,2.14,1.17,0.97,7436.45,4365,BF,7FFF,3F,1F,3.56,1.11,00FFFFFF,,,,,,,,,,,,,,,,,,,,,0000,621,1324,,,,1,0.0,341,132.2,117.129509,31.839074,20220712052919,0460,0000,550B,0E9E30A5,00,20220712052920,009B$';
39
+ var pnr = '+RESP:GTPNR,6E0100,863835020303983,,0,,,,,20170407094557,0633$';
40
+ var pfr = '+RESP:GTPFR,6E0100,863835020303983,,0,,,,,20170407094542,0632$';
41
+ var svr = '+RESP:GTSVR,6E0201,866775051512598,GV310LAU,1,78054125E8F7,7000000000000000000000,,1,0.0,0,56.8,117.129404,31.839378,20221201021215,0460,0000,550B,0E9E30A5,01,12,20221201021216,003D$';
42
+ var lba = '+RESP:GTLBA,6E0200,866775050906544,GV310LAU,2,0003F,2,0.0,0,186.5,117.130213,31.839004,20220823071127,0460,0000,550B,0E9E30A5,00,20220823151129,67A6$';
43
+ var wpb = '+RESP:GTWPB,6E0200,866775050906544,GV310LAU,00037,1,0.0,0,82.2,117.129451,31.839175,20220823072237,0460,0000,550B,0E9E30A5,00,20220823152238,67E3$';
44
+ var asc = '+RESP:GTASC,6E0100,866775050906833,,0.59,0.81,-0.03,-0.71,0.50,-0.34,-0.26,0.22,0.87,1,30.4,186,45.3,117.078641,31.843373,20220831071416,0460,0000,550B,082E96AA,00,20220831071417,028A$';
45
+ var hbe = '+RESP:GTHBE,6E0100,100000000000702,GV310LAU,,2,0,1,0.0,0,96.2,117.129379,31.839272,20210818060401,0460,0000,550B,B7B1,00,00280024004F,FFDB000D0049,956,443.3,20210818060403,0CC3$';
46
+ var aur = '+RESP:GTAUR,6E0100,863835020303983,,1,1,1,,,,,0.1,0,54.8,117.201426,31.833038,20150407014904,0460,0001,D5D6,2B71,00,20150407094906,0640$';
47
+ var dom = '+RESP:GTDOM,6E0100,861075020061602,,5,2,,0,28.5,101,66.8,117.206459,31.829773,20150323090457,0460,0001,5504,69D4,00,20150323170458,2970$';
48
+ var avc = '+RESP:GTAVC,6E0200,867162025516360,,0,0,0.0,187,127.5,117.201765,31.832996,20171127034253,0460,0000,5678,2D80,00,78,20171127034254,1463$';
49
+ var crg = '+RESP:GTCRG,6E0200,866775050906544,,1,10,1,1,0.0,18,113.5,117.129345,31.839108,20220826023709,2,1,0.0,18,113.5,117.129345,31.839108,20220826023710,3,1,0.0,18,113.5,117.129345,31.839108,20220826023711,4,1,0.0,18,113.5,117.129345,31.839108,20220826023712,5,1,0.0,18,113.5,117.129345,31.839108,20220826023713,6,1,0.0,18,113.5,117.129345,31.839108,20220826023714,7,1,0.0,18,113.5,117.129345,31.839108,20220826023715,8,1,0.0,18,113.5,117.129345,31.839108,20220826023716,9,1,0.0,18,113.5,117.129345,31.839108,20220826023717,10,1,0.0,18,113.5,117.129345,31.839108,20220826023718,20220826103719,1C77$';
50
+ var crd = '+RESP:GTCRD,6E0200,866775050906544,,01,06,1,1,000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000C0001FFAB000B0001FFAB000B0003FFAB000C0001FFAB000B0001FFAB000B0001FFAB000C0001FFAB000B0001FFAB000B0001FFAB000B0002FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000C0001FFAB000B0001FFAB000C0001FFAB000B0001FFAB000C0001FFAB000B0001FFAB000B0001FFAB000B0002FFAC000B0001FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0002FFAB000B0001FFAB000B0001FFAB000B0001FFAB000B0003FFAB000C0001FFAB000B0001FFAB000B0002FFAB000B0002FFAB000C0001FFAB000F0003FFAB000C0002FFAB00070000FFAB000B0002FFAB000B0001FFAB000C0001FFAB000B0002FFAB000F0004FFB0000D0004FFAF00190001FFAB001CFFFDFFAB00110004FFAB0010FFFFFFAA00060002FFAB000E0001FFAB00140004FFAB00100006FFAB000E0006FFAB000F0006FFAB00100004FFAC00150001FFAA00140003FFAA0006000AFFAB00060003FFABFFFD0000FFABFFF4FFFDFFABFFE8FFFCFFABFFE9000BFFABFFB3FFFAFFAA,20220826103154,1C3F$';
51
+ var acc = '+RESP:GTACC,6E0200,866775050906544,,000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0001FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000A0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000A0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000A0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB000B0002FFAB,,,,20220826104109,1C9E$';
52
+ var can = '+RESP:GTCAN,6E0100,866775050906767,,0,1,E03FFFFF,LSVNY41Z0B2521894,2,H1230,2.46,865,10,77,M167.0,P97.60,,0,0.92,0.61,0.31,11.20,,,0442,,20,0.08,0.00,00FFFFFF,100,326,253,306,1,1,1,999,617,996,307,0.03,0.19,0.22,947,1111111111,2222222222,123456789012345678901234567890abcdefghij,98765abcdefghij36254iuelopiedj5duebdkvde,5647893214,0000,0,0,89,,,1,0.0,173,86.8,117.129379,31.838965,20220712054346,0460,0000,550B,0E9E30A5,00,20220712054348,00D4$';
53
+ const raw = new Buffer(can)
54
+ console.log(queclink.parse(raw))
55
+ // queclink.parse(raw)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "queclink-parser",
3
- "version": "1.5.0",
3
+ "version": "1.8.3",
4
4
  "description": "Parse raw data from Queclink devices",
5
5
  "main": "src",
6
6
  "scripts": {
package/src/gv300w.js CHANGED
@@ -480,6 +480,7 @@ const parse = raw => {
480
480
  command[1] === 'GTRTL' ||
481
481
  command[1] === 'GTDOG' ||
482
482
  command[1] === 'GTIGL' ||
483
+ command[1] === 'GTVGL' ||
483
484
  command[1] === 'GTHBM'
484
485
  ) {
485
486
  // Common Alarms