@canboat/canboatjs 2.5.5 → 2.5.6
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/README.md +2 -3
- package/lib/canbus.js +4 -2
- package/package.json +1 -1
- package/ios_canboat.js/main.js +0 -2
- package/ios_canboat.js/main.js.LICENSE.txt +0 -17
- package/ios_canboat.js/main.js.map +0 -1
package/README.md
CHANGED
|
@@ -8,8 +8,7 @@ Canboatjs is a port of the canboat project (https://github.com/canboat/canboat)
|
|
|
8
8
|
|
|
9
9
|
# Contributors
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
- Scott Bender <scott@scottbender.net>
|
|
13
12
|
- Kees Verruijt <kees@verruijt.net>
|
|
14
13
|
- Jouni Hartikainen <jouni.hartikainen@iki.fi>
|
|
15
14
|
- Teppo Kurki <teppo.kurki@iki.fi>
|
|
@@ -55,7 +54,7 @@ Example: `candump can0 | candumpanalyzerjs`
|
|
|
55
54
|
|
|
56
55
|
Read directly from a socketcan device without the need to install can-utils
|
|
57
56
|
|
|
58
|
-
Example: candumpjs can0
|
|
57
|
+
Example: `candumpjs can0`
|
|
59
58
|
|
|
60
59
|
## ydvr-file
|
|
61
60
|
|
package/lib/canbus.js
CHANGED
|
@@ -54,14 +54,16 @@ function CanbusStream (options) {
|
|
|
54
54
|
this.options = options
|
|
55
55
|
this.start()
|
|
56
56
|
|
|
57
|
+
console.trace()
|
|
58
|
+
console.log(options.app.ssetProviderStatus)
|
|
57
59
|
this.setProviderStatus = options.app && options.app.setProviderStatus
|
|
58
60
|
? (msg) => {
|
|
59
|
-
options.app.
|
|
61
|
+
options.app.setProviderStatus(options.providerId, msg)
|
|
60
62
|
}
|
|
61
63
|
: () => {}
|
|
62
64
|
this.setProviderError = options.app && options.app.setProviderError
|
|
63
65
|
? (msg) => {
|
|
64
|
-
options.app.
|
|
66
|
+
options.app.setProviderError(options.providerId, msg)
|
|
65
67
|
}
|
|
66
68
|
: () => {}
|
|
67
69
|
|