All Projects → PeterEB → coap-shepherd

PeterEB / coap-shepherd

Licence: other
Network server and manager for lightweight M2M (LWM2M).

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to coap-shepherd

coap-node
Client node of lightweight M2M (LWM2M).
Stars: ✭ 32 (-21.95%)
Mutual labels:  coap, lwm2m, smartobject
helix-sandbox
Middleware for secure IoT provisioning, access and control.
Stars: ✭ 23 (-43.9%)
Mutual labels:  coap, lwm2m
SecureFiware
Proposing security measures and security analysis in the Fiware IoT environment.
Stars: ✭ 21 (-48.78%)
Mutual labels:  coap, lwm2m
Thingsboard
Open-source IoT Platform - Device management, data collection, processing and visualization.
Stars: ✭ 10,526 (+25573.17%)
Mutual labels:  coap, lwm2m
CoAPExplorer
A (soon to be) cross-platform tool for exploring CoAP protocol.
Stars: ✭ 16 (-60.98%)
Mutual labels:  coap
Designiot
教你设计物联网系统。构建自己的Internet of Things 。
Stars: ✭ 1,983 (+4736.59%)
Mutual labels:  coap
Coap Rs
A Constrained Application Protocol(CoAP) library implemented in Rust.
Stars: ✭ 128 (+212.2%)
Mutual labels:  coap
Iot Technical Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,334 (+5592.68%)
Mutual labels:  coap
microCoAPy
A mini client/server implementation of CoAP (Constrained Application Protocol) into MicroPython
Stars: ✭ 41 (+0%)
Mutual labels:  coap
emqx-lwm2m
EMQ X LwM2M Gateway
Stars: ✭ 29 (-29.27%)
Mutual labels:  lwm2m
TRADFRI2MQTT
MQTT Bridge for IKEA TRÅDFRI Light Gateway
Stars: ✭ 80 (+95.12%)
Mutual labels:  coap
Aiocoap
The Python CoAP library
Stars: ✭ 185 (+351.22%)
Mutual labels:  coap
coap-go
Lobaro CoAP for GoLang - server and client applications
Stars: ✭ 20 (-51.22%)
Mutual labels:  coap
Cloud
Secure and Interoperable Internet of Things
Stars: ✭ 142 (+246.34%)
Mutual labels:  coap
gen coap
Generic Erlang CoAP Client/Server
Stars: ✭ 102 (+148.78%)
Mutual labels:  coap
Anjay
C implementation of the client-side OMA LwM2M protocol
Stars: ✭ 115 (+180.49%)
Mutual labels:  coap
peniot
PENIOT: Penetration Testing Tool for IoT
Stars: ✭ 164 (+300%)
Mutual labels:  coap
zestdb
ZestDB
Stars: ✭ 18 (-56.1%)
Mutual labels:  coap
Go Coap
Implementation of CoAP Server & Client in Go
Stars: ✭ 226 (+451.22%)
Mutual labels:  coap
ioBroker.shelly
Shelly ioBroker Adapter
Stars: ✭ 108 (+163.41%)
Mutual labels:  coap

coap-shepherd

Network server and manager for lightweight M2M (LWM2M).

NPM

Build Status npm npm


Documentation

Please visit the Wiki.


Overview

OMA Lightweight M2M (LWM2M) is a resource constrained device management protocol relies on CoAP. And CoAP is an application layer protocol that allows devices to communicate with each other RESTfully over the Internet.

coap-shepherd, coap-node and lwm2m-bs-server modules aim to provide a simple way to build and manage a LWM2M network.

coap-shepherd net

LWM2M Server: coap-shepherd

  • It is a LWM2M Server application framework running on node.js.
  • It follows most parts of LWM2M specification to meet the requirements of a machine network and devices management.
  • It works well with Leshan and Wakaama.
  • Supports functionalities, such as permission of device joining, reading resources, writing resources, observing resources, and executing a procedure on a remote device.
  • It follows IPSO data model to let you allocate and query resources on remote devices with semantic URIs in a comprehensive manner.

Installation

$ npm install coap-shepherd --save


Usage

This example shows how to start a server and allow devices to join the network within 180 seconds after the server is ready:

var cserver = require('coap-shepherd');

cserver.on('ready', function () {
    console.log('Server is ready.');

    // when server is ready, allow devices to join the network within 180 secs
    cserver.permitJoin(180);  
});

cserver.start(function (err) {  // start the server
    if (err)
        console.log(err);
});

// That's all to start a LWM2M server.
// Now cserver is going to automatically tackle most of the network managing things.

Or you can pass a config object as an argument to the CoapShepherd constructor and instance the CoapShepherd by yourself:

var CoapShepherd = require('coap-shepherd').constructor;
var cshepherd = new CoapShepherd({
    connectionType: 'udp6',
    port: 5500,
    defaultDbPath: __dirname + '/../lib/database/myShepherd.db'
});

License

Licensed under MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].