dcube-sdk
v5.0.0
Published
dcube sdk for pro and lite
Readme
DCUBE-SDK
DCUBE-SDK is a nodejs package for interacting with DACS.
Installation
npm install dcube-sdkUsage
import { Dcube } from "dcube-sdk"
const ducbe = new Dcube({
sdk: 'lib of dacs sdk',
version: 'lite or pro',
platform: 'win32 / darwin / linux',
logFunction: (...args) => console.log(...args)
})
const conn = await dcube.connect()
// Listen for status changes
conn.on('status-changed', (status) => {
console.log(status)
})
License for lite of windows
- check dacs is installed
- check dacs is already connected then close it.
- ready to login dacs
- check dacs status every 1s for 30s
- check dacs status every 3s until the client is closed or the network switches to the corporate network.
License for pro of windows
- check dacs sdk is installed
- check dacs need restart after install
- check dacs is already connected then serve the connection.
- Set vcd path is not set
- ready to login dacs
- check dacs is connected for 30s or 120s (if vcd path is not set)
