Skip to content

Commit

Permalink
add alarm message
Browse files Browse the repository at this point in the history
  • Loading branch information
vondraussen committed Aug 3, 2021
1 parent d48cc6a commit cc79223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gt06.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Gt06.prototype.parse = function (data) {
// case 0x15:
// //parseLocation(msg);
// break;
// case 0x16:
// result = parseAlarm(msg);
// break;
case 0x16:
Object.assign(parsed, parseAlarm(msg), { imei:this.imei });
break;
// case 0x1A:
// //parseLocation(msg);
// break;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gt06",
"version": "1.0.7",
"version": "1.0.8",
"description": "Parses and creates responses for GT06 GPS tracker messages",
"main": "gt06.js",
"scripts": {
Expand Down

0 comments on commit cc79223

Please sign in to comment.