Skip to content

Commit

Permalink
moved unrecognised.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fabdrol committed Mar 18, 2017
1 parent 4132e1e commit 7746690
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 48 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2016 Signal K and Fabian Tollenaar <[email protected]>.
Copyright 2016/2017 Signal K and Fabian Tollenaar <[email protected]>.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
7 changes: 0 additions & 7 deletions TODO.md

This file was deleted.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

/**
* Copyright 2016 Signal K and Fabian Tollenaar <[email protected]>.
* Copyright 2016/2017 Signal K and Fabian Tollenaar <[email protected]>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
38 changes: 0 additions & 38 deletions tcp-test.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/unknown_sentences.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

const Parser = require('../lib')
const chai = require('chai')
const nmeaLog = require('./logs/unrecognised.js')
const nmeaLog = require('./unrecognised.js')

chai.Should()
chai.use(require('chai-things'))
Expand Down
30 changes: 30 additions & 0 deletions test/unrecognised.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = [
'\\s:nx,c:1433800403*7C\\$IIDPT,001.84,0.40*49\n',
'\\s:nx,c:1433800403*7C\\$IIVHW,,T,,M,00.00,N,00.00,K*55\n',
'\\s:nx,c:1433800403*7C\\$IIXDR,C,326.3,C,TEMP,H,,P,HUM,P,01.028,B,PRESS*60\n',
'\\s:nx,c:1433800403*7C\\$IIVPW,,N,,*1F\n',
'\\s:nx,c:1433800403*7C\\$IIMWD,,,,,00.07,N,00.04,M*5E\n',
'\\s:nx,c:1433800403*7C\\$IIMTW,14,C*08\n',
'\\s:nx,c:1433800403*7C\\$IIVDR,,,,,,N*0E\n',
'\\s:nx,c:1433800404*7B\\$IIVWR,029,R,00.09,N,00.05,M,,*35\n',
'\\s:nx,c:1433800404*7B\\$IIVWT,027,R,00.07,N,00.04,M,,*32\n',
'\\s:nx,c:1433800404*7B\\$GPZDA,,,,,02,*4A\n',
'\\s:nx,c:1433800405*7A\\$IIXDR,C,326.3,C,TEMP,H,,P,HUM,P,01.028,B,PRESS*60\n',
'\\s:nx,c:1433800405*7A\\$IIDPT,001.84,0.40*49\n',
'\\s:nx,c:1433800405*7A\\$IIVHW,,T,,M,00.00,N,00.00,K*55\n',
'\\s:nx,c:1433800405*7A\\$IIVPW,,N,,*1F\n',
'\\s:nx,c:1433800405*7A\\$IIMWD,,,,,00.07,N,00.04,M*5E\n',
'\\s:nx,c:1433800405*7A\\$IIMTW,14,C*08\n',
'\\s:nx,c:1433800406*79\\$IIVDR,,,,,,N*0E\n',
'\\s:nx,c:1433800406*79\\$IIVWR,029,R,00.09,N,00.05,M,,*35\n',
'\\s:nx,c:1433800406*79\\$IIVWT,027,R,00.07,N,00.04,M,,*32\n',
'\\s:nx,c:1433800407*78\\$GPZDA,,,,,02,*4A\n',
'\\s:compass,c:1433800407*1E\\$HCHDM,54.0,M*18\n',
'\\s:compass,c:1433800407*1E\\$TIROT,-0.0,A*16\n',
'\\s:compass,c:1433800407*1E\\$YXXDR,A,8.4,D,PTCH,A,-26.6,D,ROLL,A,136.4,D,YAW*2A\n',
'\\s:nx,c:1433800407*78\\$IIXDR,C,326.3,C,TEMP,H,,P,HUM,P,01.028,B,PRESS*60\n',
'\\s:nx,c:1433800407*78\\$IIDPT,001.84,0.40*49\n',
'\\s:nx,c:1433800407*78\\$IIVHW,,T,,M,00.00,N,00.00,K*55\n',
'\\s:compass,c:1433800407*1E\\$HCHDM,135.0,M*2E\n',
'\\s:compass,c:1433800407*1E\\$TIROT,-0.2,A*14\n',
]

0 comments on commit 7746690

Please sign in to comment.