
iopa-discovery-upnp
About
iopa-discovery-upnp
is an API-First fabric for the Internet of Thing (IoT), based on the Internet of Protocols Alliance (IOPA) specification
It servers SSDP and HTTP messages in standard IOPA format and provides a high level discovery API which can be used without change for other discovery protocols such as OIC, CoAP, AWS IOT etc.
Written in plain javascript for maximum portability to constrained devices
Status
Proof of concept
Includes:
Server Functions
- Device and Resource Registration
- Device and Resource Discovery Server
- Message Transfer
- Eventing Pub/Sub Notifications/Observations
- Device De-registration
Client Functions
- Device and Resource Discovery Probes
- Device and Resource Address Resolution
- Message Transfer
- Eventing Pub/Sub Subscription/Observe requests
- Device Presence Updates
Installation
npm install iopa-discovery-upnp
Usage
Simple Hello World Server and Client with Discovery