iotdb-transport-coap
v3.0.3
Published
IOTDB Transport for COAP
Downloads
2
Readme
iotdb-transport-coap
IOTDB Transporter for CoAP
About
This module will export everything to CoAP, allowing GET and PUT and OBSERVE operations. Note that there is no authentication / user support at this time, so only use within friendly environments.
There are code samples in GitHub.
Installation
Do:
$ npm install iotdb-transport-coap
Then:
const iotdb = require("iotdb");
const iotdb_transport_iotdb = require("iotdb-transport-iotdb");
const iotdb_transport_coap = require("iotdb-transport-coap")
iotdb.use("homestar-wemo");
iotdb.connect("WeMoSocket");
const iotdb_transporter = iotdb_transport_iotdb.make({});
const coap_client = iotdb_transport_coap.connect({});
const coap_transporter = iotdb_transport_coap.make({}, iotdb_transporter, coap_client);