Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
36 lines (27 loc) · 1.34 KB

README.md

File metadata and controls

executable file
·
36 lines (27 loc) · 1.34 KB

OISP SDK for Node.js

FOSSA Status

NOTE: This project reached end of support and is no longer maintained. Parts of the project are continued in https://github.com/IndustryFusion/DigitalTwin.

SparkPlugB standard support added

  1. SparkplugB standard uses MQTT protocol to exchange data

Current implementation of library handles sending following requests

  • Node Birth message
  • Device Birth Message
  • Data message

Node Birth/Device Birth and Data message have same format with change in contents of metrics.

Data message looks like below:

    var cid = "0c574252-31d5-4b76-bce6-53f2c56b544d";
    var DataMessage = {
            timestamp: 12345,
            metrics: [{
                name : "temp",
                alias : cid,
                timestamp : 12345,
                dataType : "float",
                value: 123
            }],
            seq: 1
         };

License

FOSSA Status