@canboat/canboatjs 3.15.1 → 3.16.0-beta.2
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/binding.gyp +10 -0
- package/build/Makefile +347 -0
- package/build/binding.Makefile +6 -0
- package/build/canSocket.target.mk +189 -0
- package/build/gyp-mac-tool +772 -0
- package/dist/bin/candumpjs.js +2 -3
- package/dist/bin/candumpjs.js.map +1 -1
- package/dist/bin/cansendjs.js +3 -4
- package/dist/bin/cansendjs.js.map +1 -1
- package/dist/canSocket.d.ts +39 -0
- package/dist/canSocket.d.ts.map +1 -0
- package/dist/canSocket.js +101 -0
- package/dist/canSocket.js.map +1 -0
- package/dist/canbus.d.ts.map +1 -1
- package/dist/canbus.js +4 -19
- package/dist/canbus.js.map +1 -1
- package/dist/fromPgn.js +7 -1
- package/dist/fromPgn.js.map +1 -1
- package/dist/simpleCan.d.ts.map +1 -1
- package/dist/simpleCan.js +2 -3
- package/dist/simpleCan.js.map +1 -1
- package/native/canSocket.cpp +64 -0
- package/package.json +15 -13
- package/tsconfig.tsbuildinfo +1 -1
- package/vscode-profile-2025-07-21-12-04-28.cpuprofile +1 -0
- package/dist/actisense-serial.d.ts +0 -17
- package/dist/bin/actisense-file.d.ts +0 -3
- package/dist/bin/actisense-n2k-tcp.d.ts +0 -3
- package/dist/bin/actisense-serialjs.d.ts +0 -3
- package/dist/bin/analyzerjs.d.ts +0 -3
- package/dist/bin/candumpjs.d.ts +0 -3
- package/dist/bin/cansendjs.d.ts +0 -3
- package/dist/bin/ikonvert-serial.d.ts +0 -3
- package/dist/bin/to-pgn.d.ts +0 -3
- package/dist/bin/utils.d.ts +0 -4
- package/dist/bin/ydvr-file.d.ts +0 -3
- package/dist/browser.d.ts +0 -25
- package/dist/canId.d.ts +0 -21
- package/dist/canId.test.d.ts +0 -2
- package/dist/canbus.d.ts +0 -17
- package/dist/candevice.d.ts +0 -23
- package/dist/codes.d.ts +0 -2
- package/dist/discovery.d.ts +0 -17
- package/dist/fromPgnStream.d.ts +0 -17
- package/dist/ikonvert.d.ts +0 -17
- package/dist/index.d.ts +0 -40
- package/dist/maretron.d.ts +0 -74
- package/dist/maretron.test.d.ts +0 -2
- package/dist/n2k-actisense.test.d.ts +0 -2
- package/dist/n2kDevice.d.ts +0 -44
- package/dist/persist.d.ts +0 -18
- package/dist/pgns.d.ts +0 -5
- package/dist/pgns.test.d.ts +0 -2
- package/dist/simpleCan.d.ts +0 -17
- package/dist/stringMsg.test.d.ts +0 -2
- package/dist/utilities.test.d.ts +0 -2
- package/dist/venus-mqtt.d.ts +0 -11
- package/dist/w2k01.d.ts +0 -17
- package/dist/yddevice.d.ts +0 -25
- package/dist/ydgw02.d.ts +0 -17
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function ActisenseStream(this: any, options: any): any;
|
|
17
|
-
//# sourceMappingURL=actisense-serial.d.ts.map
|
package/dist/bin/analyzerjs.d.ts
DELETED
package/dist/bin/candumpjs.d.ts
DELETED
package/dist/bin/cansendjs.d.ts
DELETED
package/dist/bin/to-pgn.d.ts
DELETED
package/dist/bin/utils.d.ts
DELETED
package/dist/bin/ydvr-file.d.ts
DELETED
package/dist/browser.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2019 Scott Bender <scott@scottbender.net>
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export { Parser as FromPgn } from './fromPgn';
|
|
17
|
-
export type { ByteMapping, ByteMap, RepeatingByteMapping } from './fromPgn';
|
|
18
|
-
export { addCustomPgns } from './pgns';
|
|
19
|
-
export { parseN2kString, isN2KString, toActisenseSerialFormat, encodeCandump2 } from './stringMsg';
|
|
20
|
-
export { toPgn, pgnToActisenseSerialFormat, pgnToActisenseN2KAsciiFormat, pgnToiKonvertSerialFormat, pgnToYdgwRawFormat, pgnToYdgwFullRawFormat, pgnToPCDIN, pgnToMXPGN, pgnToCandump1, pgnToCandump2, pgnToCandump3 } from './toPgn';
|
|
21
|
-
export { setupFilters, filterPGN } from './utilities';
|
|
22
|
-
export type { FilterConfig, FilterOptions } from './utilities';
|
|
23
|
-
export declare const lookupEnumerationValue: (enumName: string, value: string) => number | undefined;
|
|
24
|
-
export declare const lookupEnumerationName: (enumName: string, value: number) => string | undefined;
|
|
25
|
-
//# sourceMappingURL=browser.d.ts.map
|
package/dist/canId.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type ParsedCanID = {
|
|
2
|
-
canId: number;
|
|
3
|
-
prio: number;
|
|
4
|
-
src: number;
|
|
5
|
-
pgn: number;
|
|
6
|
-
dst: number;
|
|
7
|
-
};
|
|
8
|
-
export type CanID = {
|
|
9
|
-
prio: number;
|
|
10
|
-
src: number;
|
|
11
|
-
pgn: number;
|
|
12
|
-
dst: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const parseCanId: (id: number) => ParsedCanID;
|
|
15
|
-
export declare const parseCanIdStr: (canId: string) => ParsedCanID;
|
|
16
|
-
export declare const buildCanId: (prio: string | number, pgn: string | number, dst: string | number, src: string | number) => CanID;
|
|
17
|
-
export declare const encodeCanId: (id: CanID) => number;
|
|
18
|
-
export declare const canIdString: (canId: number) => string;
|
|
19
|
-
export declare const encodeCanIdString: (id: CanID) => string;
|
|
20
|
-
export declare const parseEncode: (x: number) => number;
|
|
21
|
-
//# sourceMappingURL=canId.d.ts.map
|
package/dist/canId.test.d.ts
DELETED
package/dist/canbus.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function CanbusStream(this: any, options: any): any;
|
|
17
|
-
//# sourceMappingURL=canbus.d.ts.map
|
package/dist/candevice.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net) and Jouni Hartikainen (jouni.hartikainen@iki.fi)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { PGN } from '@canboat/ts-pgns';
|
|
17
|
-
import { N2kDevice } from './n2kDevice';
|
|
18
|
-
export declare class CanDevice extends N2kDevice {
|
|
19
|
-
canbus: any;
|
|
20
|
-
constructor(canbus: any, options: any);
|
|
21
|
-
sendPGN(pgn: PGN, src?: number | undefined): void;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=candevice.d.ts.map
|
package/dist/codes.d.ts
DELETED
package/dist/discovery.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2019 Scott Bender <scott@scottbender.net>
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function discover(app: any): void;
|
|
17
|
-
//# sourceMappingURL=discovery.d.ts.map
|
package/dist/fromPgnStream.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function fromPgnStream(this: any, options?: any): void;
|
|
17
|
-
//# sourceMappingURL=fromPgnStream.d.ts.map
|
package/dist/ikonvert.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function iKonvertStream(this: any, options: any): any;
|
|
17
|
-
//# sourceMappingURL=ikonvert.d.ts.map
|
package/dist/index.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2019 Scott Bender <scott@scottbender.net>
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export { Parser as FromPgn } from './fromPgn';
|
|
17
|
-
export type { ByteMapping, ByteMap, RepeatingByteMapping } from './fromPgn';
|
|
18
|
-
export { setupFilters, filterPGN } from './utilities';
|
|
19
|
-
export type { FilterConfig, FilterOptions } from './utilities';
|
|
20
|
-
export { CanbusStream as canbus } from './canbus';
|
|
21
|
-
export { addCustomPgns } from './pgns';
|
|
22
|
-
export { parseN2kString, isN2KString, toActisenseSerialFormat, encodeCandump2, encodeActisense, encodeActisenseN2KACSII, encodeYDRAW, encodeYDRAWFull, encodePDGY, encodePCDIN, encodeMXPGN, encodeCandump1, encodeCandump3 } from './stringMsg';
|
|
23
|
-
export { toPgn, pgnToActisenseSerialFormat, pgnToActisenseN2KAsciiFormat, pgnToiKonvertSerialFormat, pgnToYdgwRawFormat, pgnToYdgwFullRawFormat, pgnToPCDIN, pgnToMXPGN, pgnToCandump1, pgnToCandump2, pgnToCandump3 } from './toPgn';
|
|
24
|
-
export { Ydgw02Stream as Ydwg02 } from './ydgw02';
|
|
25
|
-
export { Ydgw02Stream as Ydgw02 } from './ydgw02';
|
|
26
|
-
export { W2K01Stream as W2k01 } from './w2k01';
|
|
27
|
-
export { iKonvertStream as iKonvert } from './ikonvert';
|
|
28
|
-
export { VenusStream as Venus } from './venus';
|
|
29
|
-
export { VenusMQTT } from './venus-mqtt';
|
|
30
|
-
export { discover } from './discovery';
|
|
31
|
-
export { SimpleCan } from './simpleCan';
|
|
32
|
-
export { YdDevice } from './yddevice';
|
|
33
|
-
export { CanDevice } from './candevice';
|
|
34
|
-
export { N2kDevice } from './n2kDevice';
|
|
35
|
-
export { ActisenseStream as serial } from './actisense-serial';
|
|
36
|
-
export { buildMaretronConfigCommand, buildMaretronConfigCommandActisense, parseMaretronConfigResponse, getMaretronProductName, getMaretronOpcodeName } from './maretron';
|
|
37
|
-
export type { MaretronConfigResponse } from './maretron';
|
|
38
|
-
export declare const lookupEnumerationValue: (enumName: string, value: string) => number | undefined;
|
|
39
|
-
export declare const lookupEnumerationName: (enumName: string, value: number) => string | undefined;
|
|
40
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/maretron.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { PGN } from '@canboat/ts-pgns';
|
|
2
|
-
/**
|
|
3
|
-
* Build a raw PGN 126208 Command payload targeting PGN 126720 for Maretron
|
|
4
|
-
* proprietary device configuration. This bypasses canboatjs's structured
|
|
5
|
-
* 126208 encoder because Maretron's field index scheme doesn't match
|
|
6
|
-
* canboat's semantic field ordering for PGN 126720.
|
|
7
|
-
*
|
|
8
|
-
* Wire format (confirmed from live capture):
|
|
9
|
-
* ```
|
|
10
|
-
* [0] FC = 0x01 (Command)
|
|
11
|
-
* [1-3] Target PGN = 0x01EF00 (126720) LE
|
|
12
|
-
* [4] Priority + Reserved = 0xF8
|
|
13
|
-
* [5] Number of params = 0x04
|
|
14
|
-
* [6] Field idx 1
|
|
15
|
-
* [7-8] Mfr code packed = 0x9889 (mfr=137, rsvd=1, ind=4)
|
|
16
|
-
* [9] Field idx 2
|
|
17
|
-
* [10-11] Product code (LE)
|
|
18
|
-
* [12] Field idx 3
|
|
19
|
-
* [13-14] Sub-header = 0x0001
|
|
20
|
-
* [15+] Opcode + payload bytes
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @param dst Destination device address on the N2K bus
|
|
24
|
-
* @param productCode Maretron product code (e.g. 23603 for SIM100)
|
|
25
|
-
* @param opcodePayload Array of bytes: [opcode, ...data]
|
|
26
|
-
* @returns PGN object suitable for emission via nmea2000JsonOut
|
|
27
|
-
*/
|
|
28
|
-
export declare function buildMaretronConfigCommand(dst: number, productCode: number, opcodePayload: number[]): PGN & {
|
|
29
|
-
dst: number;
|
|
30
|
-
fields: {
|
|
31
|
-
data: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Build a raw PGN 126208 Command as an actisense-format hex string,
|
|
36
|
-
* suitable for emission via the nmea2000out event.
|
|
37
|
-
*
|
|
38
|
-
* @param dst Destination device address on the N2K bus
|
|
39
|
-
* @param productCode Maretron product code
|
|
40
|
-
* @param opcodePayload Array of bytes: [opcode, ...data]
|
|
41
|
-
* @returns Actisense serial format string
|
|
42
|
-
*/
|
|
43
|
-
export declare function buildMaretronConfigCommandActisense(dst: number, productCode: number, opcodePayload: number[]): string;
|
|
44
|
-
export interface MaretronConfigResponse {
|
|
45
|
-
productCode: number;
|
|
46
|
-
productName: string | undefined;
|
|
47
|
-
softwareCode: number;
|
|
48
|
-
opcode: number;
|
|
49
|
-
opcodeName: string | undefined;
|
|
50
|
-
payload: number[];
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Parse a decoded PGN 126720 that matches the Maretron proprietary
|
|
54
|
-
* configuration format. Works with both the new maretronProprietaryConfiguration
|
|
55
|
-
* variant (which has named fields) and the generic maretronSlaveResponse.
|
|
56
|
-
*
|
|
57
|
-
* For maretronProprietaryConfiguration:
|
|
58
|
-
* fields.productCode, fields.softwareCode, fields.opcode, fields.payload
|
|
59
|
-
*
|
|
60
|
-
* For raw PGN objects with a data field, extracts bytes directly.
|
|
61
|
-
*
|
|
62
|
-
* @param pgn A decoded PGN 126720 object
|
|
63
|
-
* @returns Parsed Maretron config info, or null if not a Maretron config PGN
|
|
64
|
-
*/
|
|
65
|
-
export declare function parseMaretronConfigResponse(pgn: any): MaretronConfigResponse | null;
|
|
66
|
-
/**
|
|
67
|
-
* Get the product name for a Maretron product code.
|
|
68
|
-
*/
|
|
69
|
-
export declare function getMaretronProductName(productCode: number): string | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Get the opcode name for a Maretron config opcode.
|
|
72
|
-
*/
|
|
73
|
-
export declare function getMaretronOpcodeName(opcode: number): string | undefined;
|
|
74
|
-
//# sourceMappingURL=maretron.d.ts.map
|
package/dist/maretron.test.d.ts
DELETED
package/dist/n2kDevice.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { PGN } from '@canboat/ts-pgns';
|
|
17
|
-
import { EventEmitter } from 'node:events';
|
|
18
|
-
export declare class N2kDevice extends EventEmitter {
|
|
19
|
-
addressClaim: any;
|
|
20
|
-
productInfo: any;
|
|
21
|
-
configurationInfo: any;
|
|
22
|
-
options: any;
|
|
23
|
-
address: number;
|
|
24
|
-
cansend: boolean;
|
|
25
|
-
foundConflict: boolean;
|
|
26
|
-
heartbeatCounter: number;
|
|
27
|
-
devices: any;
|
|
28
|
-
sentAvailable: boolean;
|
|
29
|
-
addressClaimDetectionTime: number;
|
|
30
|
-
transmitPGNs: number[];
|
|
31
|
-
addressClaimSentAt?: number;
|
|
32
|
-
addressClaimChecker?: any;
|
|
33
|
-
heartbeatInterval?: any;
|
|
34
|
-
debug: any;
|
|
35
|
-
constructor(options: any, debugName: string);
|
|
36
|
-
start(): void;
|
|
37
|
-
getPersistedData(key: string): any;
|
|
38
|
-
savePersistedData(key: string, value: any): void;
|
|
39
|
-
setStatus(msg: string): void;
|
|
40
|
-
setError(msg: string): void;
|
|
41
|
-
n2kMessage(pgn: PGN): void;
|
|
42
|
-
sendPGN(_pgn: PGN, _src?: number | undefined): void;
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=n2kDevice.d.ts.map
|
package/dist/persist.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare const getPersistedData: (options: any, id: string, key: string) => any;
|
|
17
|
-
export declare const savePersistedData: (options: any, id: string, key: string, value: any) => void;
|
|
18
|
-
//# sourceMappingURL=persist.d.ts.map
|
package/dist/pgns.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const getPgn: (num: number) => import("@canboat/ts-pgns").Definition[] | undefined;
|
|
2
|
-
export declare const customPgns: any;
|
|
3
|
-
export declare const addCustomPgns: (pgns: any, _setter: any) => void;
|
|
4
|
-
export declare const getCustomPgn: (pgnNum: number) => any;
|
|
5
|
-
//# sourceMappingURL=pgns.d.ts.map
|
package/dist/pgns.test.d.ts
DELETED
package/dist/simpleCan.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 Scott Bender <scott@scottbender.net>
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function SimpleCan(this: any, options: any, messageCb: (data: any) => void): void;
|
|
17
|
-
//# sourceMappingURL=simpleCan.d.ts.map
|
package/dist/stringMsg.test.d.ts
DELETED
package/dist/utilities.test.d.ts
DELETED
package/dist/venus-mqtt.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { MQTTStream as VenusMQTT };
|
|
2
|
-
declare function MQTTStream(options: any): void;
|
|
3
|
-
declare class MQTTStream {
|
|
4
|
-
constructor(options: any);
|
|
5
|
-
options: any;
|
|
6
|
-
discoveryAvailable(): boolean;
|
|
7
|
-
pipe(pipeTo: any): void;
|
|
8
|
-
startDiscovery(): Promise<any>;
|
|
9
|
-
_transform(_data: any, _encoding: any, _callback: any): void;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=venus-mqtt.d.ts.map
|
package/dist/w2k01.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function W2K01Stream(this: any, options: any, type: string, outEvent: string): any;
|
|
17
|
-
//# sourceMappingURL=w2k01.d.ts.map
|
package/dist/yddevice.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { PGN } from '@canboat/ts-pgns';
|
|
17
|
-
import { N2kDevice } from './n2kDevice';
|
|
18
|
-
export declare class YdDevice extends N2kDevice {
|
|
19
|
-
app: any;
|
|
20
|
-
n2kOutEvent: string;
|
|
21
|
-
constructor(options: any);
|
|
22
|
-
sendPGN(pgn: PGN, src?: number | undefined): void;
|
|
23
|
-
sendActisenseFormat(msg: string): void;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=yddevice.d.ts.map
|
package/dist/ydgw02.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018 Scott Bender (scott@scottbender.net)
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare function Ydgw02Stream(this: any, options: any, type: string): any;
|
|
17
|
-
//# sourceMappingURL=ydgw02.d.ts.map
|