Menu

Tree [32c988] master /
 History

HTTPS access


File Date Author Commit
 bin 2023-04-19 Prof Nilson Mori Prof Nilson Mori [32c988] install update
 example 2022-08-02 Prof Nilson Mori Prof Nilson Mori [9bcfdf] libs
 libs 2022-08-02 Prof Nilson Mori Prof Nilson Mori [831e20] deps libsigar
 README.md 2023-04-19 Prof Nilson Mori Prof Nilson Mori [32c988] install update

Read Me

# ChonOS Skynet Server!

We are using ContexNet

How to Install?

apt update; apt install git wget apt-transport-https gnupg
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add -
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
apt update; apt install temurin-8-jre
git -C /opt clone git://git.code.sf.net/p/chonos/skynet chonos-skynet
/opt/chonos-skynet/bin/install.sh
reboot

How to Start?

chonosSkynet &

How to Use?

/* Initial beliefs and rules */

/* Initial goals */
!start.
/* Plans */

+!start <-
    .print("Iniciando SMA Embarcado");
    !connect.

+!connect <-
    .print("Iniciando conexão com a SkyNet");
    .connectCN("skynet.chon.group",5500,"4168ef73-db44-48e3-a36e-231d3ef4155a");
    .wait(120000);
    !disconnect.

+!disconnect <-
    .print("Encerrando conexão com a SkyNet");
    .disconnectCN;
    !connect.

+waiting_for_transfer[source(X)] <-
    .print("Transfer ready for ",X);
    .sendOut(X,tell,embeddedReady);
    -waiting_for_transfer[source(X)].

How to Contact?

chon@grupo.cefet-rj.br

Auth0 Logo