@canboat/canboatjs 2.4.0 → 2.4.1
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/ios.js +9 -1
- package/ios_canboat.js/main.js +2454 -0
- package/ios_canboat.js/main.js.LICENSE.txt +8 -0
- package/ios_canboat.js/main.js.map +1 -0
- package/lib/canbus.js +1 -1
- package/lib/discovery.js +1 -1
- package/lib/fromPgn.js +4 -0
- package/lib/ikonvert.js +0 -1
- package/lib/serial.js +1 -1
- package/lib/stringMsg.js +1 -0
- package/lib/utilities.js +0 -1
- package/lib/venus-mqtt.js +0 -1
- package/package.json +6 -4
package/ios.js
CHANGED
|
@@ -8,7 +8,9 @@ const {
|
|
|
8
8
|
pgnToiKonvertSerialFormat,
|
|
9
9
|
actisenseToiKonvert,
|
|
10
10
|
pgnToMXPGN,
|
|
11
|
-
actisenseToMXPGN
|
|
11
|
+
actisenseToMXPGN,
|
|
12
|
+
pgnToActisenseN2KAsciiFormat,
|
|
13
|
+
actisenseToN2KAsciiFormat
|
|
12
14
|
} = require('./lib/toPgn')
|
|
13
15
|
|
|
14
16
|
const parser = new FromPgn({})
|
|
@@ -30,6 +32,8 @@ global.pgnToMXPGN = pgnToMXPGN
|
|
|
30
32
|
global.actisenseToMXPGN = actisenseToMXPGN
|
|
31
33
|
global.pgnToiKonvertSerialFormat = pgnToiKonvertSerialFormat
|
|
32
34
|
global.actisenseToiKonvert = actisenseToiKonvert
|
|
35
|
+
global.pgnToActisenseN2KAsciiFormat = pgnToActisenseN2KAsciiFormat
|
|
36
|
+
global.actisenseToN2KAsciiFormat = actisenseToN2KAsciiFormat
|
|
33
37
|
|
|
34
38
|
global.parsePCDIN = (pcdin) => {
|
|
35
39
|
return parser.parseN2KOver0183(pcdin)
|
|
@@ -54,6 +58,10 @@ global.parsePDGY = (pdgy) => {
|
|
|
54
58
|
return parser.parsePDGY(pdgy)
|
|
55
59
|
}
|
|
56
60
|
|
|
61
|
+
global.parseActisenseN2KASCII = (n2k) => {
|
|
62
|
+
return parser.parseActisenseN2KASCII(pdgy)
|
|
63
|
+
}
|
|
64
|
+
|
|
57
65
|
//global.toPgn: require('./lib/toPgn').toPgn,
|
|
58
66
|
|
|
59
67
|
//console.log(global.parseYDGW02('06:06:39.801 R 09F10DCC 00 FF FF 7F FF 7F FF FF'))
|