Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sendo

This Server is made for Sendo language. Which can be used by third party libraries to connect this server by various programming languages.

Requirements

  • C++ compiler
  • Boost library
  • MySQL database

Installation guide

By editing configurations file, You will able to compile Sendo server for your machine. And then you can execute it to run the Sendo server. After running the Sendo server you can connect it by thirt party libraries to execute queries of Sendo server.

Usage

Sendo server is a tcp socket server running on a specific port that can be connected by third party libraries to execute commands. Some of provided libraries consist of:

  • Javascript (In progress)

Example

Here is a javascript example of using Sendo which gets the commands from other devices by wifi io stream and passing them to Sendo server to execute them and answer the devices.

var Sendo = require('sendo');
var wifi = require('wifi');
var io = new wifi.inputstream();
var sendo = new Sendo.Connector("localhost", 8569);

io.on("request", function(request) {
    sendo.query(request, function(response) {
        console.log(response.toString());
    });
});

About

An IoT edge interaction language compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages