# node-sddc **Repository Path**: clarkttfu/node-sddc ## Basic Information - **Project Name**: node-sddc - **Description**: node 版本 sddc 客户端 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-03-14 - **Last Updated**: 2022-03-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Node.js 的 SDDC 通讯客户端 // 安装 npm install node-sddc // 默认配置 const sddcClient = sddc({ edgerosIP: '192.168.128.1', edgerosPort: 6800, // 680 无须主动上报 //report name: 'PC-Node', type: 'device', excl: false, desc: 'PC端 EdgerOS 节点', model: '1', vendor: 'MRC' }) // sddc 消息发送 sddcClient.sendMessage(JSON.stringify({ name: 'hello' })) // sddc 消息接收 sddcClient.on('message', (buffer, remoteInfo) => {})