Socket
Book a DemoInstallSign in
Socket

iopa-ssdp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iopa-ssdp

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

latest
Source
npmnpm
Version
1.3.4
Version published
Weekly downloads
2
-60%
Maintainers
1
Weekly downloads
 
Created
Source

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());
      });}
      

Keywords

iot

FAQs

Package last updated on 15 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts