{"id":19343998,"url":"https://github.com/petereb/lwm2m-bs-server","last_synced_at":"2025-06-26T01:04:16.133Z","repository":{"id":143888196,"uuid":"93122019","full_name":"PeterEB/lwm2m-bs-server","owner":"PeterEB","description":"Bootstrap server of lightweight M2M (LWM2M).","archived":false,"fork":false,"pushed_at":"2018-05-11T08:16:31.000Z","size":36,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-26T11:09:20.575Z","etag":null,"topics":["bootstrap-server","lwm2m","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterEB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-02T03:11:58.000Z","updated_at":"2024-11-13T19:16:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbcbecde-9e71-4026-907f-200b54a1ee39","html_url":"https://github.com/PeterEB/lwm2m-bs-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PeterEB/lwm2m-bs-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterEB%2Flwm2m-bs-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterEB%2Flwm2m-bs-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterEB%2Flwm2m-bs-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterEB%2Flwm2m-bs-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterEB","download_url":"https://codeload.github.com/PeterEB/lwm2m-bs-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterEB%2Flwm2m-bs-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261978910,"owners_count":23239417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap-server","lwm2m","nodejs"],"created_at":"2024-11-10T03:42:08.942Z","updated_at":"2025-06-26T01:04:16.114Z","avatar_url":"https://github.com/PeterEB.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lwm2m-bs-server\nBootstrap server of lightweight M2M (LWM2M).\n\n[![NPM](https://nodei.co/npm/lwm2m-bs-server.png?downloads=true)](https://nodei.co/npm/lwm2m-bs-server/)  \n\n[![Build Status](https://travis-ci.org/PeterEB/lwm2m-bs-server.svg?branch=develop)](https://travis-ci.org/PeterEB/lwm2m-bs-server)\n[![npm](https://img.shields.io/npm/v/lwm2m-bs-server.svg?maxAge=2592000)](https://www.npmjs.com/package/lwm2m-bs-server)\n[![npm](https://img.shields.io/npm/l/lwm2m-bs-server.svg?maxAge=2592000)](https://www.npmjs.com/package/lwm2m-bs-server)\n\n\u003cbr /\u003e\n\n## Documentation  \n\nPlease visit the [Wiki](https://github.com/PeterEB/lwm2m-bs-server/wiki).\n\n\u003cbr /\u003e\n\n## Overview\n\n[**OMA Lightweight M2M**](http://technical.openmobilealliance.org/Technical/technical-information/release-program/current-releases/oma-lightweightm2m-v1-0) (LWM2M) is a resource constrained device management protocol relies on [**CoAP**](https://tools.ietf.org/html/rfc7252). And **CoAP** is an application layer protocol that allows devices to communicate with each other RESTfully over the Internet.  \n\n**coap-shepherd**, **coap-node** and **lwm2m-bs-server** modules aim to provide a simple way to build and manage a **LWM2M** machine network. \n* Server-side library: [**coap-shepherd**](https://github.com/PeterEB/coap-shepherd)\n* Client-side library: [**coap-node**](https://github.com/PeterEB/coap-node)\n* Bootstrap server library: **lwm2m-bs-server** (this module)\n* [**A simple demo webapp**](https://github.com/PeterEB/quick-demo)\n\n![coap-shepherd net](https://raw.githubusercontent.com/PeterEB/documents/master/coap-shepherd/media/lwm2m_net.png)  \n\n### LWM2M Bootstrap Server: lwm2m-bs-server\n\n* It is a **LWM2M** Bootstrap Server application framework running on node.js.  \n* It is used to provision the LwM2M Client with the information required to register the LwM2M Server(s). \n* It works well with [**Wakaama**](https://github.com/eclipse/wakaama). \n* Support LwM2M Client Initiated Bootstrap.  \n\n\u003cbr /\u003e\n\n## Installation\n\n\u003e $ npm install lwm2m-bs-server --save  \n\n\u003cbr /\u003e\n\n## Usage\n\nThis example shows how to start a bootstrap server and set a client bootstrap configuration after the server is ready:\n\n```js\nvar bsServer = require('lwm2m-bs-server');\n\nbsServer.on('ready', function () {\n\tconsole.log('Bootstrap server is ready.');\n\n    bsServer.configure({ \n        clientName: 'lwm2m-client-test', \n        serverURI: 'coap://leshan.eclipse.org:5683'\n    });\n});\n\nbsServer.start(function (err) {\n    if (err) \n        console.log(err);\n});\n```\n\n\u003cbr /\u003e\n\n## License\n\nLicensed under [MIT](https://github.com/PeterEB/lwm2m-bs-server/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetereb%2Flwm2m-bs-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetereb%2Flwm2m-bs-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetereb%2Flwm2m-bs-server/lists"}