Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

IOPA
iopa-ssdp

Build Status IOPA limerun

NPM

About

iopa-ssdp is an API-First fabric for Simple Service Discovery Protocol (SSDP) for the Internet of Things (IoT) and for Microservices Container-Based Architectures (MCBA) based on the Internet of Protocols Alliance (IOPA) specification

It servers SSDP messages in standard IOPA format

Written in native javascript for maximum performance and portability to constrained devices and services, using native HTTP parser and formatter in iopa-http

Status

Working Release

Includes:

Server Functions

  • SSDP 1.03 parser
  • Works over UDP and other IOPA transports
  • Optimized pure javascript parser with no expensive callouts to C
  • Provides Alive, Bye, Notify and Search-Responses
  • Enables Universal Plug and Play discovery (uPNP) mechanisms

Client Functions

  • SSDP 1.03 formatter
  • Works over UDP and other IOPA transports
  • Optimized pure javascript parser with no expensive callouts to C
  • Provides Search requests and matches responses
  • Enables Universal Plug and Play discovery (uPNP) mechanisms

Installation

npm install iopa-ssdp

Usage

Discovery Server and Client

var app = new iopa.App();
app.use(IopaDiscoveryServerSSDP);
app.use(IopaDiscoveryClientSSDP);

var device = new DemoDevice().context;

app.device.register(device.context)
 
app.device.probe("upnp:rootdevice", function(device){
        console.log(device.toString());
      });}
      

About

API-first fabric for Simple Service Discovery Protocol (SSDP) for the Internet of Things (IoT)

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.