Skip to content

Commit

Permalink
Mention node-tradfri-client
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Dec 20, 2017
1 parent 15f1a33 commit 290a099
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Clientside implementation of the CoAP protocol with DTLS support

*Requires NodeJS >= 6.x*

**Note:** If you want to talk to a Trådfri gateway, use https://github.com/AlCalzone/node-tradfri-client instead. That library builds on node-coap-client with some simplifying abstractions.

## Usage
```
const coap = require("node-coap-client").CoapClient;
Expand Down Expand Up @@ -32,7 +34,7 @@ The SecurityParameters object looks as follows, for now only PSK key exchanges a
}
}
```
To talk to a Trådfri gateway, you need to use `Client_identity` as the identity.
To talk to a Trådfri gateway, you need to use `Client_identity` to generate a new DTLS identity and then use that one for further communication. Again, please use [node-tradfri-client](https://github.com/AlCalzone/node-tradfri-client) instead.

### `tryToConnect` - Check if a given resource is available
```
Expand Down

0 comments on commit 290a099

Please sign in to comment.