Git Product home page Git Product logo

lcmagent's Introduction

Demeter CPE Agent

About

Demeter CPE Agent is a daemon application for DSL devices to communicate with Demeter server

Features

  • Establish communications between Demeter server and DSL devices via WebSocket
  • Convert commands from Demeter server to ubus on DSL devices

Getting Start

  1. Install Go command line environment
  2. Build the project by go build directly or cross-build for specific target platform by cpe_agent/Makefile, e.g. For ARM version 7 platform:
$ cd cpe_agent
$ make arm.v7
  1. Adjust the configuration file in conf/cpe_agent.yaml
Key Name Description
host Address of your Demeter server
port TCP port of your Demeter server
path WebSocket endpoint of your Demeter server
enableSSL Specific the SSL of WebSocket endpoint should be enabled or not
folder Folder path where the log file will be placed
rotateCount Log file auto rotate count
  1. Launch CPE agent
$ ./cpe_agent -c ./conf/cpe_agent.yaml
  1. Command line arguments
Argument Description
h Show help
v Show version information
d Launch agent application as a background daemon
c Specific path of configuration file

lcmagent's People

Contributors

leeshen64 avatar sercomm-cloudwu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.