Skip to content

Commit 74f5b2f

Browse files
author
Daisuke Baba
committed
Merge branch 'release/2.0.0'
2 parents ac779ad + 0d0d0c9 commit 74f5b2f

File tree

8 files changed

+662
-193
lines changed

8 files changed

+662
-193
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: node_js
22
node_js:
3-
- 6.11
3+
- 6.12
4+
- 8.9
45

56
addons:
67
apt:

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ These are environmental variables for systemwidely configuring this node:
5959
| `GENERIC_BLE_CONNECTION_TIMEOUT_MS` | Connection Timeout in milliseconds. 5s by default |
6060
| `GENERIC_BLE_CONCURRENT_CONNECTIONS` | Number of Concurrent BLE connections. 1 by default |
6161
| `GENERIC_BLE_READ_WRITE_INTERVAL_MS` | Read/Write operation interval in milliseconds. 50ms by default |
62-
| `GENERIC_BLE_NOTIFY_WAIT_MS` | Default waiting time for listening notify events. 300 by default |
62+
| `GENERIC_BLE_OPERATION_WAIT_MS` | Default waiting time for Read/Write/Notify response per characteristic. 500 by default |
6363
| `GENERIC_BLE_MAX_REQUESTS` | The length of Read/Write operation queues. 10 by default |
6464

6565
You can easily get started with importing the example flow from the menu icon > `Import` > `Examples` > `generic ble`.
@@ -73,7 +73,7 @@ This will take approx. 3 minutes on Raspberry Pi 3.
7373
Run the following commands:
7474
```
7575
cd ~/.node-red
76-
sudo npm install --unsafe-perm node-red-contrib-generic-ble
76+
npm install node-red-contrib-generic-ble
7777
```
7878

7979
Then restart Node-RED process.
@@ -130,6 +130,17 @@ sudo hcidump -t -x
130130
Set `GENERIC_BLE_TRACE=true` on starting Node-RED and you can find the precise log in `/var/log/syslog`.
131131

132132
# Revision History
133+
134+
* 2.0.0
135+
- Add `Poll Notify Events` message support so that Generic BLE out node can start to subscribe the given characteristic events
136+
- Support characteristic query by one or more uuids
137+
- Add `Mute Notify Events` to `Generic BLE` config node for this node to avoid unnecessary device connection for event subscription
138+
- Replace `RED.log` functions with node logging functions as possible to offer precise logging control via UI
139+
- Add `Operation Timeout` to `Generic BLE` config node to set the waiting time for Read/Write/Notify response **per characteristic** rather than per device
140+
- `GENERIC_BLE_OPERATION_WAIT_MS` is introduced for default `Operation Timeout` value
141+
- Remove `Listening Period` from `Generic BLE` config node
142+
- `GENERIC_BLE_NOTIFY_WAIT_MS` is removed
143+
133144
* 1.0.2
134145
- Improve README
135146
- Add an example flow file available from the editor UI

0 commit comments

Comments
 (0)