bt-sensors-plugin-sk 1.0.2 → 1.0.3
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 +3 -3
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,12 +46,12 @@ This will be the recommended installation when the code is ready for wider shari
|
|
|
46
46
|
From a command prompt:<br>
|
|
47
47
|
|
|
48
48
|
<pre> cd ~/[some_dir]
|
|
49
|
-
git clone https://github.com/naugehyde/
|
|
50
|
-
cd
|
|
49
|
+
git clone https://github.com/naugehyde/bt-sensors-plugin-sk
|
|
50
|
+
cd bt-sensors-plugin-sk
|
|
51
51
|
npm i
|
|
52
52
|
[sudo] npm link
|
|
53
53
|
cd [signalk_home]
|
|
54
|
-
npm link
|
|
54
|
+
npm link bt-sensors-plugin-sk</pre>
|
|
55
55
|
|
|
56
56
|
Finally, restart SK. Plugin should appear in your server plugins list.<br>
|
|
57
57
|
|
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ const {bluetooth, destroy} = createBluetooth()
|
|
|
6
6
|
|
|
7
7
|
const BTSensor = require('./BTSensor.js')
|
|
8
8
|
|
|
9
|
-
const Device = require('
|
|
9
|
+
const Device = require('../node-ble/src/Device.js')
|
|
10
10
|
|
|
11
11
|
Device.prototype.getUUIDs=async function() {
|
|
12
12
|
return this.helper.prop('UUIDs')
|