项目作者: freebirdjs

项目描述 :
高级语言: JavaScript
项目地址: git://github.com/freebirdjs/freebird-netcore-coap.git
创建时间: 2016-05-11T10:56:50Z
项目社区:https://github.com/freebirdjs/freebird-netcore-coap

开源协议:MIT License

下载


freebird-netcore-coap

A CoAP machine network core for freebird framework.

NPM

Build Status
npm
npm


Documentation

Please visit the Wiki.

Overview

freebird-netcore-coap is the network controller (netcore) with managment facilities ready for freebird IoT framework.

Installation

$ npm install freebird-netcore-coap —save

Basic Usage

  1. var Freebird = require('freebird'),
  2. coapCore = require('freebird-netcore-coap')();
  3. // Create the freebird server and register the freeebird-netcore-coap to it
  4. var freebird = new Freebird([coapCore]);
  5. // Start the freebird server
  6. freebird.start(function (err) {
  7. // Let your coap machines join the network
  8. freebird.net.permitJoin(180);
  9. });
  10. // That's it!

License

Licensed under MIT.